Variable redirection

#498160
  • Resolved Phillip Stemann
    Rank Math free

    Hi,

    We want to redirect subfolders to new subfolders, how do we do that in a variable way?

    As an example, I want to redirect:
    url.com/common/mostage/(.*)
    To:
    mo.url.com/mostage/(.*)

    So for example if I go to:
    url.com/common/mostage/608b4659-35ac-4d71-b28b-637d721634fb.xml

    It redirects to:
    mo.url.com/mostage/608b4659-35ac-4d71-b28b-637d721634fb.xml

    How do I set that up, without having to set up each individual redirect.

Viewing 1 replies (of 1 total)
  • Hello,

    Thanks for contacting us and sorry for the inconvenience caused.

    You can create the redirection rule given below to redirect the URLs:

    Source: common/mostage/(.*)
    Match: regex
    Destination: mo.url.com/mostage/$1

    Hope that helps. Let us know if you need any other assistance.

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

The ticket ‘Variable redirection’ is closed to new replies.