Server Side Includes (SSI) is a simple server-side language, which allows you to incorporate text from a specific source inside a website. In the most widespread case, the text from a single file is incorporated in a second one, providing a site the sense that it is dynamic. For example, in case your website features 10 web pages, five of them can easily have the content of some file, for example horoscope.txt. As soon as you alter this text file, the modified content is going to appear on all of the five pages, which shall permit you to revise your site faster and easier than if you had to change part of all five web pages. Server Side Includes is sometimes utilized to include the output of simple commands, scripts or functions as well - a hit counter that's shown on the website, the current date and time or the visitor's IP address. Any web page that utilizes SSI should have a unique extension - .shtml.
Server Side Includes in Shared Web Hosting
All of the shared web hosting we provide support Server Side Includes, so you're able to add dynamic elements to your static website that you host on our cloud platform. By creating a blank .htaccess file and typing in a couple of lines of code within it, you're able to activate SSI for a domain name or maybe a subdomain. The file in question should be inside the specific folder where you will use SSI you'll be able to find the code in our Frequently Asked Questions section, which means you do not need any coding experience. Our 24/7 tech support crew will also be in a position to assist you with enabling Server Side Includes if you're not certain what to do. You should also remember to change the extension of all of the files that will use SSI from .html to .shtml and make sure that the links on your site lead to the correct files.
Server Side Includes in Semi-dedicated Servers
When you get a semi-dedicated server plan from our company, you'll be able to enable Server Side Includes with only a few clicks and for any domain name or subdomain of your choosing. You will find an in depth Help article about the subject that you could find in your Hepsia Hosting Control Panel. All it takes to activate Server Side Includes will be to copy a handful of lines out of the article in an .htaccess file that you need to create in the root folder of the domain name/subdomain and you'll be all set to go. You should just be certain that all files implementing SSI have the accurate extension i.e. .shtml, not .html, and also that the links on your site are modified and point to the by now updated files.