Server Side Includes (SSI) is a simple server-side language, which allows you to incorporate text from a given source in a website. In the most common case, the text from a single file is included in another, providing a site the feeling that it is dynamic. For example, if your site involves 10 pages, five of them can include the content of some file, such as horoscope.txt. As soon as you alter this text file, the new content will come up on all five pages, which will permit you to bring up to date your site much easier than if you had to modify a part of all five web pages. Server Side Includes is occasionally employed to include the output of simple commands, scripts or functions as well - a hit counter that's displayed on the site, the current time and date or the visitor's IP address. Every webpage that uses SSI will need to have a unique extension - .shtml.

Server Side Includes in Hosting

All Linux hosting we offer support Server Side Includes, so that you can bring in dynamic components to any static website that you host on our cloud platform. By setting up a clear .htaccess file and adding several lines of code inside, you are able to activate SSI for a domain name or a subdomain. The file in question should be within the exact folder where you are going to use SSI you'll be able to get the code inside our Frequently Asked Questions section, which means you don't need any kind of coding knowledge. Our 24/7 tech support team will also be able to assist you with activating Server Side Includes if you aren't sure what to do. You should additionally remember to change the extension of all files which will make use of SSI from .html to .shtml and make sure that the links on your website lead to the correct files.

Server Side Includes in Semi-dedicated Servers

It will not take you over a moment to enable Server Side Includes in case you have a semi-dedicated server plan with us. If you decide to enable this feature, you must set up an .htaccess file in the root folder for the domain name or subdomain where you need SSI to be active. In that file, you need to copy some code, that you can get in the FAQ article that we have devoted to SSI. You can get the latter in the Help area of your Hosting Control Panel, so you do not require any previous knowledge about this kind of things. The only two things you need to deal with are renaming all of webpages that will employ Server Side Includes from .html to .shtml and editing all of the links on your website, so they lead to the updated files.