Server Side Includes (SSI) is a simple server-side language, which allows you to incorporate text from a given source inside a website. In the most common case, the text from one file is included in a second one, giving a site the feeling that it is dynamic. For example, in case your website is made of ten pages, 5 of them can include the content of some file, such as horoscope.txt. Any time you change this text file, the modified content will appear on all five pages, which shall permit you to revise your website faster and easier than if you had to change a component of all 5 pages. Server Side Includes is occasionally used to incorporate the output of basic commands, scripts or functions as well - a hit counter that is displayed on the website, the present time and date or the customer's IP address. Any webpage that employs SSI will need to have a special extension - .shtml.
Server Side Includes in Shared Web Hosting
As our custom cloud hosting system has Server Side Includes on a global level, it's possible to utilize this feature with any of the shared web hosting plans that we have and add in dynamic content to your sites with just a few mouse clicks. SSI can be enabled for every individual domain or subdomain by inserting an .htaccess file in the website folder with just a few lines of code. Of course, there is no need to be a coder for that as the required code can be copied from the Help article we have related to Server Side Includes. If you wish to utilize this feature for your website, it's important to rename your site files from .html to .shtml plus you've got to double-check if all of the links on your website point to the updated names.