Server Side Includes (SSI) is a well-known server-side scripting language, employed to include the content of one file within a second file. It is used mostly with online content and it will help make a static HTML site far more dynamic. If you wish to have a daily quote shown on various webpages on your site, for instance, you can make a text file and switch the quote within it every single day. All of the pages in which this file is included are going to display the modified quote, so you will not need to alter all of them manually every time. SSI can also be used to include the output of basic functions rather than a static file - for instance, the visitor's IP address, a hit counter or maybe the current time and date. In this manner, you can make your internet site seem far more professional and a lot more appealing to the site visitors. Web pages that implement SSI get a .shtml extension.

Server Side Includes in Web Hosting

Since our unique cloud hosting system offers Server Side Includes on a global level, it will be possible to implement this function with all of the web hosting plans that we have and add dynamic content to your sites with only a few clicks. SSI is enabled for each individual domain or subdomain by putting an .htaccess file in the website folder with a couple of lines of code. Of course, you don't need to turn into a programmer for that because the needed code can be copied from the Help post that we have related to Server Side Includes. If you'd like to use this function for your site, you'll want to rename your site files from .html to .shtml plus you've got to double-check if all of the links on your site point to the current names.

Server Side Includes in Semi-dedicated Servers

If you get a semi-dedicated server plan from us, you will be able to activate Server Side Includes with only a few mouse clicks and for every domain or subdomain of your choosing. We've got in-depth Help article about the subject that you could see in your Hepsia Hosting Control Panel. All you need to enable Server Side Includes is to copy a handful of lines from the article within an .htaccess file that you need to create in the root folder of the domain/subdomain and you'll be ready. You should simply make sure that all files implementing SSI have the appropriate extension i.e. .shtml, not .html, as well as that the links on your site are updated and point to the by now renamed files.