Server Side Includes (SSI) is a popular server-side scripting language, which is often used to add the content of one file within a second file. It's employed predominantly with online content and it could make a static HTML website far more dynamic. If you wish to have a daily quote displayed on numerous pages on your website, for instance, you can create a text file and switch the quote within it daily. All of the pages in which this file is incorporated are going to show the modified quote, so you will not need to modify every one of them personally every single time. SSI can also be used to incorporate the output of simple functions rather than a static file - for example, the viewer's IP address, a hit counter or the current date and time. This way, you may make your website appear more professional and more attractive to the visitors. Pages that use SSI use a .shtml extension.
Server Side Includes in Shared Hosting
All shared packages that we provide support Server Side Includes, so you can include dynamic components to your static site that you host on our cloud platform. By making a clear .htaccess file and adding a few lines of code inside it, you'll be able to activate SSI for a domain or perhaps a subdomain. The file in question should be inside the exact folder where you are going to use SSI and you will find the code inside our Frequently Asked Questions section, and that means you don't need any coding knowledge. The 24/7 tech support crew shall also be capable to assist you with enabling Server Side Includes if you're not certain how to proceed. You should additionally remember to change the extension of all of the files that are going to make use of SSI from .html to .shtml and make sure that the links on your website point to the right files.
Server Side Includes in Semi-dedicated Hosting
It will not take you more than a minute to activate Server Side Includes when you've got a semi-dedicated server package through our company. When you choose to activate this function, you have to create an .htaccess file in the root folder for the domain name or subdomain where you need SSI to be enabled. In this file, you need to copy and paste some code, which you can get in the FAQ article we have devoted to SSI. You can get the latter in the Help area of your Hosting Control Panel, so you don't need any previous experience with such matters. The only two things you should take care of are renaming all web pages that will use Server Side Includes from .html to .shtml and changing all the links on your website, to make sure they point to the updated files.