Server Side Includes (SSI) is a simple server-side language, which enables you to include text from a specific source within a web page. In the most common scenario, the text from a file is integrated in another, giving a site the sense that it's dynamic. For example, in case your website consists of ten web pages, five of them can easily include the content of some file, for example horoscope.txt. If you change this text file, the new content is going to appear on all five webpages, which will allow you to revise your website faster and easier than if you had to update an element of all five web pages. Server Side Includes is at times employed to include the output of basic commands, scripts or functions as well - a hit counter that's displayed on the website, the current time and date or the visitor's IP address. Any webpage that works by using SSI should have a unique extension - .shtml.
Server Side Includes in Website Hosting
Server Side Includes is present on our progressive cloud hosting platform, so no matter the Linux website hosting that you choose, it will be possible to make use of this function making your site more dynamic. All you must do is to make a file called .htaccess in the main folder for the domain or subdomain in which you want to use SSI and then add a handful of lines of code inside. You simply won't need any kind of coding skills however, as you're able simply copy the necessary code from the help section, or our tech support team can assist you to enable SSI for a specific site. You just have to change the extension of any html file which will employ Server Side Includes to .shtml and make certain that all links to those webpages on the website are appropriate.
Server Side Includes in Semi-dedicated Hosting
It won't take you over a minute to activate Server Side Includes when you've got a semi-dedicated server package from our company. When you choose to enable this function, you must make an .htaccess file in the root folder for the domain name or subdomain in which you want SSI to be enabled. In this file, you have to copy some code, that you can see in the FAQ article that we have devoted to SSI. You can get the latter inside the Help area of your Hosting Control Panel, so you do not require any prior experience with this kind of things. The only two things you must take care of are renaming all pages that shall employ Server Side Includes from .html to .shtml and changing all the links in your website, in order that they point to the updated files.