Server Side Includes (SSI) is a simple server-side language, which lets you incorporate text from a specific source in a web page. In the most common scenario, the text from a file is incorporated in a second one, providing a site the feeling it is dynamic. For instance, if your website comprises of 10 webpages, 5 of them can have the content of some file, like horoscope.txt. Any time you modify this text file, the modified content will appear on all of the five pages, which shall allow you to bring up to date your site much easier than if you had to update a part of all five pages. Server Side Includes is sometimes employed to contain the output of simple commands, scripts or functions as well - a hit counter that is displayed on the site, the present date and time or the customer's IP address. Every webpage that makes use of SSI will need to have a special extension - .shtml.
Server Side Includes in Shared Hosting
As our customized cloud hosting platform supports Server Side Includes on a global level, you'll be able to work with this feature with all of the shared hosting plans we feature and add dynamic content to your sites with just a few mouse clicks. SSI is activated for every specific domain name or subdomain by inserting an .htaccess file in the site folder with a few lines of code. Of course, you don't have to be a coder for that since the needed code can be copied from the Help article we have related to Server Side Includes. If you'd like to employ this function for your website, you need to rename your website files from .html to .shtml plus you've got to double-check if all of the links on your site lead to the up to date names.