htaccess redirect doesn't work with default .htaccess
Posted: Sun May 08, 2011 3:31 pm
I'm trying to redirect old html pages to their new locations on the newly-built cmsms website using .htaccess 301 redirect.
I think the code is conflicting with the default syntax from the .htaccess file that was in the docs directory (brand new install of 1.9.4.1)
I'm trying to use this code:
But what happens is that when I try to go to http://my.site.com/page.htm, the browser is automatically redirected to http://my.site.com/page?page=page.htm
How can I change the .htaccess code so that these 301 redirects are not affected by the other rewrites?
I think the code is conflicting with the default syntax from the .htaccess file that was in the docs directory (brand new install of 1.9.4.1)
I'm trying to use this code:
Code: Select all
Redirect 301 /page.htm http://my.site.com/page
How can I change the .htaccess code so that these 301 redirects are not affected by the other rewrites?