By Scottie Claiborne © 2004
Anyone who's ever had to change a multitude of static pages on a site knows what a pain it is to find and change the same snippets of code on one page after another- even using an HTML editor's find-and-replace function can be cumbersome since you have to upload all of the pages to the server again with the new code. Sometimes a page or two will get missed or the find-and-replace function replaces some things you didn't intend to change, so it requires some quality-checking time to run through all the pages and make sure the changes are there.
An easier way to manage pages in your site is by replacing chunks of repeating code, such as your navigation links, with server side include (SSI) files. Instead of repeating the same code over and over, you create a separate file with just that chunk of repeated code in it, then place a line of code on each page that tells the server to insert the contents of a separate file into that spot on the page.