Server Side Includes (SSI) is a common server-side scripting language, which is used to incorporate the content of one file inside a second file. It is utilized mostly with online content and it will help make a static HTML website a lot more dynamic. If you'd like to have a daily quote displayed on several pages of your site, as an example, you can make a text file and replace the quote in it every single day. All of the pages where this file is incorporated will display the modified quote, so you'll not have to change all of them manually every time. SSI can also be used to incorporate the output of simple functions instead of a static file - for instance, the viewer's IP address, a hit counter or the current date and time. In this manner, you may make your site seem far more professional and much more attractive to the visitors. Pages that employ SSI use a .shtml extension.
Server Side Includes in Hosting
All the Linux hosting that we provide support Server Side Includes, so you can include dynamic elements to your static website which you host on our cloud system. By creating a clear .htaccess file and typing in a few lines of code inside it, you're able to activate SSI for a domain name or perhaps a subdomain. The file in question needs to be inside the specific folder where you will make use of SSI and you can find the code in our Frequently Asked Questions section, which means you don't need any kind of coding knowledge. The 24/7 technical support team shall also be capable to help you with enabling Server Side Includes if you are not confident how to proceed. You should furthermore remember to modify the extension of all of the files that are going to implement SSI from .html to .shtml and ensure that the links on your website lead to the correct files.