I have a website located at example.com/cmsFolder
which I want to move to example.com/newFolder
. I can't manually move this as it completely breaks this stupid CMS.
So I'm trying to use mod_rewrite to mask the folder name and keep it looking nice.
RewriteEngine on
RewriteRule ^cmsFolder/(.*)$ /newFolder/$1 [L]
That fails with a 404. How can I mask the folder name? :/