Server Side Includes (SSI) is a widely used server-side scripting language, that is employed to include the content of one file inside of a second file. It is utilized typically with online content and it could help make a static HTML site more dynamic. If you want to have a daily quote displayed on a variety of pages on your website, for example, you can create a text file and switch the quote in it daily. All webpages where this file is incorporated will display the updated quote, so you'll not have to alter all of them personally every single time. SSI could also be used to include the output of simple functions as opposed to a static file - for example, the viewer's IP address, a hit counter or the current time and date. In this manner, you may make your site look much more professional and much more attractive to the visitors. Web pages that implement SSI use a .shtml extension.
Server Side Includes in Web Hosting
All Linux web hosting we provide support Server Side Includes, so that you can include dynamic elements to your static site that you host on our cloud platform. By making an empty .htaccess file and entering several lines of code inside, you can enable SSI for a domain or perhaps a subdomain. The file involved should be within the specific folder where you are going to use SSI and you'll find the code within our Frequently Asked Questions section, which means you don't need any kind of coding knowledge. Our 24/7 tech support staff shall also be in a position to assist you with enabling Server Side Includes if you aren't sure how to proceed. You should additionally make sure to modify the extension of all your files which will use SSI from .html to .shtml and make sure that the links on your website point to the correct files.
Server Side Includes in Semi-dedicated Hosting
If you get a semi-dedicated server plan through us, you'll be able to enable Server Side Includes with a few clicks and for any domain name or subdomain of your choice. We have an in depth Help article about the subject that you can find in your Hepsia Hosting Control Panel. All it takes to activate Server Side Includes is to copy a couple of lines out of the article in an .htaccess file that you should make in the main folder of the domain name/subdomain and you will be set. You need to just make certain that all of the files utilizing SSI possess the right extension i.e. .shtml, not .html, as well as that the links on your website are updated and lead to the already updated files.