Server Side Includes (SSI) is a basic server-side language, which enables you to incorporate text from a specific source inside a website. In the most typical scenario, the text from one file is included in a different one, providing a site the sense that it's dynamic. For instance, if your website comprises of 10 web pages, five of them can easily include the content of some file, such as horoscope.txt. As soon as you modify this text file, the updated content will appear on all of the five pages, which will help you update your site much easier than if you had to change part of all 5 web pages. Server Side Includes is occasionally utilized to incorporate the output of simple commands, scripts or functions as well - a hit counter that's displayed on the site, the present date and time or the customer's IP address. Any web page that utilizes SSI must have a particular extension - .shtml.
Server Side Includes in Shared Web Hosting
All Linux shared web hosting that we offer support Server Side Includes, so that you can include dynamic components to your static site that you host on our cloud platform. By setting up a clear .htaccess file and entering several lines of code within it, you are able to enable SSI for a domain or perhaps a subdomain. The file in question needs to be inside the particular folder where you are going to use SSI and you can also see the code inside our Frequently Asked Questions section, which means you do not need any kind of coding experience. The 24/7 technical support staff will also be capable to assist you with activating Server Side Includes if you are not certain what to do. You should furthermore remember to change the extension of all files that will implement SSI from .html to .shtml and ensure that the links on your website point to the correct files.
Server Side Includes in Semi-dedicated Hosting
It will not take you over a moment to enable Server Side Includes when you've got a semi-dedicated server plan through our company. If you decide to activate this feature, you need to set up an .htaccess file in the main folder for the domain or subdomain where you would like SSI to be active. In that file, you must copy some code, which you can get in the FAQ article we have dedicated to SSI. You can find the latter inside the Help section of your Hosting Control Panel, so you don't need any previous experience with this kind of things. The only 2 things you ought to deal with are renaming all of web pages that shall utilize Server Side Includes from .html to .shtml and bringing up-to-date all the links in your site, to ensure that they point to the updated files.