BASE HREF Ajax not fuctional
-
I have a <base href="https://example.com" /> in the <head>
My wordpress is hosted on a subdomain: https://blog.example.comWhen a form tries to submit, it references the base href address, instead of the local address.
Console Error:
XMLHttpRequest cannot load https://example.com/page-name/. No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘https://blog.example.com’ is therefore not allowed access.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘BASE HREF Ajax not fuctional’ is closed to new replies.