Hi every body, We are in process of migrating our 100+ pages website from .htm to .php. But we do not want to lose our url’s trailing with .htm since we have good search engine ranking for that. We did some research and found three solutions for this and seeking suggestion from the experts to know which is best. 1, URL rewriting: Rewrite the .php url to .htm. Ex: www.example.com/good-ranking.php can be accessed as www.example.com/good-ranking.htm. This way still old url’s will be alive. 2, 301 redirecting. Redirect all the old url’s to new .php url’s by 301 redirection. 3, parsing php script in htm Configuring the apache handler to run php scripts in htm pages. By this way all the php pages will be renamed as .htm and uploaded in the server as it will work with out any hassles. Is there any negative impact of using this? If this is the situation for you which option you will use and why? Please vote in the pole. If your method is not listed here then plz share that with us. Looking forward to hear from all the experts who read this post. Thanks.
I also voted for 3. Every of your current HTM pages can run PHP scripts within that way and also, HTM pages without PHP will just behave normally. Also you have the option use gzip compression for the site this way while still maintaining .htm extension and linking structure.
And I guess we both should have said, "Welcome to DP". I did not notice it was your first post until I reviewed the thread when Mike posted. Be sure to drop over to the Intro section and introduce youself. Reading the forum rules will help you stay out of trouble with future posts.