Server Side Includes (SSI) is a common server-side scripting language, which can be used to add the content of one file within a second file. It's employed principally with online content and it will help make a static HTML site more dynamic. If you wish to have a daily quote displayed on numerous webpages of your website, for example, you can create a text file and replace the quote within it each day. All webpages in which this file is incorporated are going to display the updated quote, so you'll not have to update them by hand each time. SSI may also be used to contain the output of simple functions as opposed to a static file - for example, the visitor's IP address, a hit counter or perhaps the present time and date. This way, you can make your site appear a lot more professional and more appealing to the site visitors. Web pages that employ SSI use a .shtml extension.
Server Side Includes in Shared Website Hosting
It will be possible to use Server Side Includes with all shared website hosting packages that we offer you and enable it separately for each and every domain or subdomain inside of your hosting account. You can do this with 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 can find the code in our Knowledgebase section, so you're able to simply just copy and paste it, as you don't need any programming skills to benefit from all characteristics that our solutions have. In case you have already built your site and you want to employ Server Side Includes later on, you will need to make sure that you rename the files from .html to .shtml and correct the links on the website, or else SSI won't work.
Server Side Includes in Semi-dedicated Servers
It will not take you more than a minute to activate Server Side Includes if you have a semi-dedicated server plan through us. When you choose to enable this feature, you will need to set up an .htaccess file in the root folder for the domain name or subdomain where you would like SSI to be enabled. In that file, you have to copy some code, which you'll get in the FAQ article we have dedicated to SSI. You can find the latter in the Help section of your Hosting Control Panel, so you do not need any previous experience with such things. The only 2 things you must deal with are renaming all of the pages that will use Server Side Includes from .html to .shtml and changing all of the links in your website, so they point to the renamed files.