E-Book2004.com Logo
_

_
| Archives | CD ROMs | HOME | Phone Support | Search | Newsletter

Ads by Smithfam.com
WebMaster's & Marketing CDs Information, software, graphics, and design tools are critical to success. 256 Marketing Video Reseller Pack
Start using these incredible video tutorials right away to improve your Internet marketing knowledge!

Easy Site Maintenance with Server Side Includes
_By Jim Phillips   ©2003 All Rights Reserved

_A well-designed web site doesn't just have intuitive navigation, streaming video, and all the latest Flash bells and whistles.

_
_It's also easy to maintain.
_
_If you've ever done a site redesign for a medium to large web site you know what a headache it is to recode every page.
_
_Adding even a simple navigation link to 50+ pages is tedious.
_
_And error prone!
_
_But there is a technology that allows you to keep common page elements like your logo or navigation bar in separate HTML files.
_
_You make changes to a single file and you have updated your entire site!
_
_I'm talking about Server Side Includes (SSI), which allow you literally to include one HTML document inside another.
  • 1: You place an SSI command, called a directive, on a page where you want to insert the text.
  • 2: When a page is requested, the server replaces the SSI directive with the file and sends the output to the browser.
_You can use SSI to include your logo, your left, top and bottom navigation bars, a copyright notice or any other information you want to appear on every page of your site.
_
_Very cool, and good design as well.
_
_Let's take a look at a simple example to add a copyright notice to your web pages.
_
_1.) First, create the copyright notice in a file called "copyright.html".
_

Copyright 2003 MyCompany, Inc.

_2.) Now add the following line at the bottom of every page where you want the copyright notice to appear:
_

<!--#include file="copyright.html" -->

_That's it!
_
_Now if you want to update the copyright with the current year, or add an email address, you only have to update one file.
_
_A very efficient use of your very valuable time!
_
_How can you add SSI to your existing website?
_
_The easiest way is to cut and paste the information that appears on all of your pages and save it in separate files.
_
_You can use "html" or "txt" as the file extension, but remember to use descriptive names like "topnavbar" or "copyright" so you will remember what each file contains when it is time for the next global update.
_
_Add the appropriate include command on each page and you're done.
_
_If your includes are in the root directory, the code looks like this:
_

<!--#include virtual="topnavbar.html" -->

_If you decide to store your includes in another directory you will need to add the path name before the file name:
_

<!--#include virtual="/includes/topnavbar.html" -->

_Before including SSI, check with your web host to be sure it supports SSI (most do).
_
_Some web hosts may require that you use .shtml or .shtm as a file extension, but not all do.
_
_If your web host doesn't support SSI you might want to find one that does.
_
_It's that valuable.
_
_If you want to learn more, there are lots of good SSI tutorials on the web. Here are a few of my favorites: _Implementing SSI on an existing site takes time but once you've done it you'll see the rewards of easier site maintenance immediately.
_
_And it is something you'll want to remember for future designs as well.


JIM PHILLIPS Fresh, New, Master Reprint Right Products 'SHHH' free! Just visit: http://www.viralnews.com Also, feel free to republish this article in your own ezine or web site.


The #1 Rated Submission Software
More Info


_Traffic Seeker Submits To 800,000 Places Instantly. No other program comes close at any price. Traffic Seeker is the Highest Rated Submission Program. Find out more via autoresponder.
_Download The Free Demo


| Archives | CD ROMs | HOME | Phone Support | Search | Newsletter |
_

_
_

_
Bob's Marketing Phone Support
Home Business CD ROMs
Internet Marketing Tutorials
The eBook Wholesaler Site
The Internet Marketing Center
Good e-Books & Courses
Wholesale Info Publishing CD
Your Own Associate Program
Smithfam's Webmaster's Services
Downloadable Business Packages
Search Engine Submission Software
Find A Business Hosting Company
Low Cost Smart Autoresponder Script
Free Web Based Autoresponders
Credit Card Processing - Free Setup
Can´t find it Here? - Ask Bob
_
Truly Automate Your Website Submissions to Over 800,000 Places
Generate Free Web Site Traffic
Click HereTo Get More Information Via Email

| MoreTraffic | Support | Site Map | HOME | Ask Bob | CDs | Site Design |
| Bob's Articles | Search Site | Newsletter | Archives | Info Packages | About Bob |
| Half-Price Today | Good eBooks | Affiliate Program | eBook Wholesaler | Archives
| Credit Cards | Script Archives | Webmaster's Tools | Autoresponders | Business Opps |
| Hosting | Getting Started | Free Hosting | Free Software | Free Graphics | Site Promotion |
_
_
A Seed Gives Birth to Fruit of its Own Kind

Home-Based Business Support Services
2606 Summer Lane, Eugene OR, 97404
(541) 689-1847
 Click Here to Email Bob Smith
© 1996-2007 Smith's Family Enterprises Inc.
_
Proudly Hosted By
ICDSoft Hosting
_
SF