.html or .htm parsed as .shtml not working

To parse .html or .htm files as .shtml add the following to your .htaccess file in the public_html folder:


AddHandler server-parsed .shtml .html .htm


If includes are still not working it may be the case you are on a server with nginx reverse proxy setup. If so, contact us and we can place an exception on your domain name for it. It is highly recommended to use .php or .shtml instead and utilize the nginx reverse proxy and varnish cache as they can speed up your website significantly.
  • 130 Users Found This Useful

Was this answer helpful?

Related Articles

How do I hide my domain WHOIS information?

If you do not wish to have your contact information shown when someone does a WHOIS report on...

Disable error_log via .htaccess

Prevent public display of PHP errors via htaccess# supress php errorsphp_flag...

My pages are updating/refreshing slowly.

Refresh is immediate on the server. When a file is updated and uploaded it is there. If you are...

Creating a Form Button

Sometimes all you need is a simple button. The following pages are pretty useful tools for...

.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable

To solve “.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable” follow...