comanche82 Posted May 22, 2007 Share Posted May 22, 2007 I have a website that is in .htm and i want to add php to it. I have hundreds of pages and i dont want to loose my seo work. Is there any way I can do this? Quote Link to comment https://forums.phpfreaks.com/topic/52580-is-there-any-way-to-get-php-to-work-on-a-htm-website/ Share on other sites More sharing options...
cmgmyr Posted May 22, 2007 Share Posted May 22, 2007 you can use mod_rewrite to change the file extentions Quote Link to comment https://forums.phpfreaks.com/topic/52580-is-there-any-way-to-get-php-to-work-on-a-htm-website/#findComment-259435 Share on other sites More sharing options...
AndyB Posted May 22, 2007 Share Posted May 22, 2007 extend your .htaccess file to add AddType application/x-httpd-php .html .htm Quote Link to comment https://forums.phpfreaks.com/topic/52580-is-there-any-way-to-get-php-to-work-on-a-htm-website/#findComment-259452 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.