Server Side Includes (SSI) is a common server-side scripting language, which is often used to incorporate the content of one file within a second file. It's employed mainly with online content and it will help to make a static HTML site more dynamic. If you need to have a daily quote displayed on a number of pages within your site, as an example, you can make a text file and switch the quote in it each day. All webpages where this file is integrated will show the modified quote, so you will not have to update them personally every time. SSI can also be used to contain the output of simple functions as opposed to a static file - for example, the viewer's IP address, a hit counter or the current time and date. In this way, you can make your internet site seem far more professional and a lot more appealing to the website visitors. Pages that employ SSI have a .shtml extension.

Server Side Includes in Shared Hosting

All the shared hosting we offer support Server Side Includes, so that you can add dynamic elements to any static website which you host on our cloud platform. By creating an empty .htaccess file and entering some lines of code inside, you'll be able to activate SSI for a domain or maybe a subdomain. The file in question needs to be within the particular folder where you will make use of SSI and you can discover the code within our Frequently Asked Questions section, so you don't need any kind of coding knowledge. The 24/7 technical support team shall also be able to help you with activating Server Side Includes if you are not sure how to proceed. You should also remember to modify the extension of all your files that will make use of SSI from .html to .shtml and make sure that the links on your website point to the appropriate files.

Server Side Includes in Semi-dedicated Servers

It will not take you more than a moment to activate Server Side Includes when you have a semi-dedicated server package with our company. If you decide to enable this function, you will need to make an .htaccess file in the main folder for the domain name or subdomain in which you need SSI to be active. In that file, you need to copy and paste some code, which you'll find in the FAQ article we have dedicated to SSI. You can get the latter in the Help section of your Hosting Control Panel, so you do not need any previous knowledge of such matters. The only 2 things you need to deal with are renaming all of the webpages that will utilize Server Side Includes from .html to .shtml and replacing every one of the links in your site, to make sure they lead to the updated files.