Server Side Includes (SSI) is a widely used server-side scripting language, which is used to include the content of one file inside of another file. It is used typically with online content and it can help to make a static HTML site a lot more dynamic. If you'd like to have a daily quote shown on a number of webpages on your website, as an example, you can create a text file and switch the quote in it each day. All webpages where this file is incorporated are going to show the updated quote, so you will not need to modify them by hand every time. SSI may also be used to contain the output of basic functions instead of a static file - for instance, the viewer's IP address, a hit counter or the current date and time. In this way, you may make your website appear much more professional and a lot more appealing to the visitors. Web pages that use SSI have a .shtml extension.
Server Side Includes in Website Hosting
All of the Linux website hosting we offer support Server Side Includes, so you're able to bring in dynamic elements to any static website which you host on our cloud system. By creating an empty .htaccess file and adding several lines of code within it, you can enable SSI for a domain name or perhaps a subdomain. The file in question must be inside the exact folder where you will use SSI and you'll see the code inside our Frequently Asked Questions section, so you don't need any coding practical experience. Our 24/7 tech support team will also be capable to assist you with activating Server Side Includes if you're not sure how to proceed. You should also remember to change the extension of all files that are going to utilize 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
It shall not take you over a minute to enable Server Side Includes when you have a semi-dedicated server package through us. If you decide to activate this function, you need to make an .htaccess file in the main folder for the domain or subdomain where you want SSI to be enabled. In that file, you have to copy some code, that you can find in the FAQ article we have devoted to SSI. You will find the latter within the Help section of your Hosting Control Panel, so you don't require any previous knowledge of this kind of things. The only two things you must take care of are renaming all of pages that will employ Server Side Includes from .html to .shtml and bringing up-to-date all of the links on your website, to make sure they point to the renamed files.