Server Side Includes (SSI) is a basic server-side language, which allows you to include text from a specified source inside a web page. In the most widespread situation, the text from a single file is incorporated in a second one, providing a site the sense it is dynamic. For example, in case your website has 10 webpages, five of them can easily contain the content of some file, for example horoscope.txt. As soon as you alter this text file, the updated content will come up on all five webpages, which shall permit you to update your website much easier than if you had to modify an element of all 5 pages. Server Side Includes is occasionally employed to contain the output of simple 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 webpage that utilizes SSI should have a unique extension - .shtml.
Server Side Includes in Shared Web Hosting
All of the Linux shared web hosting packages that we offer you support Server Side Includes, so you can incorporate dynamic components to any static site which you host on our cloud platform. By creating a blank .htaccess file and adding several lines of code within it, you can activate SSI for a domain or a subdomain. The file concerned needs to be inside the particular folder where you will make use of SSI and you'll discover the code in our Frequently Asked Questions section, and that means you don't need any coding expertise. The 24/7 tech support crew will also be able to assist you with enabling Server Side Includes if you're not sure what to do. You should also remember to modify the extension of all of the files which will use SSI from .html to .shtml and ensure that the links on your site point to the correct files.