Server Side Includes (SSI) is a basic server-side language, which allows you to incorporate text from a specified source within a web page. In the most popular case, the text from a file is integrated in a different one, giving a site the feeling it is dynamic. As an example, in case your website is made of 10 web pages, five of them can easily contain the content of any kind of file, for example horoscope.txt. Once you change this text file, the modified content will appear on all of the five web pages, which will let you revise your site much easier than if you had to update a part of all 5 web pages. Server Side Includes is sometimes used to incorporate the output of basic commands, scripts or functions as well - a hit counter that's displayed on the website, the present time and date or the visitor's IP address. Any web page that works by using SSI will need to have a unique extension - .shtml.
Server Side Includes in Hosting
It will be easy to use Server Side Includes with all hosting
plans that we offer and enable it independently for each and every domain name or subdomain within your hosting account. This can be achieved by using an .htaccess file, which needs to be placed into 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 find the code inside our Knowledgebase area, so you can just copy and paste it, as you do not need any coding expertise to take advantage of all of the functions that our solutions contain. If you have already built your website and you want to use Server Side Includes later on, you have to ensure that you rename the files from .html to .shtml and correct the links on the website, otherwise SSI will not work.
Server Side Includes in Semi-dedicated Servers
When you get a semi-dedicated server
plan through us, you'll be able to enable Server Side Includes with only a few clicks and for virtually any domain name or subdomain that you pick. We have a detailed Help article about the subject that you could find in your Hepsia Hosting Control Panel. All you need to activate Server Side Includes is to copy a handful 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 good to go. You need to simply be certain that all of the files using SSI have the proper extension i.e. .shtml, not .html, as well as that the links on your website are updated and point to the by now renamed files.