Server Side Includes (SSI) is a basic server-side language, which lets you incorporate text from a specific source within a website. In the most popular situation, the text from a file is integrated in a different one, giving a site the sense it is dynamic. As an example, if your website features 10 webpages, 5 of them can easily include the content of any kind of file, for example horoscope.txt. If you alter this text file, the updated content will appear on all of the five pages, which shall enable you to bring up to date your website much easier than if you had to change part of all 5 pages. Server Side Includes is at times utilized to include the output of simple 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 works by using SSI should have a special extension - .shtml.
Server Side Includes in Website Hosting
All Linux website hosting packages we offer you support Server Side Includes, so you can bring in dynamic elements to your static website which you host on our cloud system. By making a blank .htaccess file and typing in several lines of code inside it, you are able to enable SSI for a domain name or a subdomain. The file in question needs to be in the exact folder where you are going to use SSI and you'll see the code inside our Frequently Asked Questions section, and that means you don't need any coding experience. The 24/7 tech support team shall also be in a position to help you with enabling Server Side Includes if you aren't confident how to proceed. You should also make sure to change the extension of all of the files which will implement SSI from .html to .shtml and make certain that the links on your site point to the proper files.