Server Side Includes (SSI) is a well-known server-side scripting language, which is often used to include the content of one file inside another file. It's employed mainly with online content and it can help make a static HTML site far more dynamic. If you'd like to have a daily quote shown on numerous webpages on your website, for instance, you can create a text file and switch the quote inside it every day. All pages where this file is integrated will display the updated quote, so you'll not have to update all of them manually every single time. SSI can also be used to include the output of basic functions instead of a static file - for example, the client's IP address, a hit counter or perhaps the current time and date. In this way, you can make your internet site appear far more professional and much more attractive to the site visitors. Pages that employ SSI have a .shtml extension.
Server Side Includes in Shared Web Hosting
It will be easy to use Server Side Includes with all of the shared web hosting packages that we offer and activate it separately for every domain or subdomain inside of your hosting account. This can be done when using an .htaccess file, which should be positiioned in the folder in which you wish to use SSI and you need to put a few lines of code in that file. You will find the code in our Knowledgebase section, so you're able to simply just copy it, since you don't need any programming knowledge to take advantage of all features that our services incorporate. In case you have currently built your site and you want to employ Server Side Includes later, you need to ensure that you rename the files from .html to .shtml and correct the links on the site, otherwise SSI won't 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 us. When you decide to enable this feature, you must make an .htaccess file in the main folder for the domain name or subdomain in which you would like SSI to be active. In that file, you must copy and paste some code, that you can get in the FAQ article we have devoted to SSI. You'll find the latter in the Help section of your Hosting Control Panel, so you do not need any previous knowledge about this kind of things. The only 2 things you must deal with are renaming all of the webpages that shall use Server Side Includes from .html to .shtml and updating all of the links in your site, to ensure that they lead to the updated files.