Server Side Includes (SSI) is a basic server-side language, which enables you to incorporate text from a specific source within a website. In the most popular scenario, the text from a single file is incorporated in a second one, giving a site the feeling that it's dynamic. For instance, if your site features ten webpages, 5 of them can have the content of some file, for example horoscope.txt. Once you change this text file, the new content will come up on all of the five web pages, which will enable you to revise your site faster and easier than if you had to change a component of all five pages. Server Side Includes is occasionally used to incorporate the output of basic commands, scripts or functions as well - a hit counter that's shown on the site, the present time and date or the customer's IP address. Any web page that utilizes SSI will need to have a particular extension - .shtml.
Server Side Includes in Shared Hosting
All shared plans
that we offer you support Server Side Includes, so that you can add dynamic elements to your static site which you host on our cloud platform. By creating an empty .htaccess file and entering some lines of code in it, you're able to enable SSI for a domain name or perhaps a subdomain. The file in question must be within the exact folder where you are going to use SSI and you'll discover the code in our Frequently Asked Questions section, so you don't need any coding knowledge. Our 24/7 technical support team shall also be able to help you with activating Server Side Includes if you aren't absolutely sure how to proceed. You should additionally remember to change the extension of all your files which will implement SSI from .html to .shtml and make certain that the links on your site point to the right files.
Server Side Includes in Semi-dedicated Servers
It will not take you more than a moment to activate Server Side Includes if you have a semi-dedicated server
plan with us. When you decide to enable this feature, you have to make an .htaccess file in the main folder for the domain or subdomain in which you want SSI to be enabled. In this file, you have to copy and paste some code, which you'll find in the FAQ article we have devoted to SSI. You'll find the latter within the Help section of your Hosting Control Panel, so you do not need any previous knowledge of this kind of matters. The only two things you need to take care of are renaming all of webpages that shall utilize Server Side Includes from .html to .shtml and bringing up-to-date every one of the links in your website, so they lead to the updated files.