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. Web Design
    4. Robots.txt being blocked

    Robots.txt being blocked

    Web Design
    9 6 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.
    • SOM24
      SOM24 last edited by

      I think there is an issue with this website I'm working on here is the URL: http://brownieairservice.com/

      In Google Webmaster tools I am seeing this in the Robots.txt tester:

      User-agent: *
      Crawl-delay: 1
      Disallow: /wp-content/plugins/
      Disallow: /wp-admin/

      Also when I look at "blocked resources" in the webmaster tools this is showing to be blocked:

      http://brownieairservice.com/wp-content/plugins/contact-form-7/includes/js/jquery.form.min.js?ver=3.51.0-2014.06.20It looks like the form plug in is giving the issues but I don't understand this.

      There are no site errors or URL errors so I don't understand what this crawl delay means or how to fix it.  Any input would be greatly appreciated.  Thank you

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

        What problem is it causing Wendy?

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

          Wendy,

          Google likes to have access to all your css and js. Plugins can contain these files, as seen with your blocked resources message.

          The way to fix this would be by removing the Disallow: /wp-content/plugins/ line from your robots.txt file, and thus allowing google full access.

          Another solution as provided by a useful article on moz: https://moz.com/blog/why-all-seos-should-unblock-js-css 

          "How to unblock your JavaScript and CSS

          For most users, it's just a case of checking the robots.txt and ensuring you're allowing all JavaScript and CSS files to be crawled. For Yoast SEO users, you can edit your robots.txt file directly in the admin area of Wordpress.

          Gary Illyes from Google also shared some detailed robots.txt changes on Stack Overflow. You can add these directives to your robots.txt file in order to allow Googlebot to crawl all Javascript and CSS.

          To be doubly sure you're unblocking all JavaScript and CSS, you can add the following to your robots.txt file, provided you don't have any directories being blocked in it already:

          User-Agent: Googlebot
          
          Allow: .js
          
          Allow: .css
          
          

          If you have a more specialized robots.txt file, where you're blocking entire directories, it can be a bit more complicated.

          In these cases, you also need to allow the .js and.css for each of the directories you have blocked.

          For example:

          User-Agent: Googlebot
          
          Disallow: /deep/
          
          Allow: /deep/*.js
          
          Allow: /deep/*.css
          
          

          Repeat this for each directory you are blocking in robots.txt."

          Hope this helps.

          SOM24 1 Reply Last reply Reply Quote 2
          • DirkC
            DirkC last edited by

            To add to the previous comment - crawl delay is ignored by Googlebot. Check http://tools.seobook.com/robots-txt/

            It can be used to limit the speed for the bots - it is however not part of the original robots.txt specification. Since this value is not part of the standard, its interpretation is dependent on the crawler reading it

            Yandex: https://yandex.com/support/webmaster/controlling-robot/robots-txt.xml#crawl-delay

            Didn't find more info for Bing (they mention it here but do not provide additional info: https://www.bing.com/webmaster/help/how-to-create-a-robots-txt-file-cb7c31ec

            If you want to limit the speed for Google bot you have to do it in Webmastertools.

            Dirk

            SOM24 1 Reply Last reply Reply Quote 1
            • SOM24
              SOM24 @GreenStone last edited by

              Thank you for your answer.  I went in and uploaded this plug in: WP Robots Txt  Now I can see the robots.txt content.  This is what I see:

              User-agent: *
              Disallow: /wp-admin/
              Disallow: /wp-includes/

              I don't see this as I see in Webmaster tools:

              User-agent: *
              Crawl-delay: 1
              Disallow: /wp-content/plugins/
              Disallow: /wp-admin/

              My question now is this:  is the Disallow:/wp-includes/ the same as Disallow:/wp-content/plugins/

              so if I do this: allow:/wp-includes/ then that should solve my issue?

              I'm still going through your other suggestions so will type back later on that.  Thank you for your help.

              Wendy

              Guest 1 Reply Last reply Reply Quote 0
              • SOM24
                SOM24 @DirkC last edited by

                Thanks Dirk for your input I will look at this too and respond back.

                1 Reply Last reply Reply Quote 1
                • Guest
                  Guest @SOM24 last edited by

                  This post is deleted!
                  1 Reply Last reply Reply Quote 2
                  • MattRoney
                    MattRoney last edited by

                    Hi Wendy! Did this get worked out? 🙂

                    SOM24 1 Reply Last reply Reply Quote 0
                    • SOM24
                      SOM24 @MattRoney last edited by

                      Hi Matt,

                      Thank you for checking back.  I did change the robot.txt in the dashboard as people suggested but when I go here: http://brownieairservice.com/robots.txt

                      It is still showing the disallow.  I need to load this:

                      User-agent: *
                      Disallow:

                      to the root folder and I'm not sure how to do that if I need to FTP it or how I do that so that's where I'm at now.

                      Anybody have any thoughts?  I have googled this question on how to do it and I keep getting put into this loop of information that does not address this questions directly.

                      Thank you

                      1 Reply Last reply Reply Quote 0
                      • 1 / 1
                      • First post
                        Last post
                      • Reason for robots.txt file blocking products on category pages?
                        Frankie-BTDublin
                        Frankie-BTDublin
                        0
                        7
                        183

                      • Disallow: /sr/ and Disallow: /si/ - robots.txt
                        McTaggart
                        McTaggart
                        0
                        3
                        74

                      • Fixing Render Blocking Javascript and CSS in the Above-the-fold content
                        Khannnnnnnnnnns
                        Khannnnnnnnnnns
                        0
                        9
                        90.9k

                      • Is anyone using Humans.txt in your websites? What do you think?
                        Asher
                        Asher
                        1
                        2
                        627

                      • Robots.txt - Allow and Disallow. Can they be the same?
                        eventurerob
                        eventurerob
                        0
                        9
                        801

                      • How to fix and issue with robot.txt ?
                        Matt-Williamson
                        Matt-Williamson
                        0
                        7
                        4.0k

                      • Search directory - How to apply robots
                        Blenny
                        Blenny
                        0
                        3
                        276

                      • IP block in Google
                        zeepartner
                        zeepartner
                        0
                        9
                        2.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