Server Side Includes (SSI) is a simple server-side language, which enables you to include text from a specified source in a web page. In the most widespread case, the text from a single file is incorporated in another, giving a website the sense that it's dynamic. As an example, in case your site features 10 webpages, five of them can include the content of any kind of file, such as horoscope.txt. Any time you change this text file, the updated content will appear on all five webpages, which shall help you update your site much easier than if you had to change a part of all five pages. Server Side Includes is at times utilized to contain the output of simple commands, scripts or functions as well - a hit counter that is shown on the website, the current date and time or the visitor's IP address. Any webpage that utilizes 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 every domain or subdomain inside of your hosting account. This can be done by using an .htaccess file, which should be placed in the folder in which you wish to use SSI and you need to enter a few lines of code in that file. You can see the code inside our Knowledgebase area, so you're able to simply copy and paste it, as you don't need any programming expertise to take advantage of all of the functions that our services include. If you have currently built your website and you would like to use Server Side Includes afterwards, you must make sure 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 Hosting
If you get a semi-dedicated server
plan from us, you will be able to activate Server Side Includes with a couple of clicks and for any domain or subdomain of your choice. We have an in depth Help article about the subject you could find in your Hepsia Hosting Control Panel. All it takes to activate Server Side Includes is to copy a couple of lines out of the article in an .htaccess file that you should create in the root folder of the domain/subdomain and you will be all set. You should only ensure that all files implementing SSI possess the accurate extension i.e. .shtml, not simply .html, and also that the links on your website are updated and lead to the by now updated files.