| returning 200 staus for non-existent file instead of 404
|
tantalus

msg:4430007 | 4:40 pm on Mar 16, 2012 (gmt 0) | Hello, To my dismay I noticed google crawling non-existent url in the form of www.example.com/folder/page-displaying.aspx/superflous-should-404.aspx Which is causing duplication issues as "/superflous-should-404.aspx" is an exact duplicate of "page-displaying.aspx". It seems anything after the trailing slash is viewed as a valid url by iis generated by page-displaying.aspx. I understand that this could be an issue with customErrors but my web.config is simply set as <customErrors mode="RemoteOnly"/> and I am not sure how to take it forward if indeed it is the problem. Any help in this department would be really be appreciated as support from my host (a well known discount host) is completly useless.
|
|