Server Side Includes (SSI) is a simple server-side language, which lets you incorporate text from a specified source within a web page. In the most widespread situation, the text from one file is included in a second one, giving a site the feeling that it's dynamic. As an example, in case your site includes 10 web pages, 5 of them can easily include the content of some file, such as horoscope.txt. Any time you change this text file, the modified content is going to appear on all five webpages, which shall enable you to update your site much easier than if you had to change part of all 5 pages. Server Side Includes is at times utilized to include the output of basic commands, scripts or functions as well - a hit counter that's shown on the site, the present time and date or the visitor's IP address. Every web page that utilizes SSI must have a unique extension - .shtml.

Server Side Includes in Hosting

All the Linux hosting that we offer support Server Side Includes, so you can include dynamic elements to any static site that you host on our cloud platform. By setting up a clear .htaccess file and adding a couple of lines of code inside it, you are able to enable SSI for a domain name or maybe a subdomain. The file in question needs to be in the exact folder where you will use SSI and you can also get the code inside our Frequently Asked Questions section, so you do not need any kind of coding expertise. The 24/7 technical support staff will also be able to assist you with activating Server Side Includes if you're not sure what to do. You should furthermore remember to modify the extension of all files which will utilize SSI from .html to .shtml and ensure that the links on your site lead to the proper files.

Server Side Includes in Semi-dedicated Hosting

It shall not take you more than a minute to enable Server Side Includes when you've got a semi-dedicated server plan from our company. If you decide to enable this function, you have to create an .htaccess file in the main folder for the domain name or subdomain where you want SSI to be enabled. In this file, you have to copy and paste some code, which you can see in the FAQ article we have dedicated to SSI. You'll find the latter in the Help area of your Hosting Control Panel, so you don't require any prior knowledge about this kind of things. The only two things you must deal with are renaming all of webpages that shall employ Server Side Includes from .html to .shtml and changing all of the links on your site, to ensure that they point to the updated files.