Server Side Includes (SSI) is a basic server-side language, which lets you incorporate text from a given source inside a website. In the most common scenario, the text from a file is incorporated in another, providing a site the sense that it's dynamic. As an example, in case your website is made of ten web pages, 5 of them can easily have the content of any kind of file, for example horoscope.txt. Any time you change this text file, the updated content will appear on all five webpages, which shall permit you to update your website much easier than if you had to change an element of all 5 pages. Server Side Includes is sometimes employed to include the output of basic commands, scripts or functions as well - a hit counter that is shown on the website, the current date and time or the visitor's IP address. Every webpage that employs SSI will need to have a unique extension - .shtml.
Server Side Includes in Cloud Hosting
You will be able to use Server Side Includes with all cloud hosting
plans that we offer you and activate it independently for every domain or subdomain in your hosting account. This can be achieved when using an .htaccess file, which should be positiioned in the folder in which you want to use SSI and you need to put a couple of lines of code in that file. You can get the code in our Knowledgebase area, so you're able to just copy it, as you do not need any programming capabilities to benefit from all of the features that our solutions feature. In case you have by now built your website and you want to employ Server Side Includes later on, you must ensure 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
When you get a semi-dedicated server
plan through us, you'll be able to enable Server Side Includes with a few clicks and for any domain or subdomain of your choice. You will find in-depth Help article on the subject that you can see 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 in an .htaccess file that you ought to create in the main folder of the domain/subdomain and you will be ready to go. You should only make certain that all of the files making use of SSI possess the accurate extension i.e. .shtml, not just .html, and also that the links on your website are updated and point to the already updated files.