homepage Welcome to WebmasterWorld Guest from 50.17.107.233
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor
Home / Forums Index / Microsoft / Microsoft IIS Web Server and ASP.NET
Forum Library, Charter, Moderators: ocean10000

Microsoft IIS Web Server and ASP.NET Forum

    
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.

 

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Microsoft / Microsoft IIS Web Server and ASP.NET
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
© Webmaster World 1996-2014 all rights reserved