The request failed. Please check your connection! Status: 0

Home Forums Product Support Forums Ajax Search Pro for WordPress Support The request failed. Please check your connection! Status: 0

This topic contains 2 replies, has 2 voices, and was last updated by Ernest Marcinko Ernest Marcinko 1 year, 5 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #32561
    om_australia78
    om_australia78
    Participant

    Hi,
    On this page: https://www.om.org.au/staff-links, we have started getting the error: “The request failed. Please check your connection! Status: 0”
    I’ve updated to 4.20.8 and cleared all my site and browser cache, but it still doesn’t work.
    Thanks for your help with this.
    Ian

    #32562
    om_australia78
    om_australia78
    Participant
    You cannot access this content.
    #32574
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi,

    The issue is, that your site is accessed through the WWW subdomain and there is a CORS policy on your server preventing assets from loading from the non WWW version. WordPress is configured on the non-WWW version, but your site still can be access via the WWW. If I visit the site URL without the www. domain prefix, it all works perfectly: https://i.imgur.com/RNgIn4s.png

    The errors you are seeing are reported by the server, which is not able to load some other assets either. The solution should be very simple, just redirect all requests from the www. subdomain to the non-www version. You should be able to find a few tutorials on google on how to do that safely.

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.