Welcome to WebmasterWorld Guest from 220.127.116.11
1) Using rewrite commands in the .htaccess file to 'show' .php pages as .html pages
2) Use the following command again in .htaccess which I presume passes all .htm and .html through the php processor
AddType application/x-httpd-php .htm .html
I'd really appreciate feedback from anyone who has gone through this process in the past and anyone's thoughts on the two options above.
Cheers in advance
PS Mods - if you feel this post is more suitable in another forum feel free to move - I posted here as I thought this the most likely forum to find some one who has gone through this process
I prefer the #2 option, seems a lot cleaner than #1.
as above you can have php scripting at the exact same url, no changes, by enabling php parsing for other extensions, such as .html or .htm or any other
if you start using a nuke and you have to change your url structure then you need to 301 all those old pages to the new ones but you will notice a loss of ranking/traffic etc
the only way to lose nothing is to not change the urls
Just starting to play around with PHP been HTM site for years, there are out of the few hundred pages i have i would guess maybe only 50 or so are key ones according to my web stats.
By getting rid of the 'file extensions' on your page URLs, you ensure that you'll never have to go through the exercise of changing your page URLs again.