Admin on different domain (multisite + domainmapping) issues
-
Hi,
It seems impossible to use the Connect button from the Jetpack admin page when the admin is on a different domain than the front end.
This happens when on a multisite with Domain Mapping and the option to keep admin pages on the original domain activated, but I suppose it could also be possible with a single site setup where home and siteurl options are using different domains.
In browser console, from the Jetpack admin page on the multisite subdomain, I get
Fetch API cannot load http://_MAPPED_DOMAIN_/wp-json/jetpack/v4/connection/url. Request header field x-wp-nonce is not allowed by Access-Control-Allow-Headers in preflight response.Connecting the site from the WordPress.com My Sites interface works without issues.
Similar errors show when trying to de/activate modules, blocking requests by the Chrome browser. When the admin domain is on HTTPS, the errors change a bit but the result is the same.
Is there any way to force Jetpack to pass all requests (API and files) over the admin domain?
The topic ‘Admin on different domain (multisite + domainmapping) issues’ is closed to new replies.