Server Side Includes (SSI) is a widely used server-side scripting language, used to add the content of one file within a second file. It is employed principally with online content and it will make a static HTML website much more dynamic. If you want to have a daily quote displayed on several pages on your site, for instance, you can make a text file and switch the quote in it every single day. All the web pages in which this file is included will display the modified quote, so you'll not need to modify all of them personally every time. SSI could also be used to include the output of basic functions rather than a static file - for example, the viewer's IP address, a hit counter or the current date and time. This way, you can make your internet site look far more professional and much more attractive to the website visitors. Pages that implement SSI use a .shtml extension.
Server Side Includes in Cloud Hosting
Since our custom cloud hosting system supports Server Side Includes on a global level, you'll be able to to implement this feature with the cloud hosting plans we offer and add dynamic content to your sites with only a few mouse clicks. SSI can be enabled for each specific 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 become a programmer for that as the needed code may be copied from the Help post we have about Server Side Includes. If you would like to use this function for your site, you have to rename your site files from .html to .shtml and you've got to double-check if all of the links on your website lead to the modified names.
Server Side Includes in Semi-dedicated Servers
It won't take you more than a minute to enable Server Side Includes if you have a semi-dedicated server plan with us. When you choose to enable this function, you must create an .htaccess file in the root folder for the domain or subdomain where you want SSI to be enabled. In that file, you need to copy some code, that you can get in the FAQ article that we have devoted to SSI. You will find the latter in the Help section of your Hosting Control Panel, so you don't require any previous experience with this kind of things. The only 2 things you must deal with are renaming all of pages that shall utilize Server Side Includes from .html to .shtml and replacing all the links in your site, to ensure that they lead to the renamed files.