Here is an example on how to setup redirection in case someone types in a browser a page name that does not exists and you want the server to return for example page "CustomPageNotFoundError.htm" where you can handle the problem.
In such case the server will generate HTTP Error number 404.
Here is the code that you need to put in your web.config file:
<error redirect="CustomPageNotFoundError.htm" statusCode="404" />
The above should be placed in the section :
Last update: 2011-06-16 12:09