Getting redirected to home page when I search something after enabling Rank Math

#754950
  • Resolved Anonymous
    Rank Math free

    Hi there,

    When I enabled Rank Math my tags stopped working, normally when clicked to tag it takes to search (/search?=…) but now after activating Rank Math it takes to home page.

    I did troubleshooting, I can’t really test without SearchWP plugin so when I enable that tags come in and it works correctly and when I enable Rank Math it stops working.

    Redirections are turned off

    Thanks

Viewing 10 replies - 1 through 10 (of 10 total)
  • Hello,

    I’m sorry to hear about the issue you’re facing with Rank Math causing redirection to the homepage instead of the search results page when clicking on tags. It seems like there might be a conflict between Rank Math and your tags functionality.

    Since you mentioned that the redirections are turned off, it’s good to rule out any conflicts with other plugins. Have you tried checking if there are any conflicting redirection rules set up in your .htaccess file that might be causing this behavior?

    If you haven’t already, you can navigate to WordPress Dashboard → Rank Math SEO → General Settings → Edit .htaccess to review and remove any additional redirection rules that might be affecting the tag functionality.

    If the issue persists, please try disabling Rank Math temporarily and check if the tag functionality returns to normal. This can help identify if the problem is indeed related to Rank Math.

    Thank you for bringing this concern to our attention. Let me know if you need further assistance or if you have any other questions.

    Thank you.

    Sources:
    Solving Redirection Issues Using Rank Math SEO Plugin » Rank Math
    How to Fix Duplicate Meta Tags » Rank Math
    Random URLs Redirecting Even When No Redirect Was Created » Rank Math
    How to Disable All Rank Math Generated SEO Tags » Rank Math

    Hello,

    Apologies for the inconvenience.

    Could you please share a sample affected URL so we can check and investigate it?

    Meanwhile, head over to Rank Math > Titles & Meta > Misc Pages > Date Archives and enable it. This option disables your date archive and redirects them to your homepage, so you can try enabling that option.

    Let us know how this goes.

    Anonymous
    Rank Math free

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    Anonymous
    Rank Math free

    I have added the page where the tags take to home pgae as sensitive data

    and enabling data archives did not work.

    Thanks

    Hello,

    The URL you have shared is opening fine. Also, Rank Math is currently enabled as seen in the page’s source code.

    Could you please confirm if it’s still redirecting on your end?

    Looking forward to helping you.

    Anonymous
    Rank Math free

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    Anonymous
    Rank Math free

    Added an example redirecting url
    /articles do not redirect but the tags in that page do and I provided an example for that

    Anonymous
    Rank Math free

    Hey,
    1 thing I noticed is that if you do /search/?s=something it works, but if you do /search/?s=&something it takes to home page. & means it’s a tag, but just s= is for search

    Anonymous
    Rank Math free

    I reset .htaccess file in rank math settings and it started working. Even though current and previous .htaccess files are same. Why do you think it started working? I have touched anything in .htaccess

    Hello,

    Your previous .htaccess must have contained rules to disable those search results on your site.

    You should check your .htaccess file in your web host to ensure that is not modified from one of your plugins or active theme.

    Looking forward to helping you.

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

Viewing 10 replies - 1 through 10 (of 10 total)

The ticket ‘Getting redirected to home page when I search something after enabling Rank Math’ is closed to new replies.