Server Side Includes (SSI) is a simple server-side language, which lets you incorporate text from a specific source within a website. In the most common scenario, the text from a file is included in another, giving a website the feeling it is dynamic. For example, if your website is made of 10 webpages, 5 of them can have the content of some file, such as horoscope.txt. As soon as you modify this text file, the modified content will appear on all of the five pages, which shall allow you to bring up to date your website much easier than if you had to modify an element of all 5 web pages. Server Side Includes is at times used to include 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. Every webpage that makes use of SSI will need to have a special extension - .shtml.

Server Side Includes in Web Hosting

All web hosting we provide support Server Side Includes, so you can bring in dynamic elements to your static website that you host on our cloud system. By creating a blank .htaccess file and adding a couple of lines of code inside, you can activate SSI for a domain or maybe a subdomain. The file involved needs to be inside the specific folder where you are going to use SSI and you can also find the code inside our Frequently Asked Questions section, which means you do not need any kind of coding expertise. Our 24/7 tech support crew shall also be capable to assist you with activating Server Side Includes if you are not confident what to do. You should furthermore make sure to change the extension of all files that are going to implement SSI from .html to .shtml and make certain that the links on your site lead to the proper files.

Server Side Includes in Semi-dedicated Servers

When you get a semi-dedicated server package from us, it will be easy to enable Server Side Includes with a couple clicks and for every domain name or subdomain of your choosing. We have an in depth Help article on the subject that you could see in your Hepsia Hosting Control Panel. All you need to activate Server Side Includes is to copy a handful of lines from the article inside an .htaccess file that you ought to set up in the main folder of the domain name/subdomain and you'll be all set. You need to only ensure that all of the files making use of SSI possess the right extension i.e. .shtml, not just .html, and also that the links on your website are updated and lead to the already updated files.