Redirection not going to correct destination page

Viewing 11 replies - 1 through 11 (of 11 total)
  • Hi Tristan,

    Thanks a lot for your query and we are so sorry about the trouble this must have caused.

    We first need to determine if this is caused by Rank Math.

    To determine that, can you please follow this troubleshooting guide?

    Only the site admin would know and your users won’t be affected by this troubleshooting.

    If this is indeed due to Rank Math or due to a redirection you added in Rank Math – please share the relevant redirection’s setting from WordPress Dashboard > Rank Math > Redirections.

    If it is a regex redirect, you might have to edit it a bit and we would love to help you with that.

    Do let us know.

    Thank you.


    Thanks, I tried the link but it’s a 404 & when clicking on Knowledge Base in the main menu to search that page I’m getting 404 also?

    HI Tristan,

    Apologies for the glitch.

    The links are now working as expected, please check again.

    Thank you.


    I tried using the Health Check plugin but it wasn’t allowing me to deactivate plugins as described.

    I have done it manually, I deactivated the theme and used 2019 and deactivated all plugins other than Geodirectory plugins which were necessary to have a listing with the relevant link available and Rank Math so the redirection was in place. The redirect remains the same, ie directing to what appears to be a combination of the correct page it should redirect to plus the original page which it should be redirected from.


    Thank you for contacting Rank Math today.

    We might need to take a closer look at the settings. Please edit the first post on this ticket and include your WP logins in the designated Sensitive Data section.
    Sensitive Data Section

    It is completely secure and only our support staff has access to that section. If you want, you can use the below plugin to generate a temporary login URL to your website and share that with us instead:

    You can use the above plugin in conjunction with the WP Security Audit Log to monitor what changes our staff might make on your website (if any):

    We really look forward to helping you.


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

    Thank you.


    Any update?

    Hi Tristan,

    Apologies for the delay.

    I have submitted this problem to our dev team for closer investigation and we will be getting back to you in a short while.

    We appreciate your patience. Thank you.


    By default, Rank Math adds query string parameters to the redirected URL. You can use the following filter code to remove the query string from the redirected URL:

    I added this filter in your theme’s functions.php file, the redirections are now redirecting to the URL without the query string.

    I hope that helps. Thank you.

    That’s great, thanks very much.


    We are super happy that this resolved your issue. If you have any other questions in the future, know that we are here to help you.

    If you don’t mind me asking, could you please leave us a review (if you haven’t already) on about your overall experience with Rank Math? We appreciate your time and patience.

    If you do have another question in the future, please feel free to create a new forum topic, and it will be our pleasure to assist you again.

    Thank you.

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

The ticket ‘Redirection not going to correct destination page’ is closed to new replies.