• Hello,
    Without knowing I used for my articles the following permalink structure
    /%year%/%monthnum%/%day%/%postname%/
    Now I want to change it just to /%postname%/
    I know that by matching patterns, WordPress can automatically redirect those date -name permalinks, to the updated post-name structure.
    But I want to be sure that I won’t have any major 404’s errors.
    I am using the redirection plugin. I found the following expression that suits my needs:

    Source: ^/\d{4}/\d{2}/\d{2}/(.*)
    Target: /$1/

    How can I make it to redirect site wide, for every article in my blog?
    Please, I would be grateful for any suggestion!
    Kindest regards,
    Fil

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Regex Expression for Permalink Change’ is closed to new replies.