Server Side Includes
Find out precisely what Server Side Includes is and also how it can be used to further improve your web sites.
Server Side Includes (SSI) is a basic server-side language, which lets you incorporate text from a specific source within a web page. In the most widespread case, the text from one file is included in a different one, giving a website the sense that it is dynamic. For instance, if your website is made of ten pages, five of them can include the content of some file, for example horoscope.txt. If you ever alter this text file, the updated content is going to appear on all of the five web pages, which shall allow you to revise your website faster and easier than if you had to modify part of all 5 web pages. Server Side Includes is in some cases employed to incorporate the output of basic commands, scripts or functions as well - a hit counter that is shown on the website, the current time and date or the customer's IP address. Any webpage that makes use of SSI should have a unique extension - .shtml.
Server Side Includes in Shared Hosting
It is possible to use Server Side Includes with all shared hosting
plans we offer and activate it separately for every domain name or subdomain within your hosting account. This can be done when using an .htaccess file, which should be placed in the folder in which you wish to use SSI and you have to put a couple of lines of code in that file. You will find the code within our Knowledgebase section, so you can simply just copy and paste it, since you do not need any coding expertise to benefit from all features that our services incorporate. In case you have already built your website and you would like to employ Server Side Includes later on, you need to ensure that you rename the files from .html to .shtml and fix the links on the site, or else SSI is not going to work.
Server Side Includes in Semi-dedicated Servers
It shall not take you over a moment to enable Server Side Includes if you have a semi-dedicated server
package from us. When you choose to activate this feature, you have to make an .htaccess file in the main folder for the domain name or subdomain in which you want SSI to be enabled. In that file, you must copy some code, which you'll get in the FAQ article that we have devoted to SSI. You can find the latter within the Help area of your Hosting Control Panel, so you do not require any prior experience with this kind of matters. The only two things you need to take care of are renaming all web pages that shall use Server Side Includes from .html to .shtml and changing every one of the links on your website, in order that they lead to the updated files.