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. What is the best way to stop a page being indexed?

    What is the best way to stop a page being indexed?

    Technical SEO Issues
    8 5 242
    • 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.
    • cbarron
      cbarron last edited by

      What is the best way to stop a page being indexed? Is it to implement robots.txt at a site level with a Robots.txt file in the main directory or at a page level with the    tag?

      1 Reply Last reply Reply Quote 0
      • Devanur-Rafi
        Devanur-Rafi last edited by

        Hi,

        While the page-level robots meta tag is the best way to stop the page from being indexed, a domain-level robots.txt can save some bandwidth of the search engines. With robots.txt blocking in place, Google will not crawl the page from within the website but can pickup the URLs mentioned some where else on a third-party website. In cases like these, the page-level robots meta tag comes to the rescue. So, it would be best if the pages are blocked using robots.txt file as well as the page-level meta robots tag. Hope that helps.

        Good luck friend.

        Best regards,

        Devanur Rafi

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

          Why not both?  Some cases one method is preferred over another, or in fact necessary.  As with non html documents such as pdf, you may have to use the robots.txt to keep it from being indexed or header tags as well.  I'll also give you another option, and that is to password protect a directory.

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

            Thanks for the answers guys... Can I ask in the event that the Robots.txt file is implemented at the domain level but the mark up on the page is <meta name="robots" content="index, follow"> which one take wins?

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

              "noindex" takes precedents over "index" so basicly if it says "noindex" anywhere google will follow that.

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

                Thanks that's good to know.

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

                  To prevent all robots from indexing a page on your site, place the following meta tag into the section of your page:

                  To allow other robots to index the page on your site, preventing only a specific search engine bot, for example here Google's robots from indexing the page:

                  When Google see the noindex meta tag on a page, Google will completely drop the page from our search results, even if other pages link to it. Other search engines, however, may interpret this directive differently. As a result, a link to the page can still appear in their search results.

                  Note that because Google have to crawl your page in order to see the noindex meta tag, there's a small chance that Googlebot won't see and respect the noindex meta tag. If your page is still appearing in results, it's probably because Google haven't crawled your site since you added the tag. (Also, if you've used your robots.txt file to block this page, Google won't be able to see the tag either.)

                  If the content is currently in Google's index, it will remove it after the next time it crawl it. To expedite removal, use the Remove URLs tool in Google Webmaster Tools.

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

                    Thanks that's good to know! 🙂

                    1 Reply Last reply Reply Quote 0
                    • 1 / 1
                    • First post
                      Last post
                    • Best practices for types of pages not to index
                      seoman10
                      seoman10
                      0
                      5
                      1.5k

                    • Best way to handle pages with iframes that I don't want indexed? Noindex in the header?
                      jim_shook
                      jim_shook
                      0
                      3
                      165

                    • How to Stop Google from Indexing Old Pages
                      Ikusa
                      Ikusa
                      0
                      11
                      13.5k

                    • What is the best way to find missing alt tags on my site (site wide - not page by page)?
                      franchisesolutions
                      franchisesolutions
                      1
                      4
                      9.7k

                    • What is the best way to find stranded pages?
                      My-Favourite-Holiday-Cottages
                      My-Favourite-Holiday-Cottages
                      0
                      2
                      530

                    • Paging Links Code - Best Way?
                      AlanMosley
                      AlanMosley
                      0
                      2
                      431

                    • What is the best way to optimize a page for a magazine
                      ClaireH-184886
                      ClaireH-184886
                      0
                      5
                      594

                    • What is the best method for indexing blog pages?
                      RyanKent
                      RyanKent
                      0
                      4
                      742

                    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