Server Side Includes (SSI) is a simple server-side language, which lets you include text from a specific source in a web page. In the most common scenario, the text from a single file is incorporated in a second one, giving a website the feeling that it's dynamic. For example, if your website is comprised of 10 webpages, five of them can include the content of any kind of file, such as horoscope.txt. As soon as you modify this text file, the new content will come up on all of the five webpages, which shall permit you to update your website much easier than if you had to change an element of all 5 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 shown on the website, the present date and time or the customer's IP address. Every web page that utilizes SSI will need to have a particular extension - .shtml.

Server Side Includes in Web Hosting

It is possible to use Server Side Includes with all web hosting packages we offer you and activate it independently for every single domain or subdomain within your hosting account. You can do this with an .htaccess file, which should be placed in the folder in which you wish to use SSI and you need to enter a few lines of code in that file. You'll find the code within our Knowledgebase section, so you can simply copy it, since you do not need any coding capabilities to take advantage of all functions that our solutions have. If you have by now built your site and you would like to use Server Side Includes afterwards, you need to make sure that you rename the files from .html to .shtml and correct the links on the site, or else SSI won't work.

Server Side Includes in Semi-dedicated Servers

If you get a semi-dedicated server package with our company, you will be able to activate Server Side Includes with just a few clicks and for virtually any domain or subdomain of your choosing. We have in-depth 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 out of the article in an .htaccess file that you should create in the root folder of the domain/subdomain and you'll be ready. You should simply make certain that all files making use of SSI have the right extension i.e. .shtml, not .html, and also that the links on your website are kept up to date and point to the by now renamed files.