Server Side Includes (SSI) is a simple server-side language, which allows you to include text from a specific source in a website. In the most widespread scenario, the text from one file is incorporated in another, giving a site the feeling it is dynamic. For example, in case your website is made of 10 webpages, 5 of them can contain 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 pages, which will permit you to bring up to date your site much easier than if you had to change a part of all 5 web pages. Server Side Includes is occasionally utilized to incorporate the output of basic commands, scripts or functions as well - a hit counter that's displayed on the website, the present time and date or the visitor's IP address. Any webpage that employs SSI will need to have a special extension - .shtml.
Server Side Includes in Cloud Website Hosting
All Linux cloud website hosting packages
that we provide support Server Side Includes, so that you can incorporate dynamic components to any static site that you host on our cloud platform. By creating a clear .htaccess file and entering a couple of lines of code within it, you can activate SSI for a domain or a subdomain. The file concerned must be in the particular folder where you will make use of SSI and you can also get the code within our Frequently Asked Questions section, and that means you do not need any coding experience. The 24/7 tech support staff shall also be capable to assist you with activating Server Side Includes if you're not absolutely sure what to do. You should also remember to modify the extension of all files that are going to make use of SSI from .html to .shtml and make certain that the links on your site point to the proper files.