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.

  • 134 Users Found This Useful

Was this answer helpful?

Related Articles

Creating a Form Button

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

Enable Mod Rewrite

Create an .htaccess file with the following contents and upload it to your public_html directory....

Prevent CloudFlare from Loading a js or Script

Sometimes CloudFlare / Rocket Loader can have problems with a script and hose it up. To have...

Create a 410 Redirect for Missing Files

A redirect which is often forgot about is the 410 redirect. This is search engine friendly in the...

Error 401 Unauthorized

This can occur when a web page requires authorization or a login to view the contents. If none...