| Shared Hosting Reseller Hosting Comparison Chart Web Applications FAQs SSL - Secure Hosting Contact Sales |
Web Hosting FAQsWhat are Server Side Includes (SSI)?
Imagine you have a web site with over 100 pages and the main navigation menu is the same on every page. If you want to make an alteration to the navigation you don't really want to edit all 100+ pages individually. One solution is to create a separate HTML file that contains just your navigation. Then when you were creating your pages you could just place the following code at the position where you wanted it to appear: <!--#include virtual="/navigation.html" --> and save your page with the extension .shtml instead of .html. When someone views that page, the server replaces the code above with your navigation file. Now if you ever need to make a site-wide alteration you only need to edit a single file and your whole site will be instantly updated! Related topics: SSI Server Side Includes |