Begrænset tidsbud - fra DKK6,79/month
00
DAYS
15
HOURS
12
MINUTES
41
SECONDS
Kom i gang
×

Vidensbase

Find articles about information features, troubleshooting guides,
and other technical information related to the hosting service Hostinger.

How to parse PHP in HTML files?

Modified on:
parse php html .htaccess

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

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

IMPORTANT: Make sure to make backups of your original .htaccess file, as making changes to this file can disrupt access to your website.

  • Nem Website Builder
  • 99.9% Uptime garanti
  • 24/7 Live Support
  • Powerful Control Panel
  • 30-dages Tilbagebetalingsgaranti
Limited Time Special Offer!
Fra
DKK
6
79
/mo
Gem 90%
Kom i gang