If you want to make all of your website's .html pages run as .php files instead (parsing PHP in HTML files), all you need to do is open your .htaccess file and add this line (a handler):

AddHandler application/x-httpd-lsphp .htm .html

NOTE:

  • Make sure to have your old .htaccess file backed up before proceeding

Did this answer your question?