Server Side Includes (SSI) is a simple server-side language, which enables you to incorporate text from a given source within a web page. In the most typical scenario, the text from a file is integrated in a second one, giving a website the sense that it is dynamic. For instance, in case your site consists of 10 web pages, five of them can include the content of any kind of file, for example horoscope.txt. In case you change this text file, the new content is going to appear on all five pages, which will enable you to revise your website faster and easier than if you had to modify an element of all five web pages. Server Side Includes is at times used to contain the output of simple commands, scripts or functions as well - a hit counter that's displayed on the website, the present time and date or the customer's IP address. Any web page that uses SSI should have a particular extension - .shtml.
Server Side Includes in Web Hosting
Server Side Includes is present on our progressive cloud hosting platform, so whatever the Linux web hosting which you select, you'll be able to make use of this feature making your website much more dynamic. All that you will need to do is to create a file called .htaccess in the home folder for the domain name or subdomain where you would like to use SSI and then include a number of lines of code in it. You'll not require any coding skills though, as you're able just copy the needed code from the help section, or our technical support can assist you enable SSI for any specified website. You need to simply change the extension of any html file which will employ Server Side Includes to .shtml and make sure that all links to those pages on the site are correct.
Server Side Includes in Semi-dedicated Servers
It won't take you over a minute to activate Server Side Includes when you've got a semi-dedicated server plan through us. If you decide to activate this function, you have to set up an .htaccess file in the main folder for the domain or subdomain where you want SSI to be enabled. In this file, you need to copy some code, that you can get in the FAQ article that we have devoted to SSI. You can get the latter within the Help section of your Hosting Control Panel, so you don't need any prior experience with such things. The only 2 things you ought to deal with are renaming all of the webpages that will utilize Server Side Includes from .html to .shtml and bringing up-to-date all the links in your site, to make sure they lead to the updated files.