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. Should comments and feeds be disallowed in robots.txt?

    Should comments and feeds be disallowed in robots.txt?

    Intermediate & Advanced SEO
    5 3 4.2k
    • 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.
    • workathomecareers
      workathomecareers last edited by

      Hi

      My robots file is currently set up as listed below.

      From an SEO point of view is it good to disallow feeds, rss and comments?

      I feel allowing comments would be a good thing because it's new content that may rank in the search engines as the comments left on my blog often refer to questions or companies folks are searching for more information on. And the comments are added regularly.

      What's your take? I'm also concerned about the /page being blocked. Not sure how that benefits my blog from an SEO point of view as well. Look forward to your feedback.

      Thanks.

      Eddy

      User-agent: Googlebot
      Crawl-delay: 10
      Allow: /*
      
      User-agent: *
      Crawl-delay: 10
      Disallow: /wp-
      Disallow: /feed/
      Disallow: /trackback/
      Disallow: /rss/
      Disallow: /comments/feed/
      Disallow: /page/
      Disallow: /date/
      Disallow: /comments/
      
      # Allow Everything
      Allow: /*
      
      
      1 Reply Last reply Reply Quote 0
      • FedeEinhorn
        FedeEinhorn last edited by

        Who wrote that robots.txt?

        You shouldn't disallow the comments, or feed or almost anything.

        I notice you are using wordpress, so if you just want to avoid the admin being indexed (which will isn't going to be as Google does not have access anyway), your robots.txt should look like this:

        User-Agent:*

        Disallow: /wp-admin/

        That's it.

        workathomecareers 1 Reply Last reply Reply Quote 0
        • workathomecareers
          workathomecareers @FedeEinhorn last edited by

          Thanks for the info!

          I contacted Hostgator to fix the robots file because it had been blocking Google's bot for some time now. So that's the robot file they uploaded.

          Yes I use wordpress, and apparently some stupid plugin had originally blocked google before hostgator fixed the robots file yesterday.

          So to confirm you don't think anything else should be disallowed except for the /wp-admin directory. With the feeds, comments, etc, there isn't any SEO concerns like duplicate content or anything else that may work against me that should be blocked.

          Is this safe to assume?

          Thanks again!

          Eddy

          DaveSottimano FedeEinhorn 2 Replies Last reply Reply Quote 0
          • DaveSottimano
            DaveSottimano @workathomecareers last edited by

            Wordpress is a funny platform, you would think that there isn't much to disallow but there probably is quite a bit.  I agree with Federico - you should allow comments, feed, and rss.

            I'm not going to make blind assumptions here, so you should check your log files to see what's being constantly crawled, feel free to read this http://moz.com/blog/server-log-essentials-for-seo.

            FYI - This is a big job. Shout if you need help.

            P.S - Hostgator's Cpanel will allow you to archive raw server logs, make sure you check that option from now on or they'll be overwritten!

            1 Reply Last reply Reply Quote 0
            • FedeEinhorn
              FedeEinhorn @workathomecareers last edited by

              If I were going to disallow something I would go with noindex tags. The robots file is perfect with just those 2 lines.

              Then, there are some plugins that will help you avoid any SEO issue like SEO by Yoast. Personally I like to noindex,follow tags, categories, and archive pages, that's it. But again, noindex, follow with a robots tag on the page, not using the robots.txt. SEO by Yoast will make that as easy as it can ever be with just a small configuration steps.

              Give it a try, you can always disable plugins 🙂

              Wish you the best!

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              • First post
                Last post
              • Robots.txt & Disallow: /*? Question!
                BabaBha0173
                BabaBha0173
                0
                8
                321

              • What does Disallow: /french-wines/?* actually do - robots.txt
                LoganRay
                LoganRay
                0
                8
                558

              • Best practice for disallowing URLS with Robots.txt
                TimHolmes
                TimHolmes
                0
                3
                650

              • Robots.txt, Disallow & Indexed-Pages..
                thekiller99
                thekiller99
                0
                5
                341

              • Should I disallow all URL query strings/parameters in Robots.txt?
                OlegKorneitchouk
                OlegKorneitchouk
                0
                5
                11.2k

              • Disallow URLs ENDING with certain values in robots.txt?
                Andy.Drinkwater
                Andy.Drinkwater
                0
                4
                1.9k

              • Do I need to disallow the dynamic pages in robots.txt?
                esiow2013
                esiow2013
                0
                11
                1.0k

              • Disallow my store in robots.txt?
                AlanMosley
                AlanMosley
                0
                2
                308

              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