Server Side Includes (SSI) is a basic server-side language, which enables you to incorporate text from a specified source inside a web page. In the most widespread scenario, the text from a file is included in a second one, giving a website the sense that it's dynamic. As an example, in case your website comprises of 10 web pages, 5 of them can include the content of any kind of file, like horoscope.txt. Once you change this text file, the modified content will appear on all five web pages, which will permit you to revise your site faster and easier than if you had to update part of all five pages. Server Side Includes is at times used to incorporate the output of simple 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 employs SSI will need to have a special extension - .shtml.
Server Side Includes in Shared Hosting
You will be able to use Server Side Includes with all shared hosting plans we offer and activate it independently for every single domain name or subdomain in your hosting account. This can be accomplished by utilizing an .htaccess file, which should be placed into the folder in which you wish to use SSI and you need to put a few lines of code in that file. You can see the code within our Knowledgebase area, so you're able to simply just copy it, as you don't need any coding capabilities to benefit from all of the features that our solutions contain. If you have currently built your site and you wish to employ Server Side Includes afterwards, you will 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.
Server Side Includes in Semi-dedicated Servers
When you get a semi-dedicated server plan with our company, you'll be able to activate Server Side Includes with a couple mouse clicks and for virtually any domain name or subdomain of your preference. We've got in-depth Help article on the subject that you could find in your Hepsia Hosting Control Panel. All it takes to enable Server Side Includes is to copy a couple of lines out of the article within an .htaccess file that you ought to make in the main folder of the domain/subdomain and you will be set. You should just make certain that all files making use of SSI possess the appropriate extension i.e. .shtml, not simply .html, and that the links on your site are updated and point to the already updated files.