Server Side Includes (SSI) is a simple server-side language, which allows you to incorporate text from a specified source in a web page. In the most popular case, the text from a file is incorporated in a second one, giving a site the sense that it's dynamic. As an example, if your site has 10 webpages, 5 of them can easily include the content of some file, for example horoscope.txt. If you ever modify this text file, the modified content will come up on all five pages, which shall let you revise your site much easier than if you had to change part of all five web pages. Server Side Includes is sometimes employed to contain the output of basic commands, scripts or functions as well - a hit counter that is shown on the website, the present time and date or the visitor's IP address. Any web page that employs SSI will need to have a unique extension - .shtml.
Server Side Includes in Shared Hosting
As our customized cloud hosting system offers Server Side Includes on a global level, you'll be able to work with this function with all of the shared hosting packages we feature and add dynamic content to your websites with just a few mouse clicks. SSI is activated for each specific domain name or subdomain by placing an .htaccess file in the site folder with a couple of lines of code. Certainly, you do not have to be a programmer for that since the necessary code can be copied from the Help article we have about Server Side Includes. If you wish to use this feature for your site, you must rename your website files from .html to .shtml and you have to double-check if all links on your website point to the updated names.