Server Side Includes (SSI) is a simple server-side language, which allows you to include text from a given source within a website. In the most typical case, the text from a single file is included in another, providing a website the feeling that it is dynamic. As an example, in case your site consists of 10 web pages, 5 of them can easily have the content of some file, like horoscope.txt. Any time you alter this text file, the updated content will appear on all five web pages, which shall enable you to bring up to date your website faster and easier than if you had to change a part of all five pages. Server Side Includes is at times employed to incorporate the output of basic commands, scripts or functions as well - a hit counter that is displayed on the website, the current date and time or the customer's IP address. Every webpage that works by using SSI will need to have a particular extension - .shtml.
Server Side Includes in Cloud Website Hosting
All Linux cloud website hosting we offer support Server Side Includes, so that you can add dynamic components to any static site that you host on our cloud platform. By setting up a blank .htaccess file and entering a few lines of code within it, you'll be able to activate SSI for a domain name or perhaps a subdomain. The file in question should be inside the specific folder where you are going to use SSI and you'll discover the code in our Frequently Asked Questions section, and that means you don't need any coding knowledge. Our 24/7 technical support team shall also be in a position to help you with enabling Server Side Includes if you aren't sure how to proceed. You should additionally make sure to change the extension of all your files that will implement SSI from .html to .shtml and ensure that the links on your site lead to the correct files.