Server Side Includes (SSI) is a common server-side scripting language, used to add the content of one file inside another file. It's utilized mostly with online content and it could help make a static HTML site a lot more dynamic. If you wish to have a daily quote displayed on multiple web pages of your site, for instance, you can create a text file and switch the quote inside it each day. All of the web pages in which this file is integrated will show the modified quote, so you will not have to edit them personally every time. SSI could also be used to incorporate the output of simple functions instead of a static file - for instance, the viewer's IP address, a hit counter or maybe the present date and time. In this way, you may make your internet site appear more professional and much more attractive to the site visitors. Web pages that employ SSI use a .shtml extension.
Server Side Includes in Web Hosting
It will be easy to use Server Side Includes with all of the web hosting
packages we offer and enable it individually for each and every domain or subdomain inside your hosting account. This can be achieved when using .htaccess file, which should be placed in the folder where you want to use SSI and you have to type in a couple of lines of code in that file. You will find the code within our Knowledgebase area, so you're able to just copy and paste it, as you don't need any programming skills to take advantage of all of the characteristics that our services contain. In case you have already built your site and you wish to use Server Side Includes afterwards, you need to make certain that you rename the files from .html to .shtml and correct the links on the site, or else SSI is not going to work.
Server Side Includes in Semi-dedicated Servers
It won't take you more than a moment to activate Server Side Includes when you have a semi-dedicated server
plan from our company. When you choose to enable this feature, you have to make an .htaccess file in the root folder for the domain or subdomain where you want SSI to be active. In that file, you have to copy and paste some code, which you'll find in the FAQ article that we have devoted to SSI. You can get the latter within the Help section of your Hosting Control Panel, so you do not need any previous knowledge about such matters. The only 2 things you should deal with are renaming all of webpages that will employ Server Side Includes from .html to .shtml and replacing all of the links on your website, in order that they point to the renamed files.