Server Side Includes (SSI) is a widely used server-side scripting language, that is employed to add the content of one file inside a second file. It is employed principally with online content and it could help to make a static HTML website much more dynamic. If you want to have a daily quote shown on a number of webpages on your website, for example, you can make a text file and replace the quote in it every day. All the pages where this file is integrated are going to show the updated quote, so you'll not have to edit all of them manually every single time. SSI can also be used to contain the output of basic functions instead of a static file - for example, the client's IP address, a hit counter or perhaps the current date and time. By doing this, you can make your website appear a lot more professional and a lot more appealing to the visitors. Web pages that use SSI have a .shtml extension.
Server Side Includes in Shared Hosting
All of the Linux shared hosting packages that we provide support Server Side Includes, so you're able to include dynamic components to any static site which you host on our cloud system. By making a clear .htaccess file and adding a few lines of code inside, you are able to enable SSI for a domain or a subdomain. The file concerned must be within the exact folder where you will make use of SSI and you can also find the code inside our Frequently Asked Questions section, and that means you do not need any kind of coding knowledge. The 24/7 tech support team will also be capable to help you with activating Server Side Includes if you are not certain what to do. You should also remember to change the extension of all your files that will utilize SSI from .html to .shtml and make sure that the links on your site point to the correct files.
Server Side Includes in Semi-dedicated Hosting
It will not take you over a moment to activate Server Side Includes when you've got a semi-dedicated server plan from us. When you choose to activate this function, you need to set up an .htaccess file in the main folder for the domain name or subdomain where you want SSI to be active. In this file, you must copy and paste some code, that you can see in the FAQ article that we have dedicated to SSI. You'll find the latter within the Help area of your Hosting Control Panel, so you don't require any prior experience with such things. The only two things you must take care of are renaming all of the webpages that will employ Server Side Includes from .html to .shtml and updating each of the links in your site, to make sure they lead to the renamed files.