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. Intermediate & Advanced SEO
    4. Robots.txt

    Robots.txt

    Intermediate & Advanced SEO
    5 3 137
    • 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.
    • maestrosonrisas
      maestrosonrisas last edited by

      What would be a perfect robots.txt file my site is propdental.es

      Can i just place:

      User-agent: *

      Or should i write something more???

      1 Reply Last reply Reply Quote 0
      • Chris.Menke
        Chris.Menke last edited by

        Dario,

        There are a  number of free tools online for creating your robots.txt file that can help you with that.  Moz has a page pertaining to it that you should check out as well. http://moz.com/learn/seo/robotstxt

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

          Hi Dario

          If you're not intending to restrict access to certain parts of the site to certain crawlers, then you won't actually need a robots.txt file at all.  So unless you have sub-folders that you want to keep private, don't worry about it.

          maestrosonrisas 1 Reply Last reply Reply Quote 1
          • maestrosonrisas
            maestrosonrisas @TomRayner last edited by

            I tom thanks for answering

            I not intending to restrict access. I want to make sure google crawl correctly every page of the site

            is ok if i leave it like that:

            **User-agent: *
            
            Disallow:**
            
            1 Reply Last reply Reply Quote 0
            • TomRayner
              TomRayner last edited by

              In that case you don't need a robots.txt file at all.

              Your example above is actually very close to restricting access to your entire site.  If you had a robots.txt that looked like this:

              User-agent: * 
              Disallow: /

              You would stop any bot or visitor from seeing the site.  Definitely not recommended!

              In your case, I would avoid having a robots.txt file altogether.  It's not an SEO requirement until you need to restrict access for whatever reason.

              1 Reply Last reply Reply Quote 1
              • 1 / 1
              • First post
                Last post
              • Is robots met tag a more reliable than robots.txt at preventing indexing by Google?
                Bobbi_Tschumper
                Bobbi_Tschumper
                1
                7
                3.0k

              • Robots.txt advice
                Martijn_Scheijbeler
                Martijn_Scheijbeler
                0
                3
                105

              • Robots.txt Allowed
                GlobeRunner
                GlobeRunner
                0
                4
                118

              • Robots.txt question
                Mobilio
                Mobilio
                0
                2
                107

              • Meta robots or robot.txt file?
                Andy.Drinkwater
                Andy.Drinkwater
                0
                5
                152

              • Robots.txt vs noindex
                Saijo.George
                Saijo.George
                0
                6
                142

              • Robot.txt error
                Rubix
                Rubix
                0
                13
                203

              • Robots.txt unblock
                Elchanan
                Elchanan
                0
                5
                4.3k

              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