Forum Topic: Redirect After Folder Name Change

Forum: .htaccess Forum : General • Posted by Gareth Redfern • Updated:


I need to set a permanent 301 redirect on a site where just the folder name has changed so for example:

wants to redirect to

The only difference in the folder name is it is now article(s).

There are no changes to the article names inside this folder.

I am really not sure what code to use to do this any help would be appreciated.

2 Replies to “Redirect After Folder Name Change”

Posted by Gareth Redfern •

I think I might have sussed it, I have used:

RedirectMatch 301 /article/(.*) /articles/$1

Posted by Jeff Starr

Yes that looks like the way to do it! :)