Reply To: Predictive search not working

#12526

Ernest Marcinko
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.

Best,
Ernest Marcinko

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