I have a site which employes the .htm files. They rank well...BUT, i see the light now and would like to turn all the files over to .PHP without losing my rank..any experience with this?
What I would do is make all your .htm files parsed by PHP. You can then put PHP in them, but won't have to make any other changes.
If this is not an option, you can always use both, and have a transition period until you delete your .htm files.
I tried that. I created .htm file ..put some php code in them and saved them as a .php file..but left the .htm extension as the file name..doesn't work. Isn't there a rewrite or htaccess mod i could do?
What "doesn't work" about it? Any errors?
You could physically just rewrite all .htm files to go to .php, but that could be a problem when you want to legitimately use a .htm file.
If the file name is somthing.htm and i save it as a PHP file...the PHP does not process in the page.