Server Side Includes (SSI) is actually a set of directives that will allow you to include the content of a text file within an HTML file. In this manner, you're able to add any kind of content to various pages on your website and alter it by just updating one text file. You are able to furthermore incorporate the output of various scripts so the present time and date, the IP address of the visitor or the attributes of some file show on your website. This shall help you add some dynamic content to static webpages, making the site more inviting to your visitors and giving it a professional look and feel. It will also be much easier to revise this content compared to updating every static web page one at a time. If you wish to use Server Side Includes on your site, the web pages that incorporate the content of any kind of file need to be with extension .shtml.
Server Side Includes in Cloud Website Hosting
All cloud website hosting plans we provide support Server Side Includes, so you're able to incorporate dynamic elements to your static website that you host on our cloud platform. By making a blank .htaccess file and typing in a couple of lines of code inside, you'll be able to activate SSI for a domain name or maybe a subdomain. The file involved should be within the particular folder where you are going to use SSI and you can also find the code within our Frequently Asked Questions section, and that means you don't 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 certain how to proceed. You should additionally remember to modify the extension of all files which will use SSI from .html to .shtml and make certain that the links on your site lead to the correct files.