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 vs. meta noindex, follow

    Robots.txt vs. meta noindex, follow

    Technical SEO Issues
    3 3 1.1k
    • 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.
    • AdenaSEO
      AdenaSEO last edited by

      Hi guys,

      I wander what your opinion is concerning exclution via the robots.txt file.
      Do you advise to keep using this? For example:

      User-agent: *
      Disallow: /sale/*
      Disallow: /cart/*
      Disallow: /search/
      Disallow: /account/
      Disallow: /wishlist/*

      Or do you prefer using the meta tag 'noindex, follow' instead?
      I keep hearing different suggestions.
      I'm just curious what your opinion / suggestion is.

      Regards,
      Tom Vledder

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

        Hi Tom,

        It depends, for the /sale/ I would make an exception to make sure that it could be sales pages. But for the other pages I wouldn't want a search engine to waste any crawl budget by looking at these pages for a start. That's why I would go there with a robots.txt implementation instead of META robots as then they'll still visit the page to figure out there they won't index the page.

        1 Reply Last reply Reply Quote 2
        • Andrew_Birkitt
          Andrew_Birkitt last edited by

          Hi Tom

          Agree with Martijn that it depends for example, the robots.txt is generally the first port of call for bots as it allows them to understand where you want them to spend their finite time crawling your site. You can aslo give direction to all bots at once or specify a subset. It is generally the best option for blocking pages such as you /cart/ etc were they don't need crawling.

          The problem with robots.txt is that it doesn't always keep pages from being indexed especially if there are other external sources linking to the pages in question.

          The meta tag noindex on the other hand can be applied to individual pages and you are actually commanding the robots to NOT Index the relevant page in serps, use this option if you have pages you don't want appearing in Google (or other search engines) but the page may still be relevant for authority or able to acquire links (make sure to use Noindex follow) as you still want the robots to crawl the page. Otherwise use Noindex Nofollow hope that this helps.

          1 Reply Last reply Reply Quote 2
          • 1 / 1
          • First post
            Last post
          • No: 'noindex' detected in 'robots' meta tag
            0
            1
            59

          • Should a login page for a payroll / timekeeping comp[any be no follow for robots.txt?
            donsilvernail
            donsilvernail
            0
            4
            41

          • Robots.txt & meta noindex--site still shows up on Google Search
            Vijay-Gaur
            Vijay-Gaur
            1
            8
            7.3k

          • Why Google ranks a page with Meta Robots: NO INDEX, NO FOLLOW?
            BruceA
            BruceA
            0
            4
            651

          • How to solve the meta : A description for this result is not available because this site's robots.txt. ?
            Vale7
            Vale7
            0
            5
            1.2k

          • Warnings for blocked by blocked by meta-robots/meta robots Nofollow...how to resolve?
            Cyrus-Shepard
            Cyrus-Shepard
            0
            3
            415

          • Rel=cannonical vs. noindex.follow for paginated pages
            Dr-Pete
            Dr-Pete
            1
            5
            1.3k

          • Robots.txt and robots meta
            TheEspresseo
            TheEspresseo
            0
            5
            1.1k

          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