Server Side Includes (SSI) is a group of directives that will permit you to incorporate the content of a text file in an HTML file. In this manner, you are able to add some content to few different pages on your website and adjust it by just updating just one text file. You can also add the output of various scripts so that the current date and time, the IP address of the website visitor or the properties of a file show on your site. This will help you incorporate some dynamic content to static webpages, making the site more desirable to your visitors and giving it a professional look and feel. It will be much easier to revise this content compared to editing each static page one at a time. If you would like to use Server Side Includes on your site, the web pages that include the content of some file must be with extension .shtml.
Server Side Includes in Shared Hosting
It is possible to use Server Side Includes with all shared hosting packages that we offer and enable it independently for each and every domain name or subdomain in your hosting account. This can be achieved by using an .htaccess file, which should be placed in the folder in which you wish to use SSI and you need to enter a couple of lines of code in that file. You can see the code in our Knowledgebase area, so you can simply copy it, as you don't need any coding skills to take advantage of all of the features that our solutions have. If you have currently built your site and you want to employ Server Side Includes afterwards, you must ensure that you rename the files from .html to .shtml and correct the links on the website, or else SSI will not work.