Server Side Includes (SSI) is a simple server-side language, which enables you to incorporate text from a given source in a website. In the most widespread case, the text from a single file is incorporated in a second one, giving a site the sense that it is dynamic. For example, if your website includes ten pages, 5 of them can easily contain the content of some file, like horoscope.txt. As soon as you change this text file, the new content will come up on all of the five webpages, which shall let you update your website much easier than if you had to change an element of all five web pages. Server Side Includes is occasionally employed to incorporate the output of basic commands, scripts or functions as well - a hit counter that is displayed on the site, the current time and date or the visitor's IP address. Every web page that makes use of SSI must have a unique extension - .shtml.
Server Side Includes in Website Hosting
As our unique cloud hosting platform offers Server Side Includes on a global level, it will be easy to utilize this feature with the website hosting
plans that we offer and bring dynamic content to your websites with a couple of mouse clicks. SSI can be enabled for each individual domain name or subdomain by inserting an .htaccess file in the site folder with just a few lines of code. Of course, you don't need to become a developer for that as the needed code may be copied from the Help article that we have related to Server Side Includes. If you wish to employ this function for your site, you'll have to rename your site files from .html to .shtml plus you've got to double-check if all links on your website point to the modified names.
Server Side Includes in Semi-dedicated Servers
If you get a semi-dedicated server
package through us, it will be easy to enable Server Side Includes with a couple mouse clicks and for any domain name or subdomain that you pick. We have an in depth Help article about the subject that you can find in your Hepsia Hosting Control Panel. All it takes to enable Server Side Includes is to copy a number 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 all set. You need to simply ensure that all files implementing SSI possess the right extension i.e. .shtml, not just .html, and also that the links on your site are updated and point to the already updated files.