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 popular situation, the text from a single file is integrated in a second one, providing a site the feeling it is dynamic. For instance, if your site consists of ten web pages, 5 of them can easily include the content of some file, such as horoscope.txt. Any time you modify this text file, the new content will appear on all of the five webpages, which shall allow you to revise your site much easier than if you had to change a part of all five pages. Server Side Includes is occasionally utilized to incorporate the output of basic commands, scripts or functions as well - a hit counter that's displayed on the website, the present time and date or the customer's IP address. Every webpage that makes use of SSI must have a unique extension - .shtml.
Server Side Includes in Shared Web Hosting
Since our unique cloud hosting system offers Server Side Includes on a global level, it's possible to implement this function with all of the shared web hosting packages that we offer you and add in dynamic content to your websites with a couple of mouse clicks. SSI is activated for every specific domain or subdomain by inserting an .htaccess file in the website folder with a couple of lines of code. Of course, you do not have to turn into a developer for that because the required code can be copied from the Help post we have related to Server Side Includes. If you wish to employ this function for your website, you must rename your website files from .html to .shtml and you have to double-check if all links on your site lead to the current names.
Server Side Includes in Semi-dedicated Hosting
When you get a semi-dedicated server plan through us, you will be able to activate Server Side Includes with only a few mouse clicks and for any domain name or subdomain of your preference. You will find a thorough Help article about the subject you can see in your Hepsia Hosting Control Panel. All it takes to enable Server Side Includes is to copy a couple of lines from the article within an .htaccess file that you ought to set up in the root folder of the domain/subdomain and you will be good to go. You need to only make certain that all files utilizing SSI have the accurate extension i.e. .shtml, not just .html, and also that the links on your site are kept up to date and lead to the already renamed files.