Server Side Includes (SSI) is a group of directives that will permit you to include the content of a text file within an HTML file. In this manner, you'll be able to add any kind of content to a few different pages on your site and modify it simply by editing a single text file. You can furthermore add the output of various scripts so that the current time and date, the IP address of the visitor or the attributes of some file show on your website. This will let you add in some dynamic content to static web pages, making the site more desirable to your site visitors and creating a professional overall look. It will also be easier to update this content in comparison to editing each static web page one by one. If you wish to use Server Side Includes on your site, the pages that contain the content of some file must be with extension .shtml.

Server Side Includes in Web Hosting

All Linux web hosting plans that we provide support Server Side Includes, so you're able to incorporate dynamic components to any static website that you host on our cloud platform. By creating a clear .htaccess file and typing in a couple of lines of code inside it, you are able to enable SSI for a domain or perhaps a subdomain. The file involved must be inside the particular folder where you will make use of SSI and you can see the code inside our Frequently Asked Questions section, so you don't need any coding knowledge. Our 24/7 technical support team shall also be able to help you with activating Server Side Includes if you aren't absolutely sure how to proceed. You should also remember to modify the extension of all your files that are going to implement SSI from .html to .shtml and make sure that the links on your site 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 in case you have a semi-dedicated server plan with our company. When you decide to enable this function, you must 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 get in the FAQ article we have dedicated to SSI. You'll find the latter in the Help section of your Hosting Control Panel, so you do not need any previous knowledge about this kind of things. The only 2 things you ought to take care of are renaming all of the pages that will utilize Server Side Includes from .html to .shtml and replacing all of the links on your website, to ensure that they point to the updated files.