On Oct 18, 2011, at 11:26 PM, Peter Sawczynec wrote:

> Okay. Using a different tactic, what mod rewrite would for this given
> subdirectory cause 
> all requests to:
> 
> anyfile.html or anyfile.htm to always map to anyfile.php
> 
> ...not issuing 301 or 302 and without the browser or search engine spiders
> and bots knowing. 
> 
> If that is possible? 

Give this a shot:

RewriteEngine On
RewriteRule (.*).html?$ $1.php [L]

_______________________________________________
New York PHP Users Group Community Talk Mailing List
http://lists.nyphp.org/mailman/listinfo/talk

http://www.nyphp.org/Show-Participation

Reply via email to