Server Side Includes (SSI) is a well-known server-side scripting language, that is employed to add the content of one file inside a second file. It is employed typically with online content and it could make a static HTML website more dynamic. If you want to have a daily quote displayed on a variety of webpages of your website, as an example, you can make a text file and switch the quote in it each day. All the webpages in which this file is incorporated will display the updated quote, so you'll not need to modify them manually each time. SSI could also be used to contain the output of basic functions rather than a static file - for example, the client's IP address, a hit counter or perhaps the present time and date. This way, you may make your site appear far more professional and more appealing to the website visitors. Pages that implement SSI get a .shtml extension.
Server Side Includes in Shared Website Hosting
All of the shared website hosting we provide support Server Side Includes, so you're able to incorporate dynamic elements to your static website which you host on our cloud platform. By creating an empty .htaccess file and entering a few lines of code in it, you can activate SSI for a domain name or a subdomain. The file involved should be in the particular folder where you will use SSI and you'll see the code in our Frequently Asked Questions section, so you do not need any kind of coding knowledge. The 24/7 technical support staff will also be capable to assist you with enabling Server Side Includes if you aren't confident how to proceed. You should also make sure to modify the extension of all files which will use SSI from .html to .shtml and make certain that the links on your website point to the right files.