Open asirota opened 1 year ago
this is also a problem with the iframe block
Note we can retrieve the correct website "home page" URL from the WP General Settings:
Use Site Address if it is different than WordPress Address (URL) since the Site Address will be a specific directory being used and will be needed for the wp-json to work
If you load the site under a non standard "home page" like https://mydomain.com/~homepage, the wawp JSON api calls fail
The block calls these JSON calls when trying to load one of the drop downs:
https://920.cvdhosting.com/wp-json/wawp/v1/contacts/fields/
rather than
https://920.cvdhosting.com/~mississaugapotte/wp-json/wawp/v1/contacts/fields/
The block plugin is probably retrieving the host name but not the full "home directory" of the website