cross origin errors with MU and mapped domains
-
We are running custom contact forms 7.6 with a multisite setup and mapped domains. Our customers who are using mapped domains are getting cross origin errors on form submissions:
Uncaught SecurityError: Failed to read the ‘contentDocument’ property from ‘HTMLIFrameElement’: Blocked a frame with origin “<site mapped domain>” from accessing a frame with origin “<network domain>”. Protocols, domains, and ports must match.
This seems to have worked at some point in the past, but has been failing at least since 7.5. I have played around with Access-Control-Allow-Origin and the WP-CORS module to no avail. Is there anything special I need to do to get custom contact forms working with an MU setup with mapped domains?
- The topic ‘cross origin errors with MU and mapped domains’ is closed to new replies.