Using Regex to Redirect

  • Unknown's avatar

    Hi, does anyone on here know anything about using Regex to redirect multiple URLs with different endings? I’ve looked around but can’t manage to get my head around it!

    I have several hundred URLs, which were originally in a database, which I have now turned into WordPress pages. Because of this, I have had to change the path slightly, so what was once /driving-test-centre/bury has now become /driving-test-centres/bury. I have just added an ‘S’ to centre. I now need an easy way to redirect all URLs containing /driving-test-centre/???? to /driving-test-centres/???? – is there a way to do this using a Regex redirect?

    The blog I need help with is: (visible only to logged in users)

Log in or create an account to reply