Server Side Includes (SSI) is a basic server-side language, which allows you to include text from a given source in a web page. In the most popular scenario, the text from a single file is integrated in a different one, giving a site the feeling that it's dynamic. For example, if your site comprises of ten pages, 5 of them can contain the content of any kind of file, for example horoscope.txt. Any time you modify this text file, the modified content will appear on all five web pages, which shall help you update your website faster and easier than if you had to modify a component of all five web pages. Server Side Includes is at times utilized to include the output of simple commands, scripts or functions as well - a hit counter that's shown on the website, the present time and date or the visitor's IP address. Any webpage that works by using SSI should have a unique extension - .shtml.
Server Side Includes in Shared Web Hosting
All shared web hosting that we provide support Server Side Includes, so that you can include dynamic components to your static site that you host on our cloud system. By making an empty .htaccess file and adding several lines of code in it, you can activate SSI for a domain name or maybe a subdomain. The file in question needs to be inside the particular folder where you will make use of SSI and you can get the code in our Frequently Asked Questions section, so you do not need any coding knowledge. The 24/7 tech support staff will also be capable to help you with activating Server Side Includes if you're not absolutely sure what to do. You should additionally make sure to change the extension of all files that will use SSI from .html to .shtml and make certain that the links on your website point to the right files.