Viewing 1 replies (of 1 total)
  • @vandellyr

    from field: ^/\d+/\d+/(.*)
    to field: /$1

    and Regex box ticked

    It will actually look for
    /any-number-of-digits/any-other-number-of-dgits/anything-else

    and replace it with
    /anything-else

    If you want to have exact number of digits between slashes, use

    from field: ^/\d{4}/\d{2}/(.*)
    to field: /$1
Viewing 1 replies (of 1 total)
  • The topic ‘Redirection expression for /year/month/ Please?’ is closed to new replies.