Server Side Includes (SSI) is a basic server-side language, which allows you to include text from a given source within a web page. In the most widespread scenario, the text from one file is integrated in another, providing a website the sense that it's dynamic. For instance, if your website features 10 webpages, 5 of them can include the content of any kind of file, for example horoscope.txt. Any time you alter this text file, the new content will come up on all of the five webpages, which shall allow you to revise your website faster and easier than if you had to change a part of all 5 web pages. Server Side Includes is at times used to include the output of simple commands, scripts or functions as well - a hit counter that is shown on the website, the present date and time or the customer's IP address. Every webpage that uses SSI will need to have a unique extension - .shtml.
Server Side Includes in Shared Hosting
Since our customized cloud hosting system offers Server Side Includes on a global level, it will be possible make use of this feature with the shared hosting plans that we feature and add dynamic content to your websites with a couple of clicks. SSI can be activated for every particular domain name or subdomain by placing an .htaccess file in the site folder with only a few lines of code. Naturally, there is no need to be a developer for that because the necessary code may be copied from the Help post that we have related to Server Side Includes. If you'd like to utilize this function for your website, you must rename your website files from .html to .shtml and you have to double-check if all links on your website point to the current names.
Server Side Includes in Semi-dedicated Servers
It shall not take you more than a moment to activate Server Side Includes when you have a semi-dedicated server plan through our company. When you choose to activate this feature, you need to set up an .htaccess file in the main folder for the domain name or subdomain in which you need SSI to be enabled. In this file, you have to copy and paste 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 require any previous knowledge about such things. The only 2 things you must deal with are renaming all webpages that will utilize Server Side Includes from .html to .shtml and updating all of the links on your website, to make sure they point to the updated files.