Server Side Includes (SSI) is a basic server-side language, which lets you include text from a given source within a website. In the most popular situation, the text from a file is integrated in a second one, giving a site the feeling it is dynamic. As an example, if your site consists of 10 webpages, 5 of them can easily include the content of any kind of file, like horoscope.txt. If you alter this text file, the updated content will come up on all of the five pages, which will enable you to revise your site much easier than if you had to update a part of all five pages. Server Side Includes is sometimes used to include the output of simple commands, scripts or functions as well - a hit counter that's shown on the website, the current date and time or the visitor's IP address. Any webpage that employs SSI will need to have a unique extension - .shtml.
Server Side Includes in Shared Hosting
As our custom made cloud hosting platform supports Server Side Includes on a global level, it will be easy make use of this function with any of the shared hosting
packages that we offer and incorporate dynamic content to your websites with only a few clicks. SSI is enabled for each particular domain name or subdomain by placing an .htaccess file in the website folder with only a few lines of code. Of course, you do not have to be a coder for that because the needed code can be copied from the Help article that we have regarding Server Side Includes. If you wish to utilize this feature for your site, you'll have to rename your site files from .html to .shtml plus you've got to double-check if all links on your website point to the current names.
Server Side Includes in Semi-dedicated Servers
It shall not take you more than a minute to enable Server Side Includes in case you have a semi-dedicated server
plan through our company. When you choose to activate this function, you have to create an .htaccess file in the root folder for the domain or subdomain where you would like SSI to be active. In this file, you need to copy some code, which you'll find in the FAQ article that we have devoted to SSI. You can find the latter within the Help area of your Hosting Control Panel, so you don't require any previous knowledge of these types of things. The only two things you ought to take care of are renaming all of pages that shall use Server Side Includes from .html to .shtml and replacing all of the links in your website, to ensure that they point to the renamed files.