Server Side Includes (SSI) is a simple server-side language, which enables you to incorporate text from a given source in a website. In the most widespread case, the text from a file is incorporated in another, giving a website the feeling it is dynamic. For instance, in case your site is made of ten web pages, five of them can include the content of some file, for example horoscope.txt. In case you change this text file, the modified content is going to appear on all five pages, which will enable you to revise your website much easier than if you had to update a component of all five web pages. Server Side Includes is in some cases used to include the output of simple commands, scripts or functions as well - a hit counter that is displayed on the site, the present date and time or the customer's IP address. Any web page that works by using SSI should have a special extension - .shtml.

Server Side Includes in Hosting

All of the Linux hosting packages that we provide support Server Side Includes, so that you can include dynamic components to your static website that you host on our cloud platform. By creating an empty .htaccess file and adding several lines of code inside, you're able to activate SSI for a domain or perhaps a subdomain. The file in question should be in the specific folder where you are going to use SSI you'll be able to see the code within our Frequently Asked Questions section, which means you don't need any kind of coding expertise. Our 24/7 tech support team will also be in a position to assist you with enabling Server Side Includes if you're not confident how to proceed. You should furthermore remember to change the extension of all files which will make use of SSI from .html to .shtml and ensure that the links on your website lead to the proper files.

Server Side Includes in Semi-dedicated Hosting

It won't take you over a moment to activate Server Side Includes when you've got a semi-dedicated server package with us. If you decide to activate this feature, you will need to make an .htaccess file in the root folder for the domain or subdomain in which 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 dedicated to SSI. You can get the latter inside the Help section of your Hosting Control Panel, so you don't require any previous knowledge about these types of matters. The only 2 things you should take care of are renaming all of the web pages that will utilize Server Side Includes from .html to .shtml and updating every one of the links on your website, to ensure that they point to the updated files.