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 popular situation, the text from a single file is incorporated in another, giving a website the sense it is dynamic. For instance, if your site features ten pages, 5 of them can contain the content of any kind of file, for example horoscope.txt. In case you modify this text file, the modified content will come up on all five webpages, which shall enable you to revise your site faster and easier than if you had to update a part of all 5 web pages. Server Side Includes is in some cases used to incorporate the output of basic commands, scripts or functions as well - a hit counter that's displayed on the site, the present date and time or the customer's IP address. Any web page that uses SSI must have a particular extension - .shtml.
Server Side Includes in Shared Hosting
It will be easy to use Server Side Includes with all of the shared hosting
packages we offer and activate it separately for each and every domain name or subdomain inside your hosting account. You can do this with an .htaccess file, which should be placed into the folder in which you wish to use SSI and you have to type in a couple of lines of code in that file. You will find the code within our Knowledgebase section, so you're able to simply just copy it, as you don't need any programming expertise to benefit from all of the characteristics that our services come with. If you have by now built your website and you would like to use Server Side Includes afterwards, you have to ensure that you rename the files from .html to .shtml and fix the links on the site, otherwise SSI will not work.
Server Side Includes in Semi-dedicated Hosting
It won't take you more than a moment to activate Server Side Includes when you've got a semi-dedicated server
plan through us. When you choose to activate this function, you have to make an .htaccess file in the root folder for the domain name or subdomain where you need SSI to be enabled. In that file, you have to copy and paste some code, which you can see in the FAQ article that we have dedicated to SSI. You'll find the latter inside the Help section of your Hosting Control Panel, so you don't require any prior knowledge about these types of things. The only 2 things you should deal with are renaming all of the web pages that shall employ Server Side Includes from .html to .shtml and replacing all of the links in your website, to ensure that they point to the updated files.