I have a new site and an old version of the site in the old folder.
The new site has the same page names as the old one, except that everyone now has the .php extension.
I have the following rule for SEO to direct all .html files to .php
RedirectMatch 301 (.*)\.html$ http://www.mysite.com$1.php
But I still need to have access to everything in the / old folder - the redirect explicitly redirects the files here (for example, mysite.com/old/mypage.html is sent to mysite.com/old/mypage.php - I need the .html version)
I tried to find out for myself, but I'm not sure about all the RedirectXYZ commands.
Any ideas?
source
share