Server Side Includes (SSI) is a basic server-side language, which enables you to include text from a specified source in a website. In the most popular case, the text from a file is integrated in another, providing a site the sense that it is dynamic. As an example, if your site involves ten webpages, 5 of them can have the content of any kind of file, such as horoscope.txt. In case you modify this text file, the updated content will come up on all five pages, which shall permit you to bring up to date your site much easier than if you had to update a part of all 5 web pages. Server Side Includes is at times employed to contain 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 visitor's IP address. Every web page that makes use of SSI should have a special extension - .shtml.
Server Side Includes in Hosting
Since our unique cloud hosting platform features Server Side Includes on a global level, you will be able to use this feature with the hosting packages that we offer you and incorporate dynamic content to your websites with a couple of clicks. SSI is enabled for every specific domain or subdomain by placing an .htaccess file in the site folder with only a few lines of code. Naturally, there is no need to become a coder for that as the needed code can be copied from the Help article we have related to Server Side Includes. If you wish to use this function for your site, you'll want to rename your website files from .html to .shtml plus you've got to double-check if all links on your website lead to the current names.
Server Side Includes in Semi-dedicated Servers
If you get a semi-dedicated server plan with our company, it is possible to enable Server Side Includes with just a few clicks and for every domain or subdomain that you choose. We've got in-depth Help article on the subject you could see in your Hepsia Hosting Control Panel. All you need to activate Server Side Includes will be to copy a handful of lines from the article within an .htaccess file that you need to set up in the root folder of the domain/subdomain and you will be ready. You should simply make sure that all files implementing SSI possess the right extension i.e. .shtml, not just .html, and that the links on your site are modified and lead to the by now renamed files.