Server Side Includes (SSI) is a simple server-side language, which enables you to incorporate text from a specific source in a web page. In the most widespread situation, the text from a single file is integrated in a different one, giving a website the feeling that it's dynamic. As an example, in case your website consists of ten web pages, 5 of them can have the content of some file, such as horoscope.txt. As soon as you change this text file, the updated content will appear on all five webpages, which will let you update your site much easier than if you had to update a part of all five web pages. Server Side Includes is occasionally employed to contain the output of basic commands, scripts or functions as well - a hit counter that is displayed on the site, the current time and date or the customer's IP address. Every webpage that makes use of SSI must have a unique extension - .shtml.
Server Side Includes in Cloud Website Hosting
It will be easy to use Server Side Includes with all cloud website hosting plans that we offer and enable it separately for every domain or subdomain inside of your hosting account. This can be accomplished by utilizing an .htaccess file, which needs to be positiioned in the folder where you wish to use SSI and you need to type in a couple of lines of code in that file. You can find the code inside our Knowledgebase area, so you're able to just copy it, as you don't need any coding skills to benefit from all of the capabilities that our solutions contain. If you have currently built your site and you want to use Server Side Includes afterwards, you need to make sure that you rename the files from .html to .shtml and fix the links on the website, or else SSI is not going to work.
Server Side Includes in Semi-dedicated Servers
When you get a semi-dedicated server package with us, it is possible to activate Server Side Includes with only a few clicks and for every domain or subdomain of your choosing. We have an in depth Help article on the subject that you could find in your Hepsia Hosting Control Panel. All it takes to enable Server Side Includes will be to copy a couple of lines from the article in an .htaccess file that you ought to set up in the main folder of the domain/subdomain and you'll be ready. You need to simply ensure that all of the files using SSI have the correct extension i.e. .shtml, not just .html, as well as that the links on your site are kept up to date and point to the by now renamed files.