Server Side Includes (SSI) is a range of directives that will enable you to incorporate the content of a text file inside an HTML file. In this way, you're able to add any kind of content to few different web pages in your site and alter it just by updating one text file. You are able to also add the output of distinctive scripts so that the present date and time, the IP address of the visitor or the attributes of some file appear on your site. This will allow you to add in some dynamic content to static web pages, making the site more appealing to your site visitors and giving it a professional visual appearance. It will likewise be easier to update this content as compared to editing every static page one by one. If you wish to use Server Side Includes in your website, the web pages that incorporate the content of any kind of file must be with extension .shtml.

Server Side Includes in Hosting

Since our unique cloud hosting platform supports Server Side Includes on a global level, you are able make use of this function with any of the hosting packages that we have and add in dynamic content to your websites with a couple of clicks. SSI is activated for every specific domain name or subdomain by inserting an .htaccess file in the website folder with only a few lines of code. Of course, there is no need to be a programmer for that since the required code may be copied from the Help post that we have related to Server Side Includes. If you would like to use this function for your site, you'll want to rename your site files from .html to .shtml plus you've got to double-check if all links on your website point to the updated names.

Server Side Includes in Semi-dedicated Servers

It won't take you more than a minute to enable Server Side Includes in case you have a semi-dedicated server package with us. When you decide to enable this feature, you need to make an .htaccess file in the main folder for the domain or subdomain where you want SSI to be enabled. In this file, you have to copy some code, which you'll get in the FAQ article that we have dedicated to SSI. You can find the latter within the Help area of your Hosting Control Panel, so you do not require any previous experience with these types of matters. The only two things you need to deal with are renaming all of pages that will utilize Server Side Includes from .html to .shtml and editing all of the links on your site, so that they point to the updated files.