On a side note, this method has the added plus of automatically sending a
"403" (document moved) response code in the header (cflocation causes this -
not sure if it can be overwritten with <cfheader> or not).  "Smart" search
engines should update their databases to the new URL the next time they
index your "old" URL's.

Seth

------------------------------
Seth Bienek
Solutions Development Manager
Stonebridge Technologies, Inc.
972.455.7294 tel
972.404.9754 fax
ICQ #7673959
------------------------------

> -----Original Message-----
>
> Basically, what you'll need is a table that holds the old address and the
> new one.
>
> We did this when we converted our site. In the content table, we added a
> column to hold the old URLs. Then, you'll need to write a 404 handler that
> looks through your table to see if there is a match before it tosses the
> standard 404 message. If so, either cflocation to the new location or give
> an intermediary page with a pretty message and a link.
>
> If the file still cant be found, throw your custom 404 message.
>



-------------------------------------------------------------------------
This email server is running an evaluation copy of the MailShield anti-
spam software. Please contact your email administrator if you have any
questions about this message. MailShield product info: www.mailshield.com

-----------------------------------------------
To post, send email to [EMAIL PROTECTED]
To subscribe / unsubscribe: http://www.dfwcfug.org

Reply via email to