Server Side Includes (SSI) is a basic server-side language, which allows you to incorporate text from a specified source in a web page. In the most common case, the text from a single file is included in another, providing a website the feeling that it's dynamic. As an example, if your site consists of ten pages, five of them can easily include the content of any kind of file, like horoscope.txt. If you change this text file, the new content will appear on all of the five pages, which shall enable you to update your site much easier than if you had to change an element of all five pages. Server Side Includes is at times employed to contain the output of simple 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 utilizes SSI will need to have a special extension - .shtml.
Server Side Includes in Shared Hosting
Since our custom cloud hosting system has Server Side Includes on a global level, you are able to work with this function with the shared hosting plans that we offer you and add dynamic content to your websites with a few mouse clicks. SSI can be enabled for each individual domain or subdomain by putting an .htaccess file in the site folder with a couple of lines of code. Of course, there is no need to be a programmer for that because the required code may be copied from the Help post we have concerning Server Side Includes. If you wish to utilize this function for your site, you must rename your site files from .html to .shtml and you will have to double-check if all of the links on your site point to the current names.