View Single Post
Old 06-25-2011, 02:05 AM  
Kafka
Confirmed User
 
Kafka's Avatar
 
Join Date: Oct 2002
Location: Holland
Posts: 466
Quote:
Originally Posted by cam_girls View Post
I read 10 sites from Google, and got this far


RedirectMatch 301 (.*)\.html$ http://www.example.com$1.php


not sure what the $ is after html and the 1 is for.
$ means : ending with html , in this case any filename ending with .html
$1 = (.*) you can substitute anything between the parentheses with $1 (variable).
Kafka is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote