Server Side Includes (SSI) is a simple server-side language, which allows you to incorporate text from a given source inside a web page. In the most common case, the text from a file is incorporated in a different one, providing a website the feeling that it's dynamic. For instance, in case your site includes ten web pages, five of them can easily have the content of some file, such as horoscope.txt. If you ever modify this text file, the new content is going to appear on all of the five webpages, which shall allow you to revise your site faster and easier than if you had to modify part of all five web 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 customer's IP address. Any webpage that employs SSI will need to have a unique extension - .shtml.

Server Side Includes in Website Hosting

All of the Linux website hosting that we offer you support Server Side Includes, so you can bring in dynamic components to your static site that you host on our cloud platform. By creating an empty .htaccess file and adding several lines of code in it, you can activate SSI for a domain name or maybe a subdomain. The file concerned should be within the exact folder where you are going to use SSI and you can discover the code in our Frequently Asked Questions section, which means you do not need any kind of coding expertise. The 24/7 technical support staff will also be capable to assist you with enabling Server Side Includes if you are not certain how to proceed. You should furthermore remember to change the extension of all of the files that will make use of SSI from .html to .shtml and make certain that the links on your site point to the correct files.

Server Side Includes in Semi-dedicated Hosting

It won't 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 enable this feature, you have to set up an .htaccess file in the main folder for the domain name or subdomain where you need SSI to be active. In this file, you have to copy some code, which you can find in the FAQ article that we have dedicated to SSI. You can find the latter inside the Help area of your Hosting Control Panel, so you don't require any prior experience with this kind of matters. The only two things you must deal with are renaming all of webpages that shall utilize Server Side Includes from .html to .shtml and changing all the links in your website, to make sure they lead to the updated files.