In the web.config you can add this code to handle 404 errors:
<customErrors mode="Off" defaultRedirect="ErrorPage.aspx">
<error statusCode="404" redirect="/Site-Map"/>
</customErrors>
And this works well as you can see by this URL http://www.fundraising.com.au/thisisnotapage
However, according to this website http://gsitecrawler.com/tools/Server-Status.aspx the response code for this non-existent page is 200, not a 404.
Whilst this page http://www.nuenergy.com.au/thisisnotapage does show a 404 at http://gsitecrawler.com/tools/Server-Status.aspx and redirects to another page.
How do you achieve the later in ASP.NET? I need the response to be a 404 and for another page to show up.