הצעה לזמן מוגבל - מ₪2.95/חודש
00
DAYS
13
HOURS
56
MINUTES
46
SECONDS
להתחיל
×

Knowledge base

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.

  • פשוט בונה אתר
  • 99.9% אחריות Uptime
  • 24/7 חי תמיכה
  • Powerful Control Panel
  • 30 יום חזרה כספית
Limited Time Special Offer!
מִ
2
95
/חֹדֶשׁ
שמור 90%
להתחיל