*** TO STEP BY STEP SSI PAGE 2 ***
The following example will show you how SSI can save you lots of time without
having to hard code every page on your site by simply using SSI (Includes).
First the web pages you plan to use SSI on will have to be changed "From html or htm - To shtml". If you don't plan to use SSI on some of your pages, you don't have to rename them from html to shtml. The following is but one small way to use this powerful code.
Say at the end of the year you want to change the footer on your site that indicates your copyright notice. Normally you would have to edit every page to do this. This is where SSI is the most valuable time saving tool you will find. All you would have to do is edit (1) one page and all the rest of your pages would be automatically changed to the new copyright notice.
1) Create a new webpage and name it footer.shtml. This new file will become a Text file.
2) Place the regular html code you use for your copyright notice into your new footer page. Don't add any other code to this new page. When the new year comes around, simply use your editor to change the date from 2004 to 2005, and up-load it again to your server.
3) Now that you have changed your web pages to shtml just replace the regular html copyright notice with a SSI Include Code. The SSI Include code for this is:
Just copy and paste this Include code to the bottom of each of your web pages "in place of the existing copyright notice" you have on your pages.
4) Upload the new pages to your server and view them with your browser. Now! change the date on the new footer.shtml page you created and see what happens. All your pages that have been changed to shtml will show the new date you changed in your footer.shtml page.
That's it! I hope I stated the above so that anyone can understand
the simple and easy way to use SSI. This is only the very basic use,
but I hope it will open the door so you can see the power of SSI .