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. Client accidently blocked entire site with robots.txt for a week

    Client accidently blocked entire site with robots.txt for a week

    Technical SEO Issues
    4 4 1.4k
    • 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.
    • pixelpointpress
      pixelpointpress last edited by

      Our client was having a design firm do some website development work for them. The work was done on a staging server that was blocked with a robots.txt to prevent duplicate content issues.

      Unfortunately, when the design firm made the changes live, they also moved over the robots.txt file, which blocked the good, live site from search for a full week. We saw the error (!) as soon as the latest crawl report came in.

      The error has been corrected, but...

      Does anyone have any experience with a snafu like this? Any idea how long it will take for the damage to be reversed and the site to get back in the good graces of the search engines? Are there any steps we should take in the meantime that would help to rectify the situation more quickly?

      Thanks for all of your help.

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

        Hi, have you tried logging in to Google Webmaster tools and fetching the URL as googlebot?  This helped me recently with a couple of sites that I had blocked with robots.txt.  They were up-to-date in SERP's within 2 days.

        1 Reply Last reply Reply Quote 2
        • EGOL
          EGOL last edited by

          I can't say anything about robots.txt

          .... but one of my competitors tossed up a new design with nofollow, noindex tags on every page and their site immediately tanked out of Google.

          ... it took them a couple weeks to figure it out but once they yanked that line of code they were back at topSERPs within 48 hours.

          ... this was a relatively strong site and I would expect that type of site recovers faster than a PR2 site with little connectivity.

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

            Here's a YouMoz post that was promoted to the main blog about what someone else did in this situation that may help.

            http://www.seomoz.org/blog/accidental-noindexation-recovery-strategy-amp-results

            A couple of preventative steps would have been to make the robots.txt file on the live site read-only so it couldn't have been as easily overwritten, and to use a free service like Pole Position's Code Monitor (https://polepositionweb.com/roi/codemonitor/index.php) to monitor the contents of your robots.txt file once a day and email you if there are changes. I'd also monitor your dev robots.txt, just to make sure the live site robots.txt doesn't get copied over to dev one day and your dev site gets indexed (I've had that happen!).

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            • First post
              Last post
            • Blocking subdomains with Robots.txt file
              PaulM01
              PaulM01
              0
              3
              641

            • Google Indexing Development Site Despite Robots.txt Block
              DeanAndrews
              DeanAndrews
              0
              6
              990

            • Google indexing despite robots.txt block
              john4math
              john4math
              0
              13
              654

            • Site blocked by robots.txt and 301 redirected still in SERPs
              OlegKorneitchouk
              OlegKorneitchouk
              0
              2
              621

            • Robots.txt blocking site or not?
              RyanKent
              RyanKent
              0
              2
              445

            • Blocking other engines in robots.txt
              RyanKent
              RyanKent
              0
              2
              581

            • Robots.txt and robots meta
              TheEspresseo
              TheEspresseo
              0
              5
              1.1k

            • Search Engine blocked by robots.txt
              Goetzman
              Goetzman
              0
              7
              1.2k

            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