Server Side Includes (SSI) is a basic server-side language, which allows you to include text from a given source inside a website. In the most typical scenario, the text from a single file is integrated in a different one, providing a website the feeling it is dynamic. As an example, if your site features 10 webpages, 5 of them can have the content of some file, such as horoscope.txt. Any time you alter this text file, the modified content is going to appear on all of the five pages, which will let you revise your site much easier than if you had to change an element of all 5 web pages. Server Side Includes is in some cases used to incorporate the output of basic commands, scripts or functions as well - a hit counter that is displayed on the site, the present time and date or the visitor's IP address. Any web page that uses SSI should have a particular extension - .shtml.
Server Side Includes in Shared Website Hosting
You will be able to use Server Side Includes with all of the shared website hosting plans that we offer you and enable it separately for each domain name or subdomain inside your hosting account. You can do this by utilizing an .htaccess file, which should be placed in the folder in which you want to use SSI and you have to put a few lines of code in that file. You can get the code within our Knowledgebase area, so you're able to simply copy it, since you don't need any programming expertise to benefit from all of the capabilities that our solutions contain. If you have already built your site and you would like to employ Server Side Includes later on, you need to make certain that you rename the files from .html to .shtml and correct the links on the website, or else SSI is not going to work.
Server Side Includes in Semi-dedicated Servers
If you get a semi-dedicated server plan from our company, it will be easy to activate Server Side Includes with just a few mouse clicks and for every domain or subdomain that you pick. We've got a detailed Help article on the subject you could find in your Hepsia Hosting Control Panel. All it takes to enable Server Side Includes will be to copy a handful of lines from the article inside an .htaccess file that you should set up in the root folder of the domain/subdomain and you'll be good to go. You should simply make sure that all files making use of SSI possess 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 already renamed files.