Server Side Includes (SSI) is a basic server-side language, which enables you to incorporate text from a given source inside a web page. In the most typical situation, the text from a single file is incorporated in another, giving a website the feeling that it is dynamic. As an example, if your site involves ten pages, 5 of them can have the content of some file, for example horoscope.txt. As soon as you modify this text file, the new content will come up on all of the five web pages, which shall permit you to revise your site much easier than if you had to update a part of all 5 web pages. Server Side Includes is sometimes used to contain 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. Every web page that utilizes SSI should have a special extension - .shtml.
Server Side Includes in Shared Hosting
All shared packages
we offer support Server Side Includes, so you're able to bring in dynamic components to any static website which you host on our cloud system. By setting up a blank .htaccess file and adding some lines of code inside, you can activate SSI for a domain or a subdomain. The file in question must be in the exact folder where you will make use of SSI and you can also get the code within our Frequently Asked Questions section, and that means you do not need any coding practical experience. Our 24/7 tech support staff shall also be able to assist you with activating Server Side Includes if you are not confident what to do. You should also make sure to modify 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 proper files.
Server Side Includes in Semi-dedicated Hosting
If you get a semi-dedicated server
package through our company, it is possible to enable Server Side Includes with a couple clicks and for every domain or subdomain that you pick. We've got a detailed Help article on the subject that you could find in your Hepsia Hosting Control Panel. All it takes to activate Server Side Includes is to copy a couple of lines out of the article within an .htaccess file that you need to make in the main folder of the domain/subdomain and you will be good to go. You need to just make certain that all of the files implementing SSI have the right extension i.e. .shtml, not .html, and also that the links on your site are updated and lead to the already updated files.