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.
Good luck,
Jeremy
> -----Original Message-----
> From: Hal Barker [mailto:[EMAIL PROTECTED]]
> Sent: Monday, February 26, 2001 11:24 AM
> To: [EMAIL PROTECTED]
> Subject: Legacy Files
>
>
> Greetings,
>
> I have 1800 legacy files, some with info dating back
> 6 years. All these files are in the robots and are
> bookmarked by thousands of previous visitors.
>
> All of these files now have databased calls but each
> pages is an actual static page shell with the calls
> in the body of the file.
>
> Example
>
> 23rd Infantry Regiment
>
> http://www.koreanwar.org/html/units/23ir.htm
>
> 11th Marine Regiment
>
> http://www.koreanwar.org/html/units/marine/11mareg.htm
>
>
> ( Note: we have it set up so that all .htm and ,html
> files are processed as Coldfusion files. Works great,
> by the way. Our site uses an Access database which
> works amazingly well with 3,000 visitors per day.
> Our choke point is our 300K SDSL connection.)
>
> I now want to completely database everything and stop
> using the combination legacy static and databased files.
>
> Anyone have a workaround that would universally redirect
> the old static file addresses so that the robots and
> bookmarked visitors will not loose their locations but
> which would allow us to discard the legacy file shells.
> Is this even possible?
>
> I did this when I was first learning Coldfusion and
> didn't know what to do and had a immediate deadline
> to complete the project.
>
> Hal
>
> Hal Barker, Dallas, Texas
> B.A. History
> Korean War Project
> http://www.koreanwar.org
> Founder - Korean War Veterans Memorial, Washington.D.C.
>
> --------------------------------------------------------------
> -----------
> 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
>
-------------------------------------------------------------------------
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