I have a ColdFusion page that handles all IIS and CF 404 errors. In that page, I use the 301 redirect code that Jacob listed. I believe this is the most appropriate solution. A regular cflocation is a 302 temporary redirect, which could hurt the site's search engine rankings. I don't have easy access to the Web server logs on one server, so I log the 404 errors in a database table. Whenever an unhandled error occurs, I add a couple lines of code in the 404 error handler to redirect that missing page to the appropriate location.
-Mike Chabot On 4/11/06, Munson, Jacob <[EMAIL PROTECTED]> wrote: > I would try to do something like this. I like to do redirects, CF has a > way to do that: > > <cfheader statuscode="301" statustext="Moved Permanently"> > <cfheader name="Location" value="#newURL#"> > <cfabort> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237506 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

