Hello all. I have an ASP.NET application that uses 3 or 4 actual "default.aspx" pages to dish out content for numerous URLs. For example "http://www.healthquotes.ca/default.aspx?Section=Common&Page=ContactUs" is one example of a URL that the root default.aspx page renders. Another example is "http://www.healthquotes.ca/Group/default.aspx?Section=Group&Page=Purchase", where the Group insurance default page then renders content for numerous group insurance-related content. My question is: how do I gracefully remove search engine entries for URLs that have been spidered but now point to content that has been deleted (it is no longer relevant, and the folder/files were removed). For example, if you search in Google for 'Blue Vision Blue Cross' there will be entries pointing to Press Release articles, but I have removed this section from the site. Obviously for traditional static sites just removing the page(s) did the trick. I can't return a 404 http header to the search engine spiders since this might result in the root aspx page being thought of as 'not found'. Right now I am just redirecting to a custom page not found page, which has been designated as the custom 404 page for the site. Any suggestions/input welcome!!! Example (the case is the Page querystring value): Case "PressOverview" 'myBody = Page.LoadControl("XXX") 'sPageTitle = "Press Releases" 'Response.Buffer = True 'Response.Status = "404 Not Found" 'myBody = Page.LoadControl("XXX") ' Response.End() Response.Redirect("http://www.healthquotes.ca/PageNotFound.htm", False)
C
Crom8484
@Crom8484
Posts
-
Dynamic content removal that is SE friendly -
how is it pronouncedYes, it's pronounced "dot net", and is usually referred to as the .NET platform.