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. GWT returning 200 for robots.txt, but it's actually returning a 404?

    GWT returning 200 for robots.txt, but it's actually returning a 404?

    Technical SEO Issues
    2 2 101
    • 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.
    • White.net
      White.net last edited by

      Hi,

      Just wondering if anyone has had this problem before. I'm just checking a client's GWT and I'm looking at their robots.txt file. In GWT, it's saying that it's all fine and returns a 200 code, but when I manually visit (or click the link in GWT) the page, it gives me a 404 error. As far as I can tell, the client has made no changes to the robots.txt recently, and we definitely haven't either.

      Has anyone had this problem before?

      Thanks!

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

        If it were me I would use something like web-sniffer.net to try to simulate google bot and see what that does. I would also verify that the file is on the server by looking in the ftp for it. If it is, then I would look in the htaccess file and see if there is anything set regarding it. Someone might have it set up to only let bots view the file, which in itself is not really a bad idea.

        1 Reply Last reply Reply Quote 2
        • 1 / 1
        • First post
          Last post
        • No: 'noindex' detected in 'robots' meta tag
          0
          1
          59

        • Will a Robots.txt 'disallow' of a directory, keep Google from seeing 301 redirects for pages/files within the directory?
          DmitriiK
          DmitriiK
          0
          4
          408

        • Strange URL's for client's site
          everestagency
          everestagency
          0
          3
          456

        • What's wrong with this robots.txt
          BlueprintMarketing
          BlueprintMarketing
          1
          19
          493

        • Blocked URL's by robots.txt
          meralucian37
          meralucian37
          0
          7
          398

        • Google's "cache:" operator is returning a 404 error.
          clotairedamy
          clotairedamy
          0
          4
          1.7k

        • Website's stability and it's affect on SEO
          AlanMosley
          AlanMosley
          0
          2
          1.0k

        • Do you get credit for an external link that points to a page that's being blocked by robots.txt
          ShaMenz
          ShaMenz
          0
          2
          390

        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