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. Technical SEO Issues
    4. Spammers created bad links to old hacked domain, now redirected to our new domain. Advice?

    Spammers created bad links to old hacked domain, now redirected to our new domain. Advice?

    Technical SEO Issues
    6 4 863
    • 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.
    • usDragons
      usDragons last edited by

      My client had an old site hacked (let's call it "myolddomain.com") and the hackers created many links in other hacked sites with links such as http://myolddomain.com/styless.asp?jordan-12-taxi-kids-cheap-T8927.html

      The old myolddomain.com site was redirected to a different new site since then, but we still see over a thousand spam links showing up in the new site's Search Console 404 crawl errors report. Also, using the links: operator in google search, we see many results of spam links.

      Should we be worried about these bad links pointing to our old site and redirecting to 404s on the new site? What is the best recommendation to clean them up? Ignore? 410s? Other? I'm seeing conflicting advice out there.

      The old site is hosted by the client's previous web developer who doesn't want to clean anything up on their end without an ongoing hosting contract. So beyond turning redirects on or off, the client doesn't want to pay for any additional hosting. So we don't have much control over anything related to "myolddomain.com". 😞

      Thanks in advance for any assistance!

      1 Reply Last reply Reply Quote 0
      • iQi
        iQi last edited by

        Hi there,

        Seems to me that you should follow the standard process when you have unnatural links. You should:

        1. Compile a list of links and domains.
        2. Contact Webmasters of these domains, requesting removal of links (include the pages where these links are added in your email)
        3. Save all your sent and received emails to/from Webmasters
        4. Ones that don't reply to you, email them one more time a couple of weeks later
        5. Create a disavow file for domains that you couldn't get links removed from, state the reason and dates of emails.
        6. Submit the disavow file to the disavow tools

        I know its not straight froward nor fast, but thats how you maintain the public link profile of any website since the Penguin Updates started.

        I hope it helps

        usDragons 1 Reply Last reply Reply Quote 2
        • GlobeRunner
          GlobeRunner last edited by

          usDragons, the best way to deal with these links is to use Google's Disavow Links tool to disavow them.

          First, you need to identify all of the links, and you an do that by downloading all your links from Open Site Explorer, Majestic.com, ahrefs.com, and Google Search Console. Combine the lists and remove the duplicates.

          You'll want to manually review all of them, make a list of the ones you want Google to ignore, then upload a list of the domain names using Google's disavow links tool. Google has more info about their disavow tool here: https://support.google.com/webmasters/answer/2648487?hl=en

          1 Reply Last reply Reply Quote 1
          • usDragons
            usDragons @iQi last edited by

            Thanks. We've been through this bad link cleanup process before, but not this kind of situation. Some advice I read said Google doesn't care about those 404s because it's obviously unrelated spam, but I would think having so many crawl errors can't be healthy for the site and I don't like the idea of redirecting them to the new site.

            Now the trick is we don't have control of the old site, so we can't verify it in Google Search Console. The old site is just a redirect to the current site, so there is no website to work with. Looks like the disavow tool wants you to select a website property, but we can only use the new domain name. Will the disavow tool understand that these bad links to the old domain are redirected to the new domain name?

            iQi 1 Reply Last reply Reply Quote 0
            • iQi
              iQi @usDragons last edited by

              Hi usDragons,

              Having too many crawl errors is not healthy. Usually a few number of pages are deleted every now and then, but having hundreds or thousands of 404s means something is wrong with the website, and from your description it's obvious that something is wrong. In fact, redirecting unnatural/thin content pages to your website can harm it, as its in a way links that send traffic (through 301 redirects) to your website, so you need to disavow these.

              Because you have no control over the website, you should treat it as an external site that is spamming you. So don't think of it as a site that you own but have no access to.

              The disavow tool requires you to create a .TXT file that have an explanation of why you disavow each group of domains/links. So you should explain that these are bad links that send you traffic, and you tried to "request" deleting these links and you got no help from whoever controls it, which i guess is true in your case.

              Try to explain everything in your comments (in the .TXT file) (See attached)

              Good luck and I hope I could help in anyway.

              link-disavow-file-example-1024x288.jpg

              1 Reply Last reply Reply Quote 0
              • rjonesx. 0
                rjonesx. 0 last edited by

                Hey, this is Russ here at Moz.

                Do the redirects point to the homepage or to the current URL? For example, does the http://myolddomain.com/styless.asp?jordan-12-taxi-kids-cheap-T8927.html redirect to http://newsite.com or http://newsite.com/styless.asp?jordan-12-taxi-kids-cheap-T8927.html

                If it does redirect to the same URL on newsite.com, I would try using wildcard robots.txt entries to simply block the offending content altogether. For example, if all the spam is off the styless.asp page, you could simply block styless.asp?* in your robots.txt and prevent Google from ever crawling those spammy links.

                However, if you are redirecting everything to the homepage, I think you will need to go back to the old webmaster and figure something out. While Google is great at detecting spam, once you are under a penalty it can be difficult to recover. No one is perfect, including Google, and you don't want to be one of their "mistakes".

                1 Reply Last reply Reply Quote 1
                • 1 / 1
                • First post
                  Last post
                • Recently re-built our site and changed domain. Now I want to go back to old domain - it it a bad idea?
                  DanWrightson
                  DanWrightson
                  0
                  3
                  88

                • Old domain to new domain
                  AL123al
                  AL123al
                  0
                  3
                  121

                • Do bad links to a sub-domain which redirects to our primary domain pass link juice and hurt rankings?
                  Shredward
                  Shredward
                  0
                  3
                  268

                • Redirecting old domain to new domain with wordpress
                  bobrock4
                  bobrock4
                  0
                  4
                  277

                • Should we 301 redirect our old domain to the new domain
                  sitestrux
                  sitestrux
                  0
                  7
                  440

                • Any way around buying hosting for an old domain to 301 redirect to a new domain?
                  MarkFasel51
                  MarkFasel51
                  0
                  17
                  1.7k

                • Old owners links pointing to new owners domain
                  DavidKonigsberg
                  DavidKonigsberg
                  0
                  3
                  788

                • Delete old site but redirect domain to a new domain and site
                  AaronSchinke
                  AaronSchinke
                  0
                  4
                  828

                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