Server Side Includes (SSI) really is a range of directives that will enable you to contain the content of a text file within an HTML file. In this way, you're able to add some content to various pages in your site and change it simply by modifying one text file. You can also incorporate the output of distinctive scripts so that the current date and time, the IP address of the visitor or the attributes of some file display on your website. This will help you add some dynamic content to static web pages, making the website more inviting to your website visitors and giving it a much more professional look and feel. It will also be simpler to revise this content in comparison to editing every static web page one at a time. If you wish to use Server Side Includes on your website, the web pages that include the content of some file need to be with extension .shtml.
Server Side Includes in Cloud Hosting
All cloud plans that we offer support Server Side Includes, so you're able to include dynamic elements to any static site that you host on our cloud platform. By creating a clear .htaccess file and adding several lines of code in it, you can enable SSI for a domain name or perhaps a subdomain. The file involved should be inside the exact folder where you will use SSI and you'll discover the code in our Frequently Asked Questions section, and that means you don't need any kind of coding expertise. The 24/7 tech support team shall also be able to assist you with activating Server Side Includes if you're not confident what to do. You should also make sure to modify the extension of all your files which will implement SSI from .html to .shtml and make sure that the links on your site point to the appropriate files.