Server Side Includes (SSI) is a simple server-side language, which lets you incorporate text from a given source within a website. In the most widespread situation, the text from a single file is integrated in another, giving a website the sense that it's dynamic. For instance, in case your site has ten webpages, five of them can easily include the content of any kind of file, like horoscope.txt. As soon as you alter this text file, the new content will come up on all five webpages, which will help you update your website much easier than if you had to update a part of all 5 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 site, the current time and date or the customer's IP address. Any web page that utilizes SSI will need to have a unique extension - .shtml.
Server Side Includes in Shared Hosting
Server Side Includes is featured on our innovative cloud hosting system, so regardless of the shared hosting service that you pick, it will be possible to utilize this function making your site more dynamic. All you have to do will be to make a file called .htaccess in the main folder for the domain name or subdomain in which you want to use SSI and add a number of lines of code in it. You will not need any coding skills however, as you can basically copy the needed code from our help section, or our tech support team can assist you activate SSI for any given website. You just need to modify the extension of the html file which will employ Server Side Includes to .shtml and make certain that all links to those web pages on the website are accurate.
Server Side Includes in Semi-dedicated Servers
It shall not take you more than a minute to activate Server Side Includes when you have a semi-dedicated server package with our company. When you decide to enable this function, you will need to create an .htaccess file in the root folder for the domain name or subdomain in which you want SSI to be active. In this file, you need to copy some code, which you'll get in the FAQ article we have dedicated to SSI. You can find the latter within the Help area of your Hosting Control Panel, so you do not require any previous knowledge of this kind of things. The only 2 things you need to take care of are renaming all webpages that will employ Server Side Includes from .html to .shtml and replacing every one of the links on your site, to ensure that they lead to the updated files.