Ponuka s obmedzeným časom - od €0,99/mesiac
00
DAYS
12
HOURS
25
MINUTES
20
SECONDS
Začnite
×

Znalostní báze

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.

  • Snadný Website Builder
  • 99.9% Záruka Uptime
  • Podpora 24/7 Live
  • Powerful Control Panel
  • 30-dňové záruka vrátenia peňazí
Limited Time Special Offer!
Od
0
99
/měs
Uložte 90%
Začnite