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.
Server Side Includes in Semi-dedicated Servers
If you get a semi-dedicated server plan from us, it will be easy to enable Server Side Includes with just a few mouse clicks and for every domain or subdomain of your choosing. We have a detailed Help article about the subject you can see in your Hepsia Hosting Control Panel. All it takes to enable Server Side Includes is to copy a number of lines from the article in an .htaccess file that you should set up in the root folder of the domain name/subdomain and you will be ready. You should just be sure that all files using SSI have the appropriate extension i.e. .shtml, not just .html, and that the links on your website are kept up to date and point to the already renamed files.