Server Side Includes (SSI) is a basic server-side language, which lets you incorporate text from a given source in a website. In the most common situation, the text from a single file is included in another, giving a site the feeling that it is dynamic. As an example, if your website has 10 pages, five of them can easily include the content of some file, such as horoscope.txt. If you change this text file, the updated content will come up on all of the five web pages, which will enable you to revise your site faster and easier than if you had to modify an element of all 5 web 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 visitor's IP address. Every web page that uses SSI should have a particular extension - .shtml.
Server Side Includes in Website Hosting
Since our custom cloud hosting platform offers Server Side Includes on a global level, it is possible to work with this function with the website hosting plans that we feature and add in dynamic content to your sites with only a few mouse clicks. SSI is activated for each individual domain name or subdomain by putting an .htaccess file in the site folder with a few lines of code. Of course, you do not have to be a coder for that since the required code can be copied from the Help article that we have related to Server Side Includes. If you want to use this feature for your site, you'll want to rename your website files from .html to .shtml and you will have to double-check if all of the links on your site point to the modified names.