Ian: You could append a URL variable to the redirect URL that indicates the URL the redirect came from. In other words, something like:
<CFLOCATION URL="newUrl.cfm?oldUrl=oldUrl.cfm" STATUSCODE="301"> The new page would simply have to check for the "oldUrl" variable in the URL scope. -- Mosh Teitelbaum evoch, LLC http://www.evoch.com/ Ian Skinner wrote: > Is there any easy way to detect that a page is being served because of > a 301 redirect to it? > > We have reorganized some of our site so we have put 301 redirects in > place for old URLs that people may use. But the powers that be do not > want a completely silent redirect for users who may be using old > bookmarks, published links, etc. They would like a message displayed > asking them to update their sources. > > I thought a CGI variable might give me a hint, but I have not found the > correct one if it exists. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:322197 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4