Server Side Includes (SSI) is a widely used server-side scripting language, which is often used to add the content of one file inside another file. It is utilized mainly with online content and it could make a static HTML website more dynamic. If you'd like to have a daily quote shown on multiple pages of your site, for example, you can create a text file and replace the quote within it every day. All pages in which this file is incorporated will display the updated quote, so you'll not need to change all of them by hand each time. SSI can also be used to contain the output of basic functions instead of a static file - for instance, the client's IP address, a hit counter or the current date and time. By doing this, you may make your internet site seem much more professional and more appealing to the website visitors. Web pages that implement SSI use a .shtml extension.
Server Side Includes in Cloud Hosting
You will be able to use Server Side Includes with all cloud hosting packages that we offer and enable it independently for every domain or subdomain inside of your hosting account. This can be accomplished by using an .htaccess file, which should be placed in the folder in which you wish to use SSI and you need to type in a few lines of code in that file. You will find the code inside our Knowledgebase area, so you're able to just copy it, since you don't need any programming expertise to benefit from all of the capabilities that our solutions come with. In case you have by now built your site and you want to use Server Side Includes afterwards, you will need to make sure that you rename the files from .html to .shtml and fix the links on the website, otherwise SSI is not going to work.
Server Side Includes in Semi-dedicated Servers
It shall not take you more than a moment to enable Server Side Includes if you have a semi-dedicated server plan with us. When you decide to enable this feature, you will need to set up an .htaccess file in the main folder for the domain or subdomain in which you need SSI to be enabled. In that file, you have to copy some code, that you can get in the FAQ article that we have devoted to SSI. You can get the latter inside the Help area of your Hosting Control Panel, so you do not need any prior knowledge about such matters. The only two things you must deal with are renaming all of the web pages that will utilize Server Side Includes from .html to .shtml and changing each of the links on your website, so that they point to the updated files.