Server Side Includes (SSI) is a simple server-side language, which allows you to include text from a specific source inside a web page. In the most typical situation, the text from a single file is included in a second one, giving a site the feeling it is dynamic. For example, if your website involves 10 webpages, five of them can have the content of some file, like horoscope.txt. In case you alter this text file, the new content is going to appear on all five pages, which shall let you bring up to date your site much easier than if you had to modify a component of all five pages. Server Side Includes is occasionally utilized to contain the output of simple commands, scripts or functions as well - a hit counter that is shown on the site, the present date and time or the customer's IP address. Every web page that utilizes SSI will need to have a unique extension - .shtml.
Server Side Includes in Shared Hosting
As our custom cloud hosting system features Server Side Includes on a global level, you'll be able to utilize this feature with the shared hosting packages we have and incorporate dynamic content to your sites with just a few mouse clicks. SSI is activated for each particular domain name or subdomain by placing an .htaccess file in the website folder with only a few lines of code. Of course, you do not have to be a developer for that since the needed code may be copied from the Help article we have about Server Side Includes. If you wish to utilize this feature for your website, you have to rename your site files from .html to .shtml and you will have to double-check if all links on your website point to the modified names.