View Single Post
Old 2009-05-12, 07:50 PM   #8
ponygirl
on vacation
 
ponygirl's Avatar
 
Join Date: Sep 2004
Posts: 2,095
Send a message via ICQ to ponygirl
Quote:
Originally Posted by cd34 View Post
personally, I would leave them as .htm or .html files and just parse them. No supported evidence behind it, but, a gut feeling that google prefers .html files over .php

If you wanted to redirect files, you could do it with mod_rewrite.

If you want to silently serve the .php as .html (and for some reason didn't want to parse .html)

Code:
RewriteEngine on
RewriteRule ^(.*).html$ $1.php [L]
If you wanted to 301 redirect the old content to the new page

Code:
RewriteEngine on
RewriteRule ^(.*).html$ $1.php [R=301,L]
Personally, I would just turn on php parsing for .html files in that directory and not worry about it.
thank you |blowkiss| that's exactly what I want to do because it seems to be the easiest way.
ponygirl is offline   Reply With Quote