Forum Moderators: phranque
Old structure:
example.com/photos/page.html
New structure:
example.com/photos/animals/page.html
I'm wondering if this is even possible. The actual filename remains the same, it's just the directory structure that changes.
Thanks for any help,
Cedric
I'm wondering if this is even possible
If I understand you right RedirectMatch should do what you want:
RedirectMatch 301 ^/folder/(.+)$ http://www.example.com/folder/subfolder/$1
I didn't test it and I recommend reading previous posts in this forum which answer every .htaccess question I have ever been able to think of (often more than once).