Server Side Includes (SSI) is a group of directives that will allow you to contain the content of a text file within an HTML file. By doing this, you'll be able to add some content to various pages in your site and adjust it by simply modifying an individual text file. You're able to additionally incorporate the output of various scripts so that the present time and date, the IP address of the visitor or the properties of some file display on your website. This will let you incorporate some dynamic content to static pages, making the website more desirable to your website visitors and giving it a more professional look and feel. It will also be much easier to update this content as compared to updating each static web page one at a time. If you would like to use Server Side Includes on your website, the pages that incorporate the content of some file must be with extension .shtml.
Server Side Includes in Shared Hosting
As our customized cloud hosting platform features Server Side Includes on a global level, you are able to use this function with the shared hosting plans that we offer you and bring dynamic content to your sites with a couple of clicks. SSI is enabled for every particular domain name or subdomain by placing an .htaccess file in the website folder with only a few lines of code. Certainly, there is no need to be a developer for that as the necessary code can be copied from the Help article that we have about Server Side Includes. If you want to use this function for your website, it is important to rename your website files from .html to .shtml and you will have to double-check if all of the links on your website lead to the updated names.
Server Side Includes in Semi-dedicated Hosting
It won't take you more than a moment to enable Server Side Includes when you've got a semi-dedicated server plan through our company. If you decide to activate this function, you must set up an .htaccess file in the main folder for the domain or subdomain in which you need SSI to be active. In that file, you need to copy some code, which you can get in the FAQ article that we have dedicated to SSI. You'll find the latter inside the Help section of your Hosting Control Panel, so you do not need any previous knowledge of such things. The only 2 things you need to deal with are renaming all of the webpages that shall employ Server Side Includes from .html to .shtml and replacing all the links in your website, so they point to the renamed files.