Workaround for .htaccess file

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Workaround for .htaccess file

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

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #16294

    I have an .htaccess file limiting access to the admin section of my wordpress install. Unfortunately it is conflicting with the AJAX Search Pro plugin, as evident here:

    Do you have any suggestions for a workaround for this such that I don’t have to login to use the search plugin when outside of the admin section?



    Ernest Marcinko
    Ernest Marcinko

    Hi Jon,

    It works on my end without issues:
    I’m guessing you were able to resolve it by now?

    I’m not an .htaccess expert, but this is what I have found:
    The wp-admin/admin-ajax.php file should be accessible at all times, as it is the default WordPress ajax handler, and is used by the WordPress core as well for maintenance tasks. If you add that file to the exceptions, it should do the trick.

    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.