Redirect URLs with query parameters

#164106
  • Resolved Arnaud Baudry
    Rank Math free

    Hello,
    I’m trying to set up redirects for old URLs that have query parameters in them. Those query parameters are important as they would tell which page it should redirect to. However, it looks like RankMath is not handling them correctly. It looks like all URLs that have query parameters get redirected to the homepage instead.
    For example, a URL like this one:
    public/viewstory.aspx?AFF_TYPE=1&STORY_ID=2796&PUB_TEMPLATE_ID=1
    should redirect to a specific URL that is different from a URL like this one:
    public/viewstory.aspx?AFF_TYPE=1&STORY_ID=3765&PUB_TEMPLATE_ID=1
    Is there a fix available so that URLs with query parameters are correctly handled?
    Thank you.

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

    Thank you for contacting Rank Math and bringing your concern to our attention. I’m sorry for the delay and for any inconvenience this issue may have caused you.

    Unfortunately, the Rank Math Redirection module doesn’t support yet redirecting URLs with query parameters. Our dev team is working on adding this, and hopefully should be added soon. You can check our updates at this link:
    https://rankmath.com/changelog/

    In the meantime, you may need to use .htaccess redirects or a separate plugin that allows this.

    I hope that helps. Thank you, and please don’t hesitate to contact us if you need further assistance.

    Thanks for your response Reinelle. Do you have any timeline for this fix to be added to a next release?

    Hello,

    Thank you for the follow-up, and sorry for the delay.

    We seek your patience in this matter as we don’t have an ETA, but we will let you know once we make it live. You can also check our updates here:
    https://rankmath.com/changelog/

    If there’s anything else we can help you with, please don’t hesitate to contact us anytime. We are always here to assist.

    Thank 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 3 replies - 1 through 3 (of 3 total)

The ticket ‘Redirect URLs with query parameters’ is closed to new replies.