Welcome to WebmasterWorld Guest from 18.104.22.168
Forum Moderators: bakedjake
I'm trying to redirect all requests within a folder to an index page of another folder. Also, one particular file in that folder needs to redirect to a specific page(it's mirror in new dir).
This is what I have in my .htaccess now:
redirectPermanent /folder/specific_page.html ht*p://www.domain.com/new_folder/specific_page.html
redirectPermanent /folder ht*p://www.domain.com/new_folder
The specific page redirects okay, but other requests within the folder return 404
Did you try RedirectMatch?
RedirectPermanent /folder/specific_page.html ht*p://www.domain.com/new_folder/specific_page.html
RedirectMatch /folder/.* ht*p://www.domain.com/new_folder/