Server Side Includes (SSI) is a basic server-side language, which lets you include text from a specific source inside a web page. In the most popular scenario, the text from a single file is incorporated in a different one, giving a website the sense that it is dynamic. For example, if your website is made of 10 webpages, 5 of them can have the content of some file, for example horoscope.txt. If you alter this text file, the updated content will come up on all five web pages, which will let you bring up to date your website faster and easier than if you had to update a part of all 5 pages. Server Side Includes is sometimes employed to incorporate the output of basic commands, scripts or functions as well - a hit counter that's displayed on the website, the present date and time or the visitor's IP address. Any web page that makes use of SSI should have a unique extension - .shtml.

Server Side Includes in Website Hosting

You'll be able to use Server Side Includes with all website hosting packages we provide and enable it individually for each and every domain name or subdomain inside of your hosting account. This can be achieved with an .htaccess file, which should be put into the folder where you want to use SSI and you have to enter a few lines of code in that file. You can get the code inside our Knowledgebase section, so you're able to just copy it, as you do not need any programming knowledge to take advantage of all characteristics that our solutions incorporate. If you have by now built your site and you would like to use Server Side Includes later on, you must make certain that you rename the files from .html to .shtml and fix the links on the site, otherwise SSI won't work.

Server Side Includes in Semi-dedicated Hosting

When you get a semi-dedicated server plan with us, you will be able to enable Server Side Includes with a couple of mouse clicks and for any domain or subdomain of your preference. We've got a thorough Help article about the subject that you could find in your Hepsia Hosting Control Panel. All you need to enable Server Side Includes will be to copy a handful of lines out of the article within an .htaccess file that you need to create in the root folder of the domain/subdomain and you'll be ready. You should only ensure that all files using SSI possess the correct extension i.e. .shtml, not just .html, as well as that the links on your site are kept up to date and point to the already renamed files.