Dear Twey:
Here is my current .htaccess file:
Code:
Options +Includes
RemoveHandler .html .htm
AddType application/x-httpd-php .php .htm .html
ErrorDocument 404 /html/404.html
Are you saying I should change it to:
Code:
RewriteEngine on
RewriteRule .html$ .php [R]
ErrorDocument 404 /html/404.html
If I use RewriteRule, how do search engines see the files -- as .php or .html? And would I do this so that the link to the files wouldn't be broken?
Somehow I think my original question got lost in all this. I wanted to know if search engines ranked files with an .html extension higher than .php files. It was suggested that using .php was a security risk (still not sure why) and also that there was performance degradation, but that was when you thought we were comparing pure html to php files. I believe it was concluded that if the files contain php, regardless of the extension, there would be no difference in performance. That being the case, what would be the advantage of changing all the extensions from php to html? So now I'm back to my original question. Please clarify. Thanks, erin
Bookmarks