Server Side Includes (SSI) is a basic server-side language, which enables you to include text from a given source in a web page. In the most popular scenario, the text from a file is integrated in another, giving a site the feeling that it is dynamic. For instance, in case your site features ten webpages, five of them can easily contain the content of any kind of file, for example horoscope.txt. Any time you alter this text file, the new content will come up on all five pages, which will enable you to bring up to date your website faster and easier than if you had to update a part of all five web pages. Server Side Includes is sometimes employed to incorporate the output of basic commands, scripts or functions as well - a hit counter that's shown on the website, the current date and time or the visitor's IP address. Every web page that makes use of SSI should have a special extension - .shtml.
Server Side Includes in Shared Web Hosting
All shared web hosting we offer you support Server Side Includes, so that you can include dynamic elements to any static site which you host on our cloud platform. By making a clear .htaccess file and entering a couple of lines of code inside, you can enable SSI for a domain or perhaps a subdomain. The file involved should be in the specific folder where you will make use of SSI and you can also discover the code in our Frequently Asked Questions section, and that means you don't need any kind of coding knowledge. Our 24/7 technical support staff will also be in a position to help you with enabling Server Side Includes if you aren't certain how to proceed. You should additionally make sure to modify the extension of all files which will implement SSI from .html to .shtml and ensure that the links on your site lead to the appropriate files.
Server Side Includes in Semi-dedicated Servers
If you get a semi-dedicated server package through our company, you will be able to enable Server Side Includes with a couple of clicks and for virtually any domain or subdomain that you pick. We have in-depth Help article on the subject that you could find in your Hepsia Hosting Control Panel. All it takes to activate Server Side Includes is to copy a number of lines from the article inside an .htaccess file that you need to set up in the main folder of the domain/subdomain and you will be good to go. You need to only ensure that all of the files implementing SSI possess the correct extension i.e. .shtml, not .html, and also that the links on your website are kept up to date and lead to the already renamed files.