Server Side Includes (SSI) is a widely used server-side scripting language, employed to incorporate the content of one file within a second file. It is utilized mainly with online content and it will help to make a static HTML site much more dynamic. If you'd like to have a daily quote shown on a few web pages on your site, as an example, you can make a text file and switch the quote within it every day. All the web pages in which this file is included are going to show the updated quote, so you'll not need to edit all of them manually each time. SSI could also be used to include the output of simple functions instead of a static file - for instance, the viewer's IP address, a hit counter or maybe the current date and time. This way, you can make your website seem much more professional and more appealing to the site visitors. Pages that implement SSI get a .shtml extension.

Server Side Includes in Shared Hosting

You'll be able to use Server Side Includes with all of the shared hosting packages that we offer and activate it separately for each domain name or subdomain inside of your hosting account. This can be done by using an .htaccess file, which needs to be put into the folder in which you wish to use SSI and you have to type in a couple of lines of code in that file. You can find the code in our Knowledgebase area, so you're able to simply copy it, as you don't need any coding expertise to benefit from all characteristics that our services include. In case you have currently built your website and you would like to employ Server Side Includes later on, you need to make sure that you rename the files from .html to .shtml and fix the links on the website, otherwise SSI will not work.

Server Side Includes in Semi-dedicated Servers

It won't take you more than a minute to activate Server Side Includes when you have a semi-dedicated server package through our company. When you decide to activate this function, you must set up an .htaccess file in the root folder for the domain or subdomain where you need SSI to be active. In this file, you need to copy and paste some code, which you can get in the FAQ article that we have devoted to SSI. You'll find the latter in the Help area of your Hosting Control Panel, so you do not need any previous knowledge of this kind of things. The only 2 things you should deal with are renaming all of pages that will utilize Server Side Includes from .html to .shtml and updating each of the links on your site, to make sure they lead to the updated files.