title: Default redirect for Error 404
body: <p>I want to introduce a functionality in my ASP.net website that, whenever a request is received for an unknown URL on my domain, the user is redirected to my <code>error_404.htm</code> page in the root of the application.</p>
  
  <p>For example, if the request is <code>http://www.mydomain.com/blahblahblah</code></p>
  
  <p>Then instead of returning the standard 404 error page, I want it to redirect the request to <code>http://www.mydomain.com/error_404.htm</code></p>
  
  <p><strong>Update</strong>
  IIS Version 7.5 and .NET Framework Version 4</p>
  
  <p><strong>Update</strong>
  <code>/blah.aspx</code> redirects but <code>/blah</code> does not</p>