Server Side Includes (SSI) is a basic server-side language, which lets you incorporate text from a specified source in a web page. In the most common scenario, the text from a single file is included in a different one, providing a website the sense that it is dynamic. For instance, if your site involves 10 webpages, five of them can easily have the content of any kind of file, like horoscope.txt. If you ever alter this text file, the new content will appear on all five pages, which will permit you to update your website much easier than if you had to update a component of all 5 web pages. Server Side Includes is occasionally utilized to include 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 visitor's IP address. Every webpage that utilizes SSI will need to have a unique extension - .shtml.

Server Side Includes in Shared Hosting

It will be possible to use Server Side Includes with all of the shared hosting packages we provide and activate it separately for each and every domain or subdomain in your hosting account. This can be accomplished with an .htaccess file, which should be placed into the folder where you want to use SSI and you have to type in a few lines of code in that file. You'll find the code within our Knowledgebase section, so you're able to simply just copy it, since you don't need any coding skills to benefit from all of the capabilities that our solutions feature. In case you have currently built your site and you want to use Server Side Includes later, you must make certain that you rename the files from .html to .shtml and fix the links on the website, or else SSI will not work.

Server Side Includes in Semi-dedicated Hosting

It will not take you more than a moment to enable Server Side Includes when you have a semi-dedicated server plan with us. When you choose to enable this function, you need to make an .htaccess file in the main folder for the domain or subdomain in which you want SSI to be enabled. In this file, you need to copy and paste some code, that you can get in the FAQ article we have devoted to SSI. You will find the latter inside the Help section of your Hosting Control Panel, so you do not need any previous knowledge of these types of things. The only two things you should deal with are renaming all of the pages that shall use Server Side Includes from .html to .shtml and changing every one of the links in your site, so they lead to the updated files.