• I’m using your terffic plugin but I’ve never tried to use the RegEx feature. I’m some what familair with RegEx so I figuired I’d give it a shot.

    Basically I get a lot of 404 errors for pages like this /author/56

    So I create this RegEx but it does not seem to work. ^/\/author\/[0-9]+$

    Any help here would be appreciated

    https://ww.wp.xz.cn/plugins/safe-redirect-manager/

Viewing 1 replies (of 1 total)
  • Thread Starter Philip Isaacs

    (@pisaacs)

    Never mind i figured it our

    Of course i had the wrong RegEx. For anyone looking to do something similar, here’s the correct RegEx expression

    ^\/author\/[0-9]+(\/?)$

    This will capture the url /author and any number (no matter how many) with or without the trailing slash

Viewing 1 replies (of 1 total)

The topic ‘Simple RegEx help’ is closed to new replies.