Server Side Includes (SSI) is a well-known server-side scripting language, that is employed to incorporate the content of one file within a second file. It is utilized typically with online content and it could help make a static HTML site more dynamic. If you need to have a daily quote shown on multiple pages on your website, for example, you can make a text file and switch the quote in it every day. All web pages where this file is included will show the updated quote, so you will not have to edit every one of them manually every single time. SSI may also be used to include the output of simple functions as opposed to a static file - for instance, the client's IP address, a hit counter or even the present date and time. In this way, you may make your website look a lot more professional and a lot more attractive to the visitors. Web pages that use SSI get a .shtml extension.
Server Side Includes in Shared Web Hosting
All shared web hosting services
that we offer support Server Side Includes, so you're able to include dynamic components to your static site that you host on our cloud platform. By creating a blank .htaccess file and adding a couple of lines of code inside it, you'll be able to enable SSI for a domain name or perhaps a subdomain. The file in question should be within the exact folder where you will make use of SSI you'll be able to see the code in our Frequently Asked Questions section, so you do not need any kind of coding experience. The 24/7 tech support crew will also be in a position to help you with enabling Server Side Includes if you are not certain what to do. You should also remember to change the extension of all files that are going to make use of SSI from .html to .shtml and ensure that the links on your site lead to the appropriate files.
Server Side Includes in Semi-dedicated Hosting
When you get a semi-dedicated server
plan from us, you'll be able to activate Server Side Includes with a couple mouse clicks and for every domain name or subdomain that you pick. We've got a thorough Help article on the subject you could see in your Hepsia Hosting Control Panel. All it takes to activate Server Side Includes will be to copy a number of lines from the article in an .htaccess file that you should set up in the root folder of the domain name/subdomain and you will be all set. You should only be sure that all of the files implementing SSI have the correct extension i.e. .shtml, not just .html, and also that the links on your website are modified and point to the already updated files.