How to fix Access-Control-Allow-Origin error
-
This plugin is great and works great in Mozilla. But on Chrome, I am getting the below mentioned error.
XMLHttpRequest cannot load https://www.example.com/index.php/page/2/. Origin https://example.com is not allowed by Access-Control-Allow-Origin.
If I change the address to https://www.example.com, infinite scroll works fine. What changes do I need to make if I want to work without ‘www’ in the address?
Any help will be greatly appreciated. Thanks in advance.
https://www.ads-software.com/extend/plugins/infinite-scroll/
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘How to fix Access-Control-Allow-Origin error’ is closed to new replies.