Jump to content

php in .html file


luke777

Recommended Posts

You can rename the .html file to .php or in your .htaccess file add AddHandler application/x-httpd-php .php .html

 

You could just rename your pages to yourpage.php instead of yourpage.html, but you already have incoming links or search engine ranking so you don't want to change the file name.

Link to comment
https://forums.phpfreaks.com/topic/193376-php-in-html-file/#findComment-1018253
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.