Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
C

Crom8484

@Crom8484
About
Posts
2
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Dynamic content removal that is SE friendly
    C Crom8484

    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)

    ASP.NET question csharp asp-net tutorial announcement

  • how is it pronounced
    C Crom8484

    Yes, it's pronounced "dot net", and is usually referred to as the .NET platform.

    .NET (Core and Framework) question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups