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 question

    Robots.txt question

    Technical SEO Issues
    7 4 791
    • 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.
    • seoug_2005
      seoug_2005 last edited by

      Hello,

      What does the following command mean -

      User-agent: *
      Allow: /
      

      Does it mean that we are blocking all spiders ?  Is Allow supported in robots.txt ?

      Thanks

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

        That robots txt should be fine.

        But you should also add your XML sitemap to the robots.txt file, example:

        User-Agent: *
        Allow: /
        
        Sitemap: http://www.website.com/sitemap.xml
        
        seoug_2005 1 Reply Last reply Reply Quote 1
        • seoug_2005
          seoug_2005 @JamesNorquay last edited by

          Any particular reason for doing so ?

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

            There's more information about robots.txt from SEOmoz at http://www.seomoz.org/learn-seo/robotstxt

            SEOmoz and the robots.txt site suggest the following for allowing robots to see everying and list your sitemap:

            User-agent: *
            Disallow:

            Sitemap: http://www.example.com/none-standard-location/sitemap.xml

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

              That's not really necessary unless there URLs or directories you're disallowing after the allow in your robots.txt. Allow is a directive supported by major search engines, but search engines assume they're allowed to crawl everything they find unless you disallow it specifically in your robots.txt.

              The following is universally accepted by bots and essentially means the same thing as what I think you're trying to say, allowing bots to crawl everything:

              User-agent: *
              Disallow:
              

              There's a sample use of the Allow directive on the wikipedia robots.txt page here.

              seoug_2005 1 Reply Last reply Reply Quote 1
              • seoug_2005
                seoug_2005 @john4math last edited by

                I was assuming that by including / after allow, we are blocking the spiders and also thought that allow is not supported by search engines.

                Thanks for clarifications. A better approach would be

                User-Agent: *
                Allow: 
                

                right ?

                The best one of course is 
                
                **User-agent: *
                Disallow:**
                
                1 Reply Last reply Reply Quote 0
                • KeriMorgret
                  KeriMorgret @seoug_2005 last edited by

                  It's a good idea to have an xml site map and make sure the search engines know where it is. It's part of the protocol that they will look in the robots.txt file for the location for your sitemap.

                  1 Reply Last reply Reply Quote 1
                  • 1 / 1
                  • First post
                    Last post
                  • Easy Question: regarding no index meta tag vs robot.txt
                    Everett
                    Everett
                    0
                    4
                    213

                  • Robots.txt
                    MichaelC-15022
                    MichaelC-15022
                    0
                    7
                    1.0k

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

                  • Question about Robot.txt
                    paumer80
                    paumer80
                    0
                    5
                    379

                  • Robots txt
                    LadyApollo
                    LadyApollo
                    0
                    3
                    427

                  • Robots.txt question
                    RobMay
                    RobMay
                    0
                    5
                    307

                  • Robots.txt
                    Ontarioseo
                    Ontarioseo
                    0
                    5
                    737

                  • Robots.txt
                    Entrusteddev
                    Entrusteddev
                    0
                    3
                    642

                  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