This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Search field is not working.

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Search field is not working.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #20261
    raufaamirraufaamir
    Participant

    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.

    #20269
    raufaamirraufaamir
    Participant

    I 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 7 years, 6 months ago by raufaamirraufaamir.
    #20287
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi,

    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.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.