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

 
Keymaster
4 years ago.

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

    Participant

    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: http://charts.equityclock.com/featured-chart/search

    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?

    Thanks

    Jon

    #16296

    Hi Jon,

    It works on my end without issues: https://i.imgur.com/wg4K3hz.png
    I’m guessing you were able to resolve it by now?

    I’m not an .htaccess expert, but this is what I have found: https://stackoverflow.com/questions/8978080/htaccess-exclude-one-url-from-basic-auth
    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.

    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.