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. Googlebot Can't Access My Sites After I Repair My Robots File

    Googlebot Can't Access My Sites After I Repair My Robots File

    Intermediate & Advanced SEO
    4 4 2.6k
    • 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.
    • NiallSmith
      NiallSmith last edited by

      Hello Mozzers,

      A colleague and I have been collectively managing about 12 brands for the past several months and we have recently received a number of messages in the sites' webmaster tools instructing us that 'Googlebot was not able to access our site due to some errors with our robots.txt file'

      My colleague and I, in turn, created new robots.txt files with the intention of preventing the spider from crawling our 'cgi-bin' directory as follows:


      User-agent: *

      Disallow: /cgi-bin/


      After creating the robots and manually re-submitting it in Webmaster Tools (and receiving the green checkbox), I received the same message about Googlebot not being able to access the site, only difference being that this time it was for a different site that I manage.

      I repeated the process and everything, aesthetically looked correct, however, I continued receiving these messages for each of the other sites I manage on a daily-basis for roughly a 10-day period.

      Do any of you know why I may be receiving this error? is it not possible for me to block the Googlebot from crawling the 'cgi-bin'?

      Any and all advice/insight is very much welcome, I hope I'm being descriptive enough!

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

        Maybe the spacing is off when you posted it here, but blank lines can affect robots.txt files. Try code:

        User-agent: *
        Disallow: /cgi-bin/
        #End Robots#

        Also, check for robot blocking meta tags on the individual pages.

        You can test to see if Google can access specific pages through GWT > Health > Blocked URLs (should see your robots.txt file contents int he top text area, enter the urls to test in the 2nd text area, then press "Test" at the bottom - test results will appear at the bottom of the page)

        Webrevolve 1 Reply Last reply Reply Quote 2
        • Webrevolve
          Webrevolve @OlegKorneitchouk last edited by

          A great answer 🙂

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

            Oleg gave a great answer.

            Still I would add 2 things here:

            1. Go to GWMT and under "Health" do a "Fetch as Googlebot" test.
                 This will tell you what pages are reachable.

            2. I`ve saw some occasions of server-level Googlebot blockage.
            If your robots.txt is fine and your page contains no "no-index" tags, and yet you still getting an error message while fetching, you should get a hold on your access logs and check it for Googlebot user-agents to see if (and when) you were last visited.

            This will help you pin-point the issue, when talking to your hosting provider (or 3rd party security vendor).

            If unsure, you can find Googlebot information (user agent and IPs ) at Botopedia.org.

            1 Reply Last reply Reply Quote 1
            • 1 / 1
            • First post
              Last post
            • Crawl and Indexation Error - Googlebot can't/doesn't access specific folders on microsites
              Everett
              Everett
              0
              2
              87

            • My crawl can't find ANY product pages. The links to product pages aren't links, they're script. :(
              Joe.Robison
              Joe.Robison
              0
              8
              247

            • Google can't access/crawl my site!
              Travis_Bailey
              Travis_Bailey
              0
              16
              3.0k

            • Can't find X-Robots tag!
              Martijn_Scheijbeler
              Martijn_Scheijbeler
              0
              3
              417

            • Need help on SEO for my site. Can't figure out what is wrong.
              MoosaHemani
              MoosaHemani
              0
              4
              192

            • Robots.txt file - How to block thosands of pages when you don't have a folder path
              Klarke
              Klarke
              0
              4
              264

            • Can you see the 'indexing rules' that are in place for your own site?
              Dr-Pete
              Dr-Pete
              0
              5
              451

            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