Server Side Includes (SSI) is a simple server-side language, which allows you to include text from a specified source within a web page. In the most popular scenario, the text from one file is included in another, providing a site the sense that it's dynamic. For example, in case your website involves ten pages, 5 of them can easily include the content of some file, for example horoscope.txt. If you ever alter this text file, the modified content will come up on all five webpages, which shall enable you to revise your site much easier than if you had to modify a component of all 5 web pages. Server Side Includes is sometimes used to include the output of basic commands, scripts or functions as well - a hit counter that's displayed on the website, the current date and time or the customer's IP address. Every web page that makes use of SSI will need to have a special extension - .shtml.
Server Side Includes in Cloud Hosting
All Linux cloud hosting we provide support Server Side Includes, so you're able to include dynamic components to any static website that you host on our cloud platform. By setting up an empty .htaccess file and adding a few lines of code inside, you are able to enable SSI for a domain or maybe a subdomain. The file concerned must be in the exact folder where you will make use of SSI and you can also get the code in our Frequently Asked Questions section, so you don't need any coding experience. Our 24/7 tech support crew will also be capable to assist you with activating Server Side Includes if you're not confident how to proceed. You should additionally remember to modify the extension of all of the files which will make use of SSI from .html to .shtml and make certain that the links on your website lead to the appropriate files.