Server Side Includes (SSI) is a simple server-side language, which allows you to include text from a specific source in a web page. In the most widespread case, the text from a single file is incorporated in another, giving a site the sense it is dynamic. As an example, in case your site consists of ten webpages, five of them can have the content of some file, such as horoscope.txt. If you modify this text file, the new content will appear on all of the five pages, which shall allow you to bring up to date your site faster and easier than if you had to modify a component of all 5 pages. Server Side Includes is at times employed to contain the output of basic commands, scripts or functions as well - a hit counter that's displayed on the site, the current date and time or the visitor's IP address. Any webpage that makes use of SSI should have a particular extension - .shtml.
Server Side Includes in Hosting
All of the hosting that we offer support Server Side Includes, so you're able to bring in dynamic elements to your static site which you host on our cloud platform. By creating a blank .htaccess file and adding some lines of code inside it, you can enable SSI for a domain or perhaps a subdomain. The file concerned should be in the specific folder where you will use SSI and you can discover the code inside our Frequently Asked Questions section, which means you don't need any coding expertise. Our 24/7 technical support crew will also be able to help you with activating Server Side Includes if you're not absolutely sure how to proceed. You should additionally remember to change the extension of all your files that are going to utilize SSI from .html to .shtml and make certain that the links on your website point to the appropriate files.