htaccess q.
Got a folder with loads of content called /subdirectory/blah/ want to leave the content in there but use htaccess to call it /anotherdirectory/blah/
so if people click a link for domain.com/subdirectory/blah/ they get the content for domain.com/subdirectory/blah/ but the newurl is domain.com/anotherdirectory/blah/
Does that make sense?
htaccess confuses the fuck out of me. Can never work out what can/cant be done.
I know if I moved the content I can do it with a 301, but if the content hasnīt moved, will it still work?
RewriteRule ^subdirectory/(.*)$ /anotherdirectory/$1 [R=301,NC,L]
|