Server Side Includes (SSI) is a basic server-side language, which enables you to include text from a given source inside a website. In the most popular case, the text from a file is included in a second one, providing a website the sense that it's dynamic. For example, if your website consists of ten webpages, 5 of them can contain the content of some file, such as horoscope.txt. Once you change this text file, the updated content is going to appear on all five web pages, which will permit you to update your site much easier than if you had to modify a component of all five web pages. Server Side Includes is at times utilized to include the output of simple commands, scripts or functions as well - a hit counter that is shown on the website, the current date and time or the customer's IP address. Any web page that employs SSI should have a special extension - .shtml.

Server Side Includes in Shared Website Hosting

As our customized cloud hosting platform offers Server Side Includes on a global level, you'll be able to use this function with the shared website hosting plans we offer and add dynamic content to your sites with a couple of mouse clicks. SSI can be enabled for every specific domain or subdomain by inserting an .htaccess file in the website folder with just a few lines of code. Of course, you don't need to be a programmer for that because the necessary code may be copied from the Help article we have concerning Server Side Includes. If you'd like to utilize this feature for your site, you must rename your website files from .html to .shtml and you've got to double-check if all links on your site lead to the modified names.

Server Side Includes in Semi-dedicated Servers

It shall not take you more than a minute to activate Server Side Includes in case you have a semi-dedicated server plan with us. When you choose to enable this function, you have to make an .htaccess file in the root folder for the domain or subdomain in which you want SSI to be enabled. In that file, you need to copy some code, which you can see in the FAQ article that we have dedicated to SSI. You can find the latter in the Help section of your Hosting Control Panel, so you do not need any previous knowledge of this kind of matters. The only 2 things you ought to take care of are renaming all of the webpages that shall use Server Side Includes from .html to .shtml and changing every one of the links in your site, to make sure they lead to the updated files.