Quote:
Originally Posted by cd34
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.