Server Side Includes (SSI) is a simple server-side language, which lets you incorporate text from a given source inside a web page. In the most common scenario, the text from a single file is incorporated in another, giving a site the sense it is dynamic. As an example, if your website has ten web pages, 5 of them can contain the content of some file, like horoscope.txt. If you modify this text file, the modified content will appear on all five pages, which will permit you to revise your website faster and easier than if you had to change a part of all 5 pages. Server Side Includes is at times utilized to contain the output of simple commands, scripts or functions as well - a hit counter that's shown on the site, the present date and time or the customer's IP address. Every web page that employs SSI should have a unique extension - .shtml.
Server Side Includes in Shared Hosting
All of the Linux shared hosting we offer support Server Side Includes, so you're able to bring in dynamic components to your static website that you host on our cloud platform. By setting up a blank .htaccess file and adding some lines of code inside it, you are able to enable SSI for a domain or maybe a subdomain. The file involved should be within the particular folder where you are going to use SSI and you will find the code inside our Frequently Asked Questions section, so you don't need any coding experience. Our 24/7 tech support team will also be in a position to assist you with activating Server Side Includes if you are not confident what to do. You should furthermore remember to modify the extension of all files that are going to implement SSI from .html to .shtml and ensure that the links on your website lead to the right files.
Server Side Includes in Semi-dedicated Servers
If you get a semi-dedicated server package with our company, you'll be able to activate Server Side Includes with only a few clicks and for every domain or subdomain of your choice. We've got 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 handful of lines out of the article in an .htaccess file that you should set up in the main folder of the domain name/subdomain and you will be set. You need to just be sure that all files implementing SSI have the right extension i.e. .shtml, not simply .html, and that the links on your site are modified and point to the by now updated files.