Server Side Includes (SSI) is a basic server-side language, which enables you to include text from a given source in a website. In the most widespread scenario, the text from a file is incorporated in a different one, giving a site the feeling it is dynamic. For example, if your website involves 10 pages, five of them can contain the content of some file, like horoscope.txt. If you ever alter this text file, the new content is going to appear on all of the five webpages, which shall let you bring up to date your website much easier than if you had to modify an element of all 5 pages. Server Side Includes is in some cases used to include the output of basic commands, scripts or functions as well - a hit counter that's shown on the site, the current date and time or the customer's IP address. Any webpage that works by using SSI must have a unique extension - .shtml.
Server Side Includes in Cloud Hosting
All Linux cloud hosting we provide support Server Side Includes, so you can bring in dynamic elements to your static website which you host on our cloud system. By setting up a blank .htaccess file and adding some lines of code inside, you'll be able to enable SSI for a domain name or a subdomain. The file involved needs to be inside the exact folder where you are going to use SSI and you can find the code in our Frequently Asked Questions section, so you do not need any coding practical experience. Our 24/7 tech support crew will also be capable to assist you with enabling Server Side Includes if you're not certain what to do. You should furthermore remember to change the extension of all your files which will utilize SSI from .html to .shtml and ensure that the links on your site point to the proper files.