GUIDE

How to enable SSI on non .shtml files?

By default SSI will work only on files ending with .shtml , this can be quite a problem as by default pages are usually created as .html or .htm

Create a file called .htaccess using any text editor and add the following line to it.

AddHandler server-parsed .htm .html .shtml
AddType text/html .htm .html .shtml

Upload this using FTP into the directory you want this feature enabled. Now SSI will work on .htm , .html and .shtml pages.

Back to Guide