Server Side Includes (SSI) is a simple server-side language, which allows you to include text from a specified source within a website. In the most typical case, the text from one file is included in a second one, providing a site the feeling that it's dynamic. As an example, in case your site involves 10 pages, 5 of them can include the content of any kind of file, such as horoscope.txt. If you alter this text file, the updated content will appear on all five web pages, which will allow you to revise your site much easier than if you had to change an element of all 5 web pages. Server Side Includes is sometimes employed to include the output of basic commands, scripts or functions as well - a hit counter that is shown on the site, the present date and time or the visitor's IP address. Every web page that works by using SSI should have a unique extension - .shtml.

Server Side Includes in Web Hosting

It will be possible to use Server Side Includes with all web hosting packages we provide and activate it independently for each and every domain or subdomain in your own hosting account. This can be achieved by using an .htaccess file, which should be placed into the folder where you want to use SSI and you need to enter a couple of lines of code in that file. You can find the code within our Knowledgebase section, so you're able to simply just copy it, as you don't need any programming skills to benefit from all features that our services contain. In case you have already built your website and you wish to use Server Side Includes later on, you will need to make sure that you rename the files from .html to .shtml and fix the links on the site, or else SSI is not going to work.

Server Side Includes in Semi-dedicated Servers

When you get a semi-dedicated server package through our company, you will be able to activate Server Side Includes with just a few clicks and for virtually any domain name or subdomain of your choice. We've got a thorough Help article on the subject you can see in your Hepsia Hosting Control Panel. All it takes to activate Server Side Includes will be to copy a handful of lines out of the article inside an .htaccess file that you ought to make in the main folder of the domain name/subdomain and you'll be ready. You should simply make certain that all files using SSI have the correct extension i.e. .shtml, not simply .html, as well as that the links on your website are kept up to date and lead to the by now updated files.