locked
Moved From WordPress to ASP.NET-MVC-5: Old url problem RRS feed

  • Question

  • User-910783107 posted
    I moved from WordPress to ASP.NET-MVC-5 about 3/4 months ago. But Google has refused to drop urls of WordPress.

    How do I get Google to drop all WordPress urls currently not on my asp.net site?

    Please note: 1. I moved without redirecting from WordPress to asp.net 2. Same domain name 3. Similar content, but different structures, so no redirection
    Wednesday, October 3, 2018 11:16 AM

Answers

  • User-821857111 posted

    Yeah.... That is the obvious challenge. Most of those urls returns error 500 instead of 404. In that case, what should I do?
    It depends on why they return a 500. Catch the exception and return a NotFoundResult instead.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, October 4, 2018 7:19 AM

All replies

  • User-821857111 posted

    If the URLs simply don't exist on the new site and can't be mapped to anything else, let your web server return a 404 not found. Google will soon drop them from their index.

    Wednesday, October 3, 2018 12:28 PM
  • Wednesday, October 3, 2018 3:11 PM
  • User-910783107 posted
    Yeah.... That is the obvious challenge. Most of those urls returns error 500 instead of 404. In that case, what should I do?
    Wednesday, October 3, 2018 7:31 PM
  • User-910783107 posted
    I've recrawled the site again and even submitted sitemap, but same old link get indexed again.
    Wednesday, October 3, 2018 7:35 PM
  • User-821857111 posted

    Yeah.... That is the obvious challenge. Most of those urls returns error 500 instead of 404. In that case, what should I do?
    It depends on why they return a 500. Catch the exception and return a NotFoundResult instead.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, October 4, 2018 7:19 AM
  • User-1569222496 posted

    you can as well resubmit your sitemap at google webmaster tool and give google time to re-crawl your website

    Friday, January 1, 2021 12:35 AM