Server Side Includes (SSI) is a basic server-side language, which enables you to include text from a specific source inside a website. In the most widespread case, the text from a single file is incorporated in a second one, giving a website the feeling it is dynamic. As an example, in case your site is made of ten webpages, five of them can include the content of some file, for example horoscope.txt. Once you alter this text file, the new content is going to appear on all of the five webpages, which shall permit you to update your site much easier than if you had to update a component of all 5 pages. Server Side Includes is at times employed to contain the output of simple commands, scripts or functions as well - a hit counter that is shown on the website, the present time and date or the visitor's IP address. Any webpage that utilizes SSI will need to have a unique extension - .shtml.
Server Side Includes in Shared Hosting
You'll be able to use Server Side Includes with all shared hosting packages we offer and enable it independently for every domain name or subdomain inside of your hosting account. This can be achieved with an .htaccess file, which should be positiioned in the folder where you want to use SSI and you have to type in a few lines of code in that file. You'll find the code within our Knowledgebase section, so you can just copy it, since you do not need any programming skills to benefit from all characteristics that our services have. In case you have currently built your site and you would like to use Server Side Includes later, you need to ensure that you rename the files from .html to .shtml and fix the links on the site, or else SSI won't work.