How do I parse .html files for Server Side Includes in addition to .shtml?

By default .shtml files are already parsed as SSI. In order to parse .html files, create a file called .htaccess (unless you already have one, then just edit the existing file) in your /public_html directory and add the following line:

 

AddType text/x-server-parsed-html .html



  • 0 Users Found This Useful
Was this answer helpful?
Related Articles
Copyright © 2020 PlusPlusHosting.Net. All Rights Reserved.
2Checkout.com is an authorized reseller of goods and services provided by PlusPlusHosting.Net.