How to enable CORS on a Wordpress Subdomain?

后端 未结 1 576
闹比i
闹比i 2020-12-20 07:22

I have a wordpress page using ajax (a room booking system), and also a wordpress subdomain which is pointing to the page.

The main section of the page will not load

相关标签:
1条回答
  • 2020-12-20 08:02

    headers are best sent out from the server itself. So if you are using apache you'd need to tell apache to send that header ideally.

    http://enable-cors.org/server_apache.html

    0 讨论(0)
提交回复
热议问题