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 file is incorporated in a different one, providing a website the feeling that it's dynamic. As an example, if your site is made of 10 web pages, five of them can easily contain the content of some file, for example horoscope.txt. In case you alter this text file, the modified content will appear on all of the five web pages, which shall help you revise your website much easier than if you had to update part of all five web pages. Server Side Includes is sometimes employed to incorporate the output of basic commands, scripts or functions as well - a hit counter that is displayed on the website, the current date and time or the customer's IP address. Any web page that works by using SSI will need to have a particular extension - .shtml.
Server Side Includes in Shared Hosting
All of the shared hosting that we provide support Server Side Includes, so you can add dynamic components to your static website that you host on our cloud platform. By setting up an empty .htaccess file and entering some lines of code in it, you're able to activate SSI for a domain or perhaps a subdomain. The file involved needs to be in the exact folder where you will use SSI and you will get the code in our Frequently Asked Questions section, so you do not need any kind of coding knowledge. Our 24/7 tech support crew will also be in a position to assist you with activating Server Side Includes if you are not absolutely sure what to do. You should also make sure to change the extension of all of the files that are going to implement SSI from .html to .shtml and make certain that the links on your website point to the correct files.