Server Side Includes (SSI) is a basic server-side language, which allows you to incorporate text from a specific source within a website. In the most common scenario, the text from a single file is integrated in a second one, giving a website the feeling that it is dynamic. For instance, if your site consists of 10 pages, 5 of them can have the content of some file, for example horoscope.txt. Once you alter this text file, the updated content will appear on all of the five webpages, which will permit you to bring up to date your website much easier than if you had to change a component of all five web pages. Server Side Includes is at times employed to include the output of simple commands, scripts or functions as well - a hit counter that's displayed on the website, the current time and date or the customer's IP address. Every webpage that employs SSI should have a particular extension - .shtml.
Server Side Includes in Website Hosting
All Linux website hosting services that we provide support Server Side Includes, so that you can incorporate dynamic components to any static website which you host on our cloud system. By setting up an empty .htaccess file and typing in a few lines of code inside, you're able to enable SSI for a domain name or perhaps a subdomain. The file concerned needs to be within the particular folder where you will use SSI and you can also find the code inside our Frequently Asked Questions section, so you don't need any coding knowledge. The 24/7 tech support crew will also be capable to help you with enabling Server Side Includes if you are not sure how to proceed. You should also remember to change the extension of all your files that will use SSI from .html to .shtml and ensure that the links on your website point to the appropriate files.
Server Side Includes in Semi-dedicated Hosting
When you get a semi-dedicated server plan from us, it is possible to activate Server Side Includes with a few mouse clicks and for every domain or subdomain of your preference. You will find in-depth Help article on the subject you can see in your Hepsia Hosting Control Panel. All it takes to activate Server Side Includes is to copy a number of lines out of the article within an .htaccess file that you ought to set up in the main folder of the domain name/subdomain and you will be all set to go. You need to simply make sure that all files using SSI have the appropriate extension i.e. .shtml, not simply .html, as well as that the links on your site are modified and lead to the already renamed files.