Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Predictive search not working › Reply To: Predictive search not working
March 29, 2017 at 10:40 am
#12526
Keymaster
Hi,
I can’t access the site, it requires .htpassword login.
From the error message on the second screenshot, there it appears that you either try to view the site on “http” protocol, but the main ajax URL is set to ‘https’ (or vice versa), which causes the problem, as it qualifies as CORS request.
I recommend changing all base URLs to either use the “http” or the “https” version (on wordpress back-end), or allow cross origin access via .htaccess. Also, you have a .htpassword protection, which can also block the ajax requests, but I don’t think that is the problem here.