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. Robots.txt error

    Robots.txt error

    Technical SEO Issues
    8 5 138
    • 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.
    • Shanidel
      Shanidel last edited by

      Moz Crawler is not able to access the robots.txt due to server error. Please advice on how to tackle the server error.

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

        Hi,

        Can you please share the message you're receiving ? Also, did you check your Google Search Console to see if Google can access to your website ? Knowing the type of errors is the key to advice you.

        Shanidel 1 Reply Last reply Reply Quote 1
        • Roman-Delcarmen
          Roman-Delcarmen last edited by

          yoursite.com/robot.txt -----> this is how your robot.txt file should be, so first I will recommend you test your robot.txt file to see if everything is ok, if dont there is an explanation about how to create a robot.txt

          How to create a /robots.txt file

          Where to put it

          The short answer: in the top-level directory of your web server.

          The longer answer:

          When a robot looks for the "/robots.txt" file for URL, it strips the path component from the URL (everything from the first single slash), and puts "/robots.txt" in its place.

          For example, for "http://www.example.com/shop/index.html, it will remove the "/shop/index.html", and replace it with "/robots.txt", and will end up with "http://www.example.com/robots.txt".

          So, as a web site owner you need to put it in the right place on your web server for that resulting URL to work. Usually that is the same place where you put your web site's main "index.html" welcome page. Where exactly that is, and how to put the file there, depends on your web server software.

          Remember to use all lower case for the filename: "robots.txt", not "Robots.TXT.

          See also:

          • What program should I use to create /robots.txt?
          • How do I use /robots.txt on a virtual host?
          • How do I use /robots.txt on a shared host?
          Roman-Delcarmen 1 Reply Last reply Reply Quote 3
          • Shanidel
            Shanidel @manoman88 last edited by

            Below is the exact message that i received:

            **Moz was unable to crawl your site on Aug 29, 2017. **Our crawler was not able to access the robots.txt file on your site. This often occurs because of a server error from the robots.txt. Although this may have been caused by a temporary outage, we recommend making sure your robots.txt file is accessible and that your network and server are working correctly. Typically errors like this should be investigated and fixed by the site webmaster.

            1 Reply Last reply Reply Quote 0
            • Roman-Delcarmen
              Roman-Delcarmen @Roman-Delcarmen last edited by

              happy to been useful

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

                This post is deleted!
                Shanidel 1 Reply Last reply Reply Quote 0
                • Shanidel
                  Shanidel @TIUConsulting last edited by

                  Hi,

                  I'm still having this problem. Moz is unable to crawl the site saying there is a problem with the robots.txt file.

                  Sorry.

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

                    Hello Shanidel,

                    Jo from the Moz help team here.

                    I've had a look at your site and I've not been able to access your robot.txt file, this is what I'm seeing in the browser

                    https://screencast.com/t/JjQI1WTH3ni

                    I'm also seeing this error when I check your robots.txt file through a third party tool

                    https://screencast.com/t/pxsP9pL5

                    So it looks to me like may be some intermittent issues with your robots.txt file. I would advise reaching out to your web developer to see if they can check your robots.txt file and make sure it's accessible.

                    If you're still having trouble please let us know at help@moz.com

                    Best of luck!

                    Jo

                    1 Reply Last reply Reply Quote 0
                    • 1 / 1
                    • First post
                      Last post
                    • Robots.txt
                      MarieHaynes
                      MarieHaynes
                      0
                      8
                      115

                    • Robots.txt
                      Dan-Lawrence
                      Dan-Lawrence
                      0
                      5
                      99

                    • Meta Robots Noindex and Robots.txt File
                      Devanur-Rafi
                      Devanur-Rafi
                      0
                      2
                      125

                    • Robots.txt
                      WesleySmits
                      WesleySmits
                      0
                      9
                      168

                    • Do I need robots.txt and meta robots?
                      Cyrus-Shepard
                      Cyrus-Shepard
                      0
                      7
                      1.1k

                    • Robots.txt
                      BailHotline
                      BailHotline
                      0
                      5
                      760

                    • Blocking robots.txt
                      de4e
                      de4e
                      0
                      4
                      432

                    • Robots.txt
                      JordanGodbey
                      JordanGodbey
                      0
                      6
                      619

                    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