Server Side Includes (SSI) is a common server-side scripting language, employed to incorporate the content of one file within another file. It's used mostly with online content and it will make a static HTML site much more dynamic. If you need to have a daily quote shown on various webpages within your site, for instance, you can make a text file and replace the quote within it each day. All the webpages in which this file is included will display the modified quote, so you'll not have to edit them by hand each time. SSI may also be used to contain the output of simple functions instead of a static file - for example, the viewer's IP address, a hit counter or maybe the present time and date. In this way, you may make your website appear far more professional and a lot more appealing to the visitors. Web pages that employ SSI have a .shtml extension.

Server Side Includes in Hosting

It is possible to use Server Side Includes with all of the hosting plans that we offer and activate it separately for each and every domain or subdomain in your hosting account. This can be done by using an .htaccess file, which needs to be positiioned in the folder where you wish to use SSI and you need to put a couple of lines of code in that file. You can see the code within our Knowledgebase section, so you can simply copy and paste it, as you do not need any programming capabilities to benefit from all features that our solutions come with. If you have already built your website and you wish to employ Server Side Includes later, you need to make certain that you rename the files from .html to .shtml and correct the links on the website, or else SSI is not going to work.

Server Side Includes in Semi-dedicated Servers

It will not take you more than a minute to enable Server Side Includes when you've got a semi-dedicated server package through us. If you decide to activate this feature, you must make an .htaccess file in the main folder for the domain name or subdomain where you want SSI to be active. In that file, you have to copy and paste some code, that you can get in the FAQ article we have devoted to SSI. You can get the latter inside the Help section of your Hosting Control Panel, so you do not require any previous experience with this kind of things. The only 2 things you ought to deal with are renaming all web pages that will use Server Side Includes from .html to .shtml and changing each of the links in your site, in order that they lead to the renamed files.