Server Side Includes (SSI) is a simple server-side language, which lets you include text from a specific source inside a website. In the most widespread case, the text from a file is incorporated in a different one, giving a site the sense that it's dynamic. For instance, in case your site has 10 web pages, five of them can include the content of any kind of file, like horoscope.txt. If you change this text file, the new content is going to appear on all five webpages, which shall enable you to bring up to date your website faster and easier than if you had to update a component of all 5 web pages. Server Side Includes is occasionally used to include the output of simple commands, scripts or functions as well - a hit counter that is shown on the site, the current date and time or the visitor's IP address. Every web page that works by using SSI must have a special extension - .shtml.
Server Side Includes in Shared Hosting
All Linux shared hosting we offer you support Server Side Includes, so you're able to incorporate dynamic components to any static website which you host on our cloud system. By creating an empty .htaccess file and typing in several lines of code inside, you're able to enable SSI for a domain or a subdomain. The file concerned should be in the exact folder where you are going to use SSI and you'll find the code within our Frequently Asked Questions section, which means you do not need any kind of coding experience. Our 24/7 technical support staff will also be able to assist you with activating Server Side Includes if you're not confident what to do. You should also make sure to modify the extension of all your files which will use SSI from .html to .shtml and make certain that the links on your site point to the appropriate files.