redirection for the tag archive page

#583986
  • Resolved Anonymous
    Rank Math free

    I’m trying to redirect away from my default tag archive page located here

    source
    /streams/mytagname

    where ‘streams’ is my custom name for tags set on the settings > permalinks page

    destination
    /?s=&_sft_post_tag=mytagname

    I am trying your redirection feature using the regex to read the tag name in the source and write it in the destination in the form provided for the feature.

    This is what I am using in the redirection form

    source
    /streams/(.*)/

    destination
    https://dnews.zone/?s=&_sft_post_tag=$1/

    So my question is whether I’m using this form correctly and if that syntax makes sense in this case for this form.

    thank you

Viewing 1 replies (of 1 total)
  • Hello,

    Thank you for contacting Rank Math and bringing your concern to our attention.

    Yes, the regex source and destination you have shared should work in all your tags.

    Here’s a link for more information:
    https://rankmath.com/kb/how-to-use-regex-redirects/

    Let us know how this goes after applying the redirect.

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

The ticket ‘redirection for the tag archive page’ is closed to new replies.