• Resolved particlepat

    (@particlepat)


    Hey everyone, I need help with a very basic regex formula. I understand that this is an advanced feature, but I wouldn’t ask if I wasn’t positive it could be easily addressed.

    Old URL: https://www.website.com/blog/post-name/
    New URL: https://www.website.com/post-name/

    What I need help with is the actual formula and how it’s used in Yoast. For example, in the Regular Expression field I enter blog and in the URL field I simply enter / and the blog just redirects to the home page. My first thoughts were to redirect blogto /*, but that just leads to mywebsite.com/*.

    Any help is appreciated.

  • The topic ‘Need help with a simple regex for blog URL redirect’ is closed to new replies.