The Moz Q&A Forum

    • Forum
    • Questions
    • My Q&A
    • Users
    • Ask the Community

    Welcome to the Q&A Forum

    Browse the forum for helpful insights and fresh discussions about all things SEO.

    1. SEO and Digital Marketing Q&A Forum
    2. Categories
    3. Intermediate & Advanced SEO
    4. How Best to Handle Inherited 404s on Purchased Domain

    How Best to Handle Inherited 404s on Purchased Domain

    Intermediate & Advanced SEO
    5 4 54
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • russell_ms
      russell_ms last edited by

      We purchased a domain from another company and migrated our site over to it very successfully. However, we have one artifact of the original domain in that there was a page that was exploited by other sites on the web. This page allowed you to pass any URL to it and redirect to that URL (e.g. http://example.com/go/to/offsite_link.asp?GoURL=http://badactor.com/explicit_content).

      This page does not exist on our site so the results always go to a 404 on our site. However, we find that crawlers are still attempting to access these invalid pages.

      We have disavowed as many of the explicit sites as we can, but still some crawlers come looking for those links. We are considering blocking the redirect page in our robots.txt but we are concerned that the links will remain indexed but uncrawlable.

      What's the best way to pull these pages from search engines and never have them crawled again?

      UPDATE: Clarifying that what we're trying to do it get search engines to just never try to get to these pages. We feel the fact they're even wasting their time on getting a 404 is what we're trying to avoid. Is there any reason we shouldn't just block these in our robots.txt?

      1 Reply Last reply Reply Quote 1
      • Rajesh.Prajapati
        Rajesh.Prajapati last edited by

        You need to do one thing with those 404 pages. Move them as 410 status code. Redirection is not good practice for the same.

        1 Reply Last reply Reply Quote 1
        • pilesofpillows
          pilesofpillows last edited by

          I would actually recommend redirecting it to the homepage. If you have a Wordpress website and a bunch of 404 pages, you can install a free plugin called "All 404 to Homepage" and this will solve the problem. I would, however, recommend that if you have replacement pages or pages covering similar content, that you redirect those to the corresponding replacement page.

          GastonRiera 1 Reply Last reply Reply Quote -2
          • GastonRiera
            GastonRiera @pilesofpillows last edited by

            FOR THE LOVE OF GOD DONT REDIRECT  404s TO THE HOME!

            This is terrible advice. Doing that you'll turn those 404s into soft 404s, making them more problematic than ever.

            1 Reply Last reply Reply Quote 1
            • GastonRiera
              GastonRiera last edited by

              Hi there,

              I'm considering that you have over 500k URLs, to be worrying about crawl efficiency. If you have less than that, please don't worry.

              Having 404s is completely fine, and google will eventually lower their crawl frequency to those pages. 
              Blocking them in robots.txt will cause to google stop crawling them, but never to never remove them from the index.
              My advice here: don't block them in robots.txt

              As Rajesh pointed out, you could force those 404s into 410 to tell Google that they are gone forever. Yet, Google said that they treat 404s and 410s as the same.
              John Mueller said over a year ago that 4xx status codes don't incur in crawl wastage. You can check it our in these Webmasters hangout notes - Deepcrawl

              Hope it helps,
              Best luck.
              Gaston

              1 Reply Last reply Reply Quote 1
              • 1 / 1
              • First post
                Last post
              • Best practice to redirect all 404s?
                KevinBudzynski
                KevinBudzynski
                0
                2
                65

              • Domains and Domain Authority
                brettmandoes
                brettmandoes
                0
                4
                42

              • How best to handle partial domain move?
                esseljay
                esseljay
                0
                4
                75

              • Purchasing an existing domain + redirecting to company's domain
                max.favilli
                max.favilli
                0
                3
                180

              • Client wants a seperate .tv domain for their media/videos instead of a subdomain/subfolder. What is the best way to pass of link equity to a new domain?
                RosemaryB
                RosemaryB
                0
                7
                136

              • When migrating website platforms but keeping the domain name how best do we add the new site to google webmaster tools? Best redirect practices?
                WNL
                WNL
                0
                6
                462

              • What would be the best domain choice?
                SEOLocal92
                SEOLocal92
                0
                3
                343

              • What's the best way to hold newly purchased domains over 2 years?
                RyanKent
                RyanKent
                0
                6
                638

              Get started with Moz Pro!

              Unlock the power of advanced SEO tools and data-driven insights.

              Start my free trial
              Products
              • Moz Pro
              • Moz Local
              • Moz API
              • Moz Data
              • STAT
              • Product Updates
              Moz Solutions
              • SMB Solutions
              • Agency Solutions
              • Enterprise Solutions
              • Digital Marketers
              Free SEO Tools
              • Domain Authority Checker
              • Link Explorer
              • Keyword Explorer
              • Competitive Research
              • Brand Authority Checker
              • Local Citation Checker
              • MozBar Extension
              • MozCast
              Resources
              • Blog
              • SEO Learning Center
              • Help Hub
              • Beginner's Guide to SEO
              • How-to Guides
              • Moz Academy
              • API Docs
              About Moz
              • About
              • Team
              • Careers
              • Contact
              Why Moz
              • Case Studies
              • Testimonials
              Get Involved
              • Become an Affiliate
              • MozCon
              • Webinars
              • Practical Marketer Series
              • MozPod
              Connect with us

              Contact the Help team

              Join our newsletter
              Moz logo
              © 2021 - 2026 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
              • Accessibility
              • Terms of Use
              • Privacy