Server Side Includes (SSI) is a widely used server-side scripting language, which is used to incorporate the content of one file inside a second file. It's utilized predominantly with online content and it could make a static HTML site much more dynamic. If you need to have a daily quote shown on a number of pages of your site, for instance, you can create a text file and switch the quote in it daily. All web pages in which this file is incorporated will show the modified quote, so you will not need to change every one of them personally every time. SSI could also be used to incorporate the output of basic functions as opposed to a static file - for example, the viewer's IP address, a hit counter or the present date and time. This way, you may make your website appear far more professional and much more appealing to the visitors. Pages that use SSI get a .shtml extension.
Server Side Includes in Shared Hosting
All of the shared hosting plans
we offer support Server Side Includes, so you can incorporate dynamic elements to your static site which you host on our cloud system. By making a blank .htaccess file and typing in a couple of lines of code inside it, you are able to activate SSI for a domain name or a subdomain. The file involved should be inside the exact folder where you are going to use SSI and you can also discover the code within our Frequently Asked Questions section, which means you don't need any coding experience. Our 24/7 tech support staff will also be capable to help you with activating Server Side Includes if you're not absolutely sure what to do. You should furthermore remember to change the extension of all your files which will make use of SSI from .html to .shtml and make sure that the links on your website lead to the correct files.
Server Side Includes in Semi-dedicated Servers
It won't take you over a moment to enable Server Side Includes when you've got a semi-dedicated server
plan with us. When you choose to activate this function, you need to create an .htaccess file in the root folder for the domain or subdomain where you want SSI to be active. In that file, you must copy and paste some code, which you'll find in the FAQ article that we have devoted to SSI. You will find the latter inside the Help area of your Hosting Control Panel, so you do not require any previous experience with this kind of things. The only two things you ought to take care of are renaming all web pages that shall use Server Side Includes from .html to .shtml and editing every one of the links on your site, in order that they point to the renamed files.