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 - Allow and Disallow. Can they be the same?

    Robots.txt - Allow and Disallow. Can they be the same?

    Web Design
    9 3 801
    • 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.
    • Presenter
      Presenter last edited by

      Hi All,

      I need some help on the following:

      Are the following commands the same?

      User-agent: *

      Disallow:

      or

      User-agent: *

      Allow: /

      I'm a bit confused. I take it that the first one allows all the bots but the second one blocks all the bots.

      Is that correct?

      Many thanks,

      Aidan

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

        Hi

        1° example:

        User-agent: *
        Disallow:

        all User-agent can index your files

        2° example

        User-agent: *
        Disallow: /

        never User-agent"can index you files

        other example here:

        http://support.google.com/webmasters/bin/answer.py?hl=en&answer=156449

        Ciao

        Maurizio

        Presenter 1 Reply Last reply Reply Quote 0
        • Presenter
          Presenter @malecce last edited by

          Hi Maurizio,

          The reason I asked is because I am working on a site and it's robots.txt is :

          User-agent: *

          Allow: /

          Why would they have this?

          I can't use On-Page Analysis or Screaming Frog as it only results in 3 URLs.

          Thanks again,

          Aidan

          malecce Presenter eventurerob 6 Replies Last reply Reply Quote 0
          • malecce
            malecce @Presenter last edited by

            Hi Aidan

            User-agent: *
            Disallow:

            and

            User-agent: *
            Allow: /

            are the same

            Ciao
            Maurizio

            1 Reply Last reply Reply Quote 1
            • Presenter
              Presenter @Presenter last edited by

              Thanks Maurizio,

              I need to do some analysis on this site. Is there a way to use my SEO tools (screaming frog, SEOMoz) to ignore the robots.txt to enable me to do a good site audit?

              Thanks again for the answers. Much appreciated

              Aidan

              1 Reply Last reply Reply Quote 0
              • malecce
                malecce @Presenter last edited by

                E' un piacere.

                but I don't understand the problem.

                if the site have this robots.txt

                **User-agent: ***

                Allow: /

                every crawler can index and see all files of the this website and Seo moz also.

                Maybe the problem is different?

                Ciao

                1 Reply Last reply Reply Quote 0
                • Presenter
                  Presenter @Presenter last edited by

                  Hi,

                  Thanks for the clarification. So the Robots.txt isn't blocking anything.

                  Do you know why then i cannot use SEOMoz On Page Analysis and Xenu and Screaming Frog only return 3 URLs?

                  I get the following msg when I try to run On Page Analysis:

                  "Oops! We were unable to reach the papge you requested for your report. Please try again later."

                  Would there be something else blocking me? GWMT Parameters maybe?

                  1 Reply Last reply Reply Quote 0
                  • malecce
                    malecce @Presenter last edited by

                    Hi

                    you can use this tool for be sure that the crawler see your files

                    http://pro.seomoz.org/tools/crawl-test

                    but you must wait for receive the report to a email.

                    when you say:

                    "get the following msg when I try to run On Page Analysis:"

                    the tools is this?

                    http://pro.seomoz.org/tools/on-page-keyword-optimization/new

                    for check the website you can use this:

                    http://www.opensiteexplorer.org

                    Ciao

                    Maurizio

                    1 Reply Last reply Reply Quote 0
                    • eventurerob
                      eventurerob @Presenter last edited by

                      Hi Aidan

                      I'm getting a similar problem on a site I'm working on. The on page rank checker "can't reach the page". I've checked everything obvious (at least I think I have!)

                      May I ask how you eventually resolved it?

                      Thanks Aidan

                      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

                      • Block parent folder in robot.txt, but not children
                        Martijn_Scheijbeler
                        Martijn_Scheijbeler
                        0
                        3
                        547

                      • Robots.txt being blocked
                        SOM24
                        SOM24
                        0
                        9
                        1.4k

                      • How to command Robots.txt to this:
                        Chenzo
                        Chenzo
                        0
                        7
                        151

                      • Not able to serve different robots.txt for CDN77
                        Aman_123
                        Aman_123
                        0
                        3
                        282

                      • How Can I Make My Site iPhone Friendly?
                        katemorris
                        katemorris
                        0
                        4
                        187

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

                      • What can this charity site do to improve SEO?
                        Phibnax
                        Phibnax
                        0
                        3
                        650

                      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