Server Side Includes (SSI) is a simple server-side language, which lets you incorporate text from a specified source in a web page. In the most widespread situation, the text from a single file is included in a different one, giving a site the sense that it's dynamic. For instance, if your site comprises of 10 webpages, five of them can easily contain the content of any kind of file, for example horoscope.txt. Once you alter this text file, the modified content is going to appear on all of the five pages, which shall enable you to update your site much easier than if you had to change an element of all 5 web pages. Server Side Includes is at times employed to incorporate the output of basic commands, scripts or functions as well - a hit counter that is shown on the site, the current date and time or the visitor's IP address. Any web page that makes use of SSI should have a special extension - .shtml.

Server Side Includes in Shared Hosting

You will be able to use Server Side Includes with all shared hosting packages we offer and activate it independently for every single domain name or subdomain in your own hosting account. This can be achieved by utilizing an .htaccess file, which needs to be placed into the folder in which you wish to use SSI and you need to type in a few lines of code in that file. You can find the code within our Knowledgebase section, so you're able to simply copy and paste it, since you do not need any programming knowledge to take advantage of all features that our services come with. If you have already built your site and you would like to employ Server Side Includes afterwards, you have to make certain that you rename the files from .html to .shtml and fix the links on the website, or else SSI won't work.

Server Side Includes in Semi-dedicated Servers

If you get a semi-dedicated server package through our company, it will be easy to enable Server Side Includes with a few mouse clicks and for any domain name or subdomain of your choice. We have a thorough Help article on the subject that you can see in your Hepsia Hosting Control Panel. All you need to activate Server Side Includes is to copy a number of lines out of the article in an .htaccess file that you need to set up in the root folder of the domain/subdomain and you'll be set. You need to only make certain that all of the files utilizing SSI have the correct extension i.e. .shtml, not simply .html, and that the links on your site are kept up to date and lead to the by now updated files.