Server Side Includes (SSI) is a basic server-side language, which lets you include text from a given source within a website. In the most popular case, the text from one file is integrated in another, providing a site the sense that it is dynamic. As an example, in case your site features ten web pages, five of them can easily have the content of any kind of file, like horoscope.txt. If you ever change this text file, the modified content will appear on all of the five webpages, which shall permit you to bring up to date your website much easier than if you had to change an element of all 5 pages. Server Side Includes is sometimes utilized to contain the output of basic commands, scripts or functions as well - a hit counter that's displayed on the site, the current date and time or the customer's IP address. Every webpage that employs SSI should have a special extension - .shtml.
Server Side Includes in Cloud Hosting
It is possible to use Server Side Includes with all of the cloud hosting plans we offer and enable it individually for each domain name or subdomain in your hosting account. You can do this by using an .htaccess file, which needs to be positiioned in the folder where you want to use SSI and you need to enter a couple of lines of code in that file. You will find the code in our Knowledgebase area, so you can just copy it, since you do not need any programming skills to benefit from all capabilities that our services contain. If you have already built your site and you want to use Server Side Includes afterwards, you need to make certain that you rename the files from .html to .shtml and correct the links on the site, or else SSI is not going to work.