• Resolved kbhat

    (@kbhat)


    This plugin is great and works great in Mozilla. But on Chrome, I am getting the below mentioned error.

    XMLHttpRequest cannot load http://www.example.com/index.php/page/2/. Origin http://example.com is not allowed by Access-Control-Allow-Origin.

    If I change the address to http://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.

    http://wordpress.org/extend/plugins/infinite-scroll/

Viewing 1 replies (of 1 total)
  • Thread Starter kbhat

    (@kbhat)

    I had to do 301 Redirect from Non-WWW URLs to WWW URLs. Not at all related to this plugin. My bad.

Viewing 1 replies (of 1 total)
  • The topic ‘How to fix Access-Control-Allow-Origin error’ is closed to new replies.