Server Side Includes (SSI) is a basic server-side language, which lets you include text from a specific source in a website. In the most widespread situation, the text from a single file is included in a different one, providing a site the sense that it's dynamic. As an example, in case your website consists of 10 web pages, 5 of them can easily contain the content of some file, like horoscope.txt. In case you modify this text file, the updated content is going to appear on all five pages, which shall allow you to revise your website faster and easier than if you had to modify a part of all 5 web pages. Server Side Includes is occasionally employed to incorporate the output of basic commands, scripts or functions as well - a hit counter that's displayed on the site, the present date and time or the visitor's IP address. Every webpage that makes use of SSI should have a unique extension - .shtml.

Server Side Includes in Shared Hosting

Since our unique cloud hosting platform has Server Side Includes on a global level, you are able to use this function with any of the shared hosting plans that we feature and bring dynamic content to your sites with a few mouse clicks. SSI is activated for every specific domain name or subdomain by putting an .htaccess file in the website folder with a few lines of code. Of course, you don't have to be a coder for that since the necessary code may be copied from the Help post that we have about Server Side Includes. If you would like to employ this function for your site, you have to rename your website files from .html to .shtml plus you've got to double-check if all of the links on your website lead to the up to date names.