homepage Welcome to WebmasterWorld Guest from 23.22.59.252
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

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

10+ Year Member



 
Msg#: 4430005 posted 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.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved