Server Side Includes (SSI) is a basic server-side language, which enables you to include text from a given source in a website. In the most popular scenario, the text from a single file is included in another, providing a site the feeling that it's dynamic. For example, in case your site comprises of ten webpages, 5 of them can include the content of some file, such as horoscope.txt. Any time you modify this text file, the modified content is going to appear on all of the five pages, which shall enable you to revise your website faster and easier than if you had to update part of all 5 web pages. Server Side Includes is in some cases employed to incorporate the output of simple commands, scripts or functions as well - a hit counter that is displayed on the website, the present time and date or the customer's IP address. Any webpage that works by using SSI should have a particular extension - .shtml.
Server Side Includes in Hosting
All the Linux hosting packages we offer support Server Side Includes, so you can bring in dynamic components to your static website which you host on our cloud system. By setting up an empty .htaccess file and typing in some lines of code inside it, you're able to enable SSI for a domain name or maybe a subdomain. The file involved must be inside the particular folder where you are going to use SSI and you will get the code inside our Frequently Asked Questions section, so you do not need any kind of coding practical experience. Our 24/7 technical support crew will also be capable to help you with enabling Server Side Includes if you are not certain what to do. You should also make sure to modify the extension of all of the files that are going to use 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 Hosting
When you get a semi-dedicated server plan through us, you will be able to enable Server Side Includes with a couple of clicks and for any domain name or subdomain of your preference. We've got an in depth Help article about the subject you can see in your Hepsia Hosting Control Panel. All you need to activate Server Side Includes is to copy a number of lines from the article inside an .htaccess file that you ought to set up in the main folder of the domain/subdomain and you'll be set. You should simply be certain that all files making use of SSI have the appropriate extension i.e. .shtml, not just .html, and also that the links on your site are modified and lead to the by now updated files.