redirect from /%year%/%monthnum%/y%/%postname%/ to /%postname%/

  • Hi there i need to change the permalink of my website from /%year%/%monthnum%/%day%/%postname%/ to /%postname%/ and I need to do a bulk redirect for all link.
    please, can you explain how to do it?
    thanks

Viewing 1 replies (of 1 total)
  • Hello,

    Thank you for contacting Rank Math today.

    You can make use of the following regex redirection via the Rank Math > Redirections module:

    
    Source URLs: /([0-9]{4})/([0-9]{2})/(.+)
    Type: Regex
    Destination URL: http://yourdomain.com/$3
    

    Looking forward to helping you. 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 from /%year%/%monthnum%/y%/%postname%/ to /%postname%/’ is closed to new replies.