Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Search field is not working.
This topic contains 2 replies, has 2 voices, and was last updated by Ernest Marcinko 4 years, 6 months ago.
- AuthorPosts
- December 4, 2018 at 2:45 pm #20261
When I installed this plugin that was working very well but when I checked back maybe after a month I got this error on search box:
The request failed. Please check your connection! Status: 0
I have tried to deactivate some plugins but not all of them as not sure the results because site is live.
I have searched the internet but did not find the solution. Please can you look into this issue asap?
Thanks.
Attachments:
You must be logged in to view attached files.December 4, 2018 at 3:35 pm #20269I was just searing on the net again and found that wrong.htaccess file code also caused this error. I removed some possible lines and now search is working!!
These were lines which I removed, not sure what is the purpose of these lines?
RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ websiteadresshere/$1 [R,L]-
This reply was modified 4 years, 6 months ago by
raufaamir.
December 5, 2018 at 11:18 am #20287Hi,
Thank you for all the details!
Based on your first desctipion of the issue, I would have suggested to check the .htaccess rules first. The rule you pasted there is to redirect all traffic from port 80 to the ‘websiteaddresshere’ URL. Usually these are used to redirect http to https traffic, but this rule does not seem to be correct, which explains the problem.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
-
This reply was modified 4 years, 6 months ago by
- AuthorPosts
You must be logged in to reply to this topic.