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? 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 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 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
Archived
This topic is now archived and is closed to further replies.