To answer this question, just how user errors work in ASP.NET. I saw examples (although I don’t have any convenient ones) where people used HttpModules to catch errors and serve a user error page for users who are not bots, and the answer to 404 users who appear to be bots.
In another direction, I'm not sure that bots regularly follow 302 responses. More appropriate, perhaps it is really so bad that your error page (if used) is displayed in the search results? At least the user has a link to your site - this is better than having your competitors site ...
joelt source
share