Why does a Non-existant page returns 302 status when using a custom 404 page in asp.net
Posted
by webdevbytes
on Stack Overflow
See other posts from Stack Overflow
or by webdevbytes
Published on 2010-05-17T15:17:36Z
Indexed on
2010/05/17
15:20 UTC
Read the original article
Hit count: 270
I have setup custom 404 page custom404.aspx that returns a 404 Not Found error correctly, however the non-existant page that was initially requested returns a 302 Found status.
So when I test thispagedoesnotexist.aspx, it returns a 302 Found then the custom404.aspx loads and returns a 404 Not Found status.
I want to make sure that search spiders/bots understand that the requested page does not exist and should not show up in any search results. Is this the case?
Cheers
© Stack Overflow or respective owner