Change URL from old folder to new folder

yellowwebmonkey web services

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

About YellowWebMonkey

YellowWebMonkey Web design offers reliable website design, SEO and digital marketing services for Joomla, WordPress and Shopify sites. We strive to be a one-stop shop for all your web needs.

Recent Posts

Follow Us