Works (results) only when logged in; otherwise 404

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Works (results) only when logged in; otherwise 404

This topic contains 1 reply, has 2 voices, and was last updated by Ernest Marcinko Ernest Marcinko 5 years ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #21963
    Axxess
    Axxess
    Participant

    wp login: https://illuminexled.com/wp-login.php?ilx_my_entry=9541

    Hi,
    When I’m logged in I see the results but for a regular visitor error appears: The request failed. Please check your connection! Status: 404
    Thanks
    ARIF

    #21971
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi Arif,

    The site ajax URL seems to be set incorrectly. The ajax requests are made to the following URL:

    https://yoursite.com/ajax

    ..while it should be:

    https://yoursite.com/wp-admin/admin-ajax.php

    If you changed this anywhere programatically, I highly recommend swithing it back to the detault, as it seems like some of the requests are not properly registered with it.

    Alternatively, you can try turning on the custom ajax handler, that is bundled with the plugin. That usually resolves these types of issues.

    Best,
    Ernest Marcinko

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


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

You must be logged in to reply to this topic.