Thread
:
Rewrite question
View Single Post
#
4
(
permalink
)
02-16-2006, 06:09 AM
Faglork
WebProWorld Veteran
Join Date: Feb 2005
Location: Forchheim, Germany
Posts: 947
Re: Rewrite question
Try this - not sure if it works:
RewriteRule ^(.*) http://www.somedomain.com/$1 [R=301]
RewriteCond %{REQUEST_URI} !^/yourfilename.html
RewriteRule ^(.*)\.html http://www.somedomain.com/$1.php [L]
hth,
faglork
Faglork
View Public Profile
Send a private message to Faglork
Visit Faglork's homepage!
Find all posts by Faglork