Server Side Includes (SSI) is a simple server-side language, which allows you to incorporate text from a given source in a website. In the most popular situation, the text from a file is included in a different one, giving a site the feeling that it's dynamic. For instance, in case your site consists of 10 pages, 5 of them can have the content of any kind of file, such as horoscope.txt. Any time you modify this text file, the modified content will appear on all five web pages, which shall help you update your website much easier than if you had to update an element of all 5 web pages. Server Side Includes is occasionally used to contain the output of basic commands, scripts or functions as well - a hit counter that is displayed on the website, the present date and time or the visitor's IP address. Every web page that employs SSI will need to have a special extension - .shtml.
Server Side Includes in Shared Website Hosting
It will be easy to use Server Side Includes with all of the shared website hosting plans that we offer and enable it independently for every single domain or subdomain inside your hosting account. You can do this when using an .htaccess file, which should be positiioned in the folder where you wish to use SSI and you have to type in a couple of lines of code in that file. You can see the code inside our Knowledgebase section, so you're able to just copy it, as you do not need any coding expertise to take advantage of all functions that our solutions incorporate. In case you have by now built your site and you wish to use Server Side Includes afterwards, you will need to make certain that you rename the files from .html to .shtml and fix the links on the website, otherwise SSI is not going to work.
Server Side Includes in Semi-dedicated Hosting
If you get a semi-dedicated server plan with our company, it is possible to activate Server Side Includes with a few clicks and for any domain or subdomain of your choosing. We've got a thorough Help article on the subject you can see in your Hepsia Hosting Control Panel. All it takes to enable Server Side Includes will be to copy a handful of lines out of the article inside an .htaccess file that you need to set up in the root folder of the domain name/subdomain and you'll be all set. You should simply make sure that all of the files using SSI have the right extension i.e. .shtml, not simply .html, as well as that the links on your site are modified and point to the already updated files.