301 redirects using regular expressions

I am merging website A into website B.

Website A has thousands of blog posts in a variety of categories.

Read More

Heres an example : www.sitea.com/tips/blogarticle1

After the migration, blogarticle1 can be found at: ww.siteb.com/blogarticle1

Notice I have removed the ‘/tips’ part of the URL.

How do I redirect all requests for this page (and all other pages like this) using regular expressions in the .htaccess file?

Related posts

1 comment

Comments are closed.