Server Side Includes (SSI) is a simple server-side language, which allows you to incorporate text from a given source within a web page. In the most widespread scenario, the text from a single file is included in a second one, giving a website the feeling it is dynamic. For example, if your site features ten webpages, 5 of them can easily include the content of some file, such as horoscope.txt. Any time you alter this text file, the updated content will appear on all five web pages, which will enable you to bring up to date your site much easier than if you had to modify a component of all five web pages. Server Side Includes is occasionally employed to contain the output of basic commands, scripts or functions as well - a hit counter that's displayed on the site, the present time and date or the customer's IP address. Every webpage that works by using SSI should have a special extension - .shtml.
Server Side Includes in Hosting
All the hosting plans
that we offer support Server Side Includes, so you can incorporate dynamic elements to your static site which you host on our cloud system. By making a clear .htaccess file and adding a few lines of code inside it, you are able to enable SSI for a domain name or maybe a subdomain. The file in question should be inside the particular folder where you will make use of SSI and you'll get the code inside our Frequently Asked Questions section, and that means you do not need any coding experience. The 24/7 tech support crew will also be capable to assist you with enabling Server Side Includes if you are not absolutely sure how to proceed. You should additionally remember to modify the extension of all of the files that will use SSI from .html to .shtml and make sure that the links on your site point to the right files.
Server Side Includes in Semi-dedicated Servers
Server Side Includes can be activated without any problem with every single semi-dedicated server
package that we provide and the full process is going to take you only a minute and just a couple of clicks. You can enable SSI by making a blank .htaccess file within a domain name or subdomain root folder using the File Manager tool in the Hosting Control Panel or perhaps an FTP program of your preference, then incorporating a few lines of code, that you will be capable to get out of the SSI article in our extensive Knowledgebase. The only thing remaining then is to double-check if all webpages that will make use of Server Side Includes are renamed from .html to .shtml and then to alter the links to different webpages on your site, so as to represent the modifications in the file extensions.