Redirect for blog posts

#529805
  • Resolved Anand
    Rank Math free

    Hello,

    im trying to use redirect for change links but its not working.

    For now im using:
    /%year%/%monthnum%/%day%/%postname%/
    – which is not good for seo because of date

    I want to switch for:
    /%postname%/

    Question:
    – how can I do that in Rank Math?

    I turned on redirection option and tried regex but there is no result. Will be grateful for step by step instruction. The puropse of doing this is to easily redirect from google links

    i tried with:
    Source URLs: /([0-9]{4})/([0-9]{2})/([0-9]{2})/(.+)
    Type: Regex
    Destination URL: https://yourdomain.com/$3
    – but its not working at all

    Thanks in advance,
    Adrian

Viewing 1 replies (of 1 total)
  • Hello,

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

    Please try this regex redirect instead:

    Source: ([0-9]{4})/([0-9]{2})/([0-9]{2})/(.*)
    Destination: https://yourdomain.com/$3

    Please note that you may need to change the yourdomain to your actual website name.

    Let us know how this goes.

    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 ‘Redirect for blog posts’ is closed to new replies.