Server Side Includes (SSI) really is a range of directives that will permit you to incorporate the content of a text file within an HTML file. In this manner, you're able to add any kind of content to few different web pages in your site and modify it simply by updating one text file. You're able to furthermore incorporate the output of different scripts so the present time and date, the IP address of the website visitor or the properties of some file appear on your site. This will allow you to incorporate some dynamic content to static pages, making the website more inviting to your website visitors and giving it a more professional visual appearance. It will be simpler to revise this content as compared to updating every static page one by one. If you wish to use Server Side Includes in your site, the web pages that contain the content of some file should be with extension .shtml.
Server Side Includes in Website Hosting
All Linux website hosting that we offer you support Server Side Includes, so that you can add dynamic elements to any static site that you host on our cloud system. By making a blank .htaccess file and entering some lines of code inside it, you can enable SSI for a domain or maybe a subdomain. The file involved must be in the exact folder where you will make use of SSI you'll be able to find the code inside our Frequently Asked Questions section, so you don't need any coding knowledge. The 24/7 tech support crew shall also be able to help you with activating Server Side Includes if you aren't absolutely sure what to do. You should additionally make sure to change the extension of all files that are going to use SSI from .html to .shtml and ensure that the links on your site point to the correct files.