Server Side Includes (SSI) is a basic server-side language, which lets you incorporate text from a specified source inside a website. In the most typical scenario, the text from a single file is integrated in another, providing a website the sense that it is dynamic. For example, if your site is comprised of 10 web pages, 5 of them can easily have the content of any kind of file, like horoscope.txt. Once you alter this text file, the new content will come up on all five pages, which shall allow you to revise your site much easier than if you had to update an element of all five pages. Server Side Includes is occasionally used to include the output of simple commands, scripts or functions as well - a hit counter that's shown on the website, the present time and date or the visitor's IP address. Any web page that employs SSI should have a particular extension - .shtml.
Server Side Includes in Shared Web Hosting
It will be easy to use Server Side Includes with all shared web hosting packages that we provide and activate it separately for every domain or subdomain within your hosting account. This can be done by utilizing an .htaccess file, which needs to be positiioned in the folder where you wish to use SSI and you need to type in a few lines of code in that file. You'll find the code within our Knowledgebase section, so you can simply copy and paste it, since you do not need any programming skills to take advantage of all capabilities that our solutions come with. If you have by now built your site and you wish to use Server Side Includes afterwards, you need to ensure that you rename the files from .html to .shtml and correct the links on the website, or else SSI will not work.