Server Side Includes (SSI) is a common server-side scripting language, which is used to incorporate the content of one file within a second file. It's used primarily with online content and it will help to make a static HTML website more dynamic. If you'd like to have a daily quote displayed on a few web pages within your website, as an example, you can make a text file and replace the quote in it daily. All the web pages in which this file is incorporated will display the updated quote, so you will not need to modify them by hand every time. SSI may also be used to contain the output of simple functions as opposed to a static file - for instance, the viewer's IP address, a hit counter or the present date and time. In this way, you can make your site appear a lot more professional and a lot more appealing to the visitors. Pages that employ SSI get a .shtml extension.

Server Side Includes in Website Hosting

As our custom cloud hosting platform has Server Side Includes on a global level, you'll be able to to make use of this feature with all of the website hosting packages that we offer and add dynamic content to your sites with a few mouse clicks. SSI can be enabled for each individual domain or subdomain by placing an .htaccess file in the website folder with a couple of lines of code. Certainly, you don't need to be a developer for that since the necessary code may be copied from the Help post we have related to Server Side Includes. If you would like to utilize this function for your website, you will need to rename your website files from .html to .shtml plus you've got to double-check if all links on your website lead to the modified names.

Server Side Includes in Semi-dedicated Servers

It shall not take you over a minute to activate Server Side Includes when you have a semi-dedicated server plan with us. When you decide to enable this feature, you have to make an .htaccess file in the main folder for the domain or subdomain in which you would like SSI to be enabled. In that file, you have to copy some code, that you can find in the FAQ article we have dedicated to SSI. You can get the latter in the Help area of your Hosting Control Panel, so you do not require any previous knowledge of such things. The only 2 things you must take care of are renaming all web pages that shall employ Server Side Includes from .html to .shtml and updating every one of the links on your site, to ensure that they lead to the updated files.