Server Side Includes (SSI) is a common server-side scripting language, which can be used to include the content of one file inside a second file. It's used typically with online content and it can help to make a static HTML site much more dynamic. If you need to have a daily quote displayed on many web pages on your site, for instance, you can create a text file and switch the quote in it every day. All of the web pages where this file is integrated are going to display the updated quote, so you will not have to edit every one of them manually every single time. SSI could also be used to incorporate the output of simple functions instead of a static file - for example, the visitor's IP address, a hit counter or even the current date and time. By doing this, you may make your site appear much more professional and much more appealing to the website visitors. Web pages that use SSI have a .shtml extension.
Server Side Includes in Shared Website Hosting
It will be easy to use Server Side Includes with all shared website hosting packages that we offer and activate it separately for each domain name or subdomain in your hosting account. This can be achieved with an .htaccess file, which needs to be placed into the folder where you want to use SSI and you have to enter a couple of lines of code in that file. You'll find the code in our Knowledgebase area, so you're able to simply just copy it, as you do not need any programming knowledge to take advantage of all capabilities that our services have. In case you have by now built your website and you want to employ Server Side Includes later on, you have to make certain that you rename the files from .html to .shtml and correct the links on the website, otherwise SSI is not going to work.