Server Side Includes (SSI) is a common server-side scripting language, which is used to incorporate the content of one file within another file. It's utilized mostly with online content and it can make a static HTML site far more dynamic. If you'd like to have a daily quote displayed on several pages on your website, as an example, you can make a text file and replace the quote in it daily. All pages where this file is incorporated are going to show the modified quote, so you will not have to update every one of them personally every single time. SSI may also be used to contain the output of basic functions as opposed to a static file - for instance, the client's IP address, a hit counter or even the present time and date. In this way, you can make your website look far more professional and more appealing to the visitors. Web pages that employ SSI get a .shtml extension.
Server Side Includes in Cloud Hosting
All Linux cloud packages we offer support Server Side Includes, so you're able to add dynamic components to your static site that you host on our cloud platform. By making an empty .htaccess file and typing in several lines of code within it, you're able to enable SSI for a domain or perhaps a subdomain. The file concerned must be within the exact folder where you are going to use SSI and you can also find the code within our Frequently Asked Questions section, which means you do not need any coding knowledge. The 24/7 tech support crew shall also be capable to assist you with activating Server Side Includes if you're not sure what to do. You should furthermore remember to modify the extension of all of the files that are going to use SSI from .html to .shtml and make certain that the links on your site point to the right files.
Server Side Includes in Semi-dedicated Hosting
It will not take you more than a moment to enable Server Side Includes when you have a semi-dedicated server plan from our company. When you choose to enable this function, you have to create an .htaccess file in the root folder for the domain name or subdomain in which you want SSI to be enabled. In that file, you need to copy some code, that you can get in the FAQ article that we have devoted to SSI. You can get the latter in the Help section of your Hosting Control Panel, so you don't require any prior experience with such things. The only 2 things you ought to deal with are renaming all of the web pages that shall utilize Server Side Includes from .html to .shtml and replacing all of the links in your website, so that they lead to the renamed files.