Server Side Includes (SSI) is a basic server-side language, which enables you to incorporate text from a specified source inside a website. In the most typical case, the text from a single file is integrated in a different one, giving a site the sense that it's dynamic. For instance, if your site is comprised of ten web pages, 5 of them can contain the content of some file, for example horoscope.txt. As soon as you change this text file, the new content is going to appear on all five pages, which will allow you to update your site faster and easier than if you had to change a component of all five web pages. Server Side Includes is sometimes utilized to incorporate the output of basic commands, scripts or functions as well - a hit counter that is displayed on the website, the current time and date or the customer's IP address. Any webpage that uses SSI must have a particular extension - .shtml.
Server Side Includes in Hosting
You will be able to use Server Side Includes with all of the hosting plans we provide and activate it separately for every single domain or subdomain within your hosting account. This can be done by using an .htaccess file, which should be placed into the folder in which you want to use SSI and you have to enter a couple of lines of code in that file. You'll find the code in our Knowledgebase section, so you're able to simply copy it, since you don't need any programming knowledge to benefit from all capabilities that our services have. If you have currently built your website and you would like to employ Server Side Includes afterwards, you have to ensure that you rename the files from .html to .shtml and fix the links on the site, otherwise SSI won't work.
Server Side Includes in Semi-dedicated Servers
When you get a semi-dedicated server plan through our company, you'll be able to enable Server Side Includes with just a few clicks and for every domain name or subdomain that you pick. You will find a thorough Help article about the subject that you can see in your Hepsia Hosting Control Panel. All it takes to activate Server Side Includes is to copy a handful of lines from the article inside an .htaccess file that you ought to make in the main folder of the domain/subdomain and you will be set. You need to only be sure that all of the files making use of SSI have the accurate extension i.e. .shtml, not .html, as well as that the links on your site are modified and lead to the already renamed files.