Server Side Includes (SSI) is a simple server-side language, which allows you to incorporate text from a specified source inside a web page. In the most typical situation, the text from a file is integrated in another, providing a site the feeling that it's dynamic. For example, in case your site includes 10 pages, five of them can easily contain the content of some file, such as horoscope.txt. If you ever change this text file, the modified content is going to appear on all of the five web pages, which shall enable you to bring up to date your site faster and easier than if you had to modify a component of all five pages. Server Side Includes is at times employed to include the output of basic commands, scripts or functions as well - a hit counter that is displayed on the site, the current time and date or the visitor's IP address. Any web page that employs SSI must have a unique extension - .shtml.
Server Side Includes in Website Hosting
As our custom cloud hosting platform supports Server Side Includes on a global level, you will be able make use of this function with the website hosting plans we have and incorporate dynamic content to your websites with only a few mouse clicks. SSI is activated for every particular domain name or subdomain by inserting an .htaccess file in the website folder with just a few lines of code. Naturally, you do not have to be a programmer for that since the needed code can be copied from the Help post we have related to Server Side Includes. If you want to utilize this feature for your site, you must rename your site files from .html to .shtml plus you've got to double-check if all links on your site point to the modified names.
Server Side Includes in Semi-dedicated Servers
Server Side Includes may be enabled in no time with each semi-dedicated server package that we provide and the entire process shall take you less than a minute and just a couple of clicks. You can activate SSI by creating a blank .htaccess file within a domain name or subdomain root folder with the File Manager tool in your Hosting Control Panel or an FTP app of your choosing, then incorporating a few lines of code, that you will be able to get out of the SSI article within our detailed Knowledgebase. The only thing remaining after that is to double-check if all webpages that will implement Server Side Includes are renamed from .html to .shtml and also to alter backlinks to different webpages on your website, so as to represent the modifications in the file extensions.