View Single Post
  #4 (permalink)  
Old 02-16-2006, 06:09 AM
Faglork's Avatar
Faglork Faglork is offline
WebProWorld Veteran
 

Join Date: Feb 2005
Location: Forchheim, Germany
Posts: 947
Faglork RepRank 0
Default 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
Reply With Quote