Server Side Includes (SSI) is a simple server-side language, which enables you to include text from a specific source inside a website. In the most popular case, the text from a single file is integrated in a different one, giving a site the sense that it's dynamic. For example, in case your site includes ten pages, 5 of them can easily include the content of any kind of file, such as horoscope.txt. As soon as you alter this text file, the modified content will appear on all five webpages, which will permit you to revise your site faster and easier than if you had to change part of all five web pages. Server Side Includes is occasionally used to include the output of basic commands, scripts or functions as well - a hit counter that is displayed on the site, the present time and date or the visitor's IP address. Every web page that uses SSI will need to have a particular extension - .shtml.
Server Side Includes in Website Hosting
As our customized cloud hosting platform features Server Side Includes on a global level, you'll be able to to utilize this function with the website hosting packages we offer and add dynamic content to your websites with just a few mouse clicks. SSI is activated for each individual domain or subdomain by inserting an .htaccess file in the site folder with only a few lines of code. Of course, you do not have to turn into a programmer for that because the required code may be copied from the Help article we have about Server Side Includes. If you wish to utilize this function for your website, it is important to rename your website files from .html to .shtml plus you've got to double-check if all links on your site lead to the updated names.