I know this sounds like so many other questions here, but I can't seem to find the answer.
Say you are on: www.domain.com/folderA/folder2/folder3/
I want that to redirect to: www.domain.com/folderB/folder2/folder3/
So the whole structure stays the same.. it just redirects. Now so far I have:
RewriteEngine on
RewriteCond %{REQUEST_URI} ^/folderA [NC]
RewriteRule ^(.*)$ /folderB/$1 [R=301,L]
But when I use that, it'll just do www.domain.com/folderB/folderA/folder2/folder3/
What am I doing wrong? How do I get rid of that folderA?