Forum Moderators: phranque
Sould I use a mod rewrite and if so how do I do it, I tried a bunch of things but got server error 500
RewriteEngine on
RewriteBase /
RewriteRule [^.]*\.asp$ ^(.*)$ [site.com...] [NC,R]
Or would it be better to redo all the asp pages with a hyperlink to the index page that just say document has moved, so mayne some PR can be passed on?
Thanks in advance for your help.
Stephan
Welcome to WebmasterWorld [webmasterworld.com]!
Rewrite <anything>.asp to <anything>.html
For use in top-level .htaccess:
RewriteEngine on
RewriteBase /
RewriteRule ^(.+)\.asp$ http://www.site.com/$1.html [R=301,L]
Jim