Call Us: 512.271.5221


Change URL from old folder to new folder

This is when you need to change everything (all content) from an old folder to a new one.  This is different than redirecting just the exact match of the folder.  I had to use this when changing a menu alias to something new and fix all the indexed pages with one line instead of a ton of individual redirects.

RedirectMatch 301 ^/folder-old(.*)$ /folder-new$1

Categories: .htaccess