Server Side Includes (SSI) is a simple server-side language, which lets you incorporate text from a given source inside a website. In the most typical situation, the text from a single file is incorporated in a different one, giving a website the feeling that it is dynamic. For instance, if your site comprises of 10 pages, 5 of them can easily include the content of any kind of file, for example horoscope.txt. If you alter this text file, the new content is going to appear on all five webpages, which shall help you revise your site faster and easier than if you had to change a component of all five pages. Server Side Includes is occasionally utilized to contain the output of basic commands, scripts or functions as well - a hit counter that is displayed on the site, the present date and time or the customer's IP address. Any web page that works by using SSI should have a particular extension - .shtml.

Server Side Includes in Website Hosting

It is possible to use Server Side Includes with all website hosting packages that we offer you and enable it individually for every single domain or subdomain in your hosting account. This can be accomplished when using an .htaccess file, which needs to be placed into the folder where you want to use SSI and you have to put a few lines of code in that file. You will find the code within our Knowledgebase area, so you can just copy it, as you don't need any coding knowledge to benefit from all features that our solutions include. If you have already built your website and you want to use Server Side Includes later, you have 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 will not take you more than a moment to enable Server Side Includes in case you have a semi-dedicated server package with our company. When you decide to enable this function, you need to create an .htaccess file in the root folder for the domain name or subdomain in which you would like SSI to be enabled. In this file, you have to copy some code, which you'll see in the FAQ article that we have devoted to SSI. You will find the latter in the Help area of your Hosting Control Panel, so you do not need any prior knowledge about this kind of matters. The only 2 things you need to take care of are renaming all of webpages that will employ Server Side Includes from .html to .shtml and replacing all the links on your site, to ensure that they point to the renamed files.