Server Side Includes (SSI) is a simple server-side language, which lets you incorporate text from a specified source within a website. In the most typical scenario, the text from one file is integrated in a second one, providing a website the feeling it is dynamic. For instance, if your site involves ten webpages, five of them can easily include the content of any kind of file, like horoscope.txt. Any time you modify this text file, the modified content is going to appear on all of the five web pages, which shall allow you to update your website faster and easier than if you had to change a part of all 5 pages. Server Side Includes is sometimes utilized to include the output of simple commands, scripts or functions as well - a hit counter that's displayed on the website, the current time and date or the customer's IP address. Every webpage that makes use of SSI should have a special extension - .shtml.

Server Side Includes in Shared Hosting

It will be easy to use Server Side Includes with all shared hosting packages that we offer you and enable it separately for each domain or subdomain in your own hosting account. This can be accomplished when using .htaccess file, which should be positiioned in the folder where you want to use SSI and you need to type in a few lines of code in that file. You can see the code inside our Knowledgebase section, so you're able to just copy it, as you don't need any coding capabilities to take advantage of all of the functions that our solutions contain. In case you have by now built your site and you want to employ Server Side Includes afterwards, you need to ensure that you rename the files from .html to .shtml and correct the links on the site, or else SSI won't work.

Server Side Includes in Semi-dedicated Hosting

It won't take you more than a moment to activate Server Side Includes when you have a semi-dedicated server plan from our company. When you decide to activate this feature, you need to 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 must copy some code, that you can see in the FAQ article that we have devoted to SSI. You will find the latter inside the Help section of your Hosting Control Panel, so you don't require any prior knowledge about this kind of matters. The only two things you should deal with are renaming all of web pages that will use Server Side Includes from .html to .shtml and replacing all the links in your site, in order that they lead to the renamed files.