Server Side Includes (SSI) is a simple server-side language, which lets you incorporate text from a specific source within a web page. In the most widespread case, the text from a file is included in a different one, giving a site the sense it is dynamic. For instance, in case your site consists of ten pages, 5 of them can have the content of some file, for example horoscope.txt. In case you modify this text file, the updated content will come up on all of the five webpages, which shall enable you to bring up to date your website much easier than if you had to change an element of all five web pages. Server Side Includes is sometimes used to include the output of simple commands, scripts or functions as well - a hit counter that's displayed on the site, the current date and time or the customer's IP address. Any webpage that employs SSI must have a particular extension - .shtml.
Server Side Includes in Shared Hosting
Server Side Includes is featured on our progressive cloud hosting system, so whatever the Linux shared package which you select, you'll be able to make use of this function making your website more dynamic. All that you will have to do will be to set up a file called .htaccess in the main folder for the domain or subdomain in which you would like to use SSI and add a couple of lines of code inside it. You'll not need any coding skills however, as you can just copy the necessary code from the help section, or our technical support can assist you to enable SSI for any given site. You need to simply modify the extension of the html file that will employ Server Side Includes to .shtml and make certain that all of the links to those pages on the site are appropriate.