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. Best blocking solution for Google

    Best blocking solution for Google

    Technical SEO Issues
    5 5 1.0k
    • 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.
    • goodnewscowboy
      goodnewscowboy last edited by

      Posting this for Dave SottimanoI Here's the scenario: You've got a set of URLs indexed by Google, and you want them out quickly Once you've managed to remove them, you want to block Googlebot from crawling them again - for whatever reason. Below is a sample of the URLs you want blocked, but you only want to block /beerbottles/ and anything past it: www.example.com/beers/brandofbeer/beerbottles/1 www.example.com/beers/brandofbeer/beerbottles/2 www.example.com/beers/brandofbeer/beerbottles/3 etc.. To remove the pages from the index should you?: Add the Meta=noindex,follow tag to each URL you want de-indexed Use GWT to help remove the pages Wait for Google to crawl again If that's successful, to block Googlebot from crawling again - should you?: Add this line to Robots.txt: DISALLOW */beerbottles/ Or add this line: DISALLOW: /beerbottles/ "To add the * or not to add the *, that is the question" Thanks! Dave

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

        Hi Goodnewscowboy,

        To block the whole folder you dont need to use the wild card (*)

        and I advise you to also do these steps:

        1. Verify your ownership of the site in Webmaster Tools.
        2. On the Webmaster Tools home page, click the site you want.
        3. On the Dashboard, click Site configuration in the left-hand navigation.
        4. Click Crawler access, and then click Remove URL.
        5. Click New removal request.
        6. Type the URL of the page you want removed, and then click Continue. Note that the URL is case-sensitive—you will need to submit the URL using exactly the same characters and the same capitalization that the site uses.
        7. Select Remove page from cache only.
        8. Select the checkbox to confirm that you have completed the requirements listed in this article, and then clickSubmit Request.

        Cheers

        Goetzman 1 Reply Last reply Reply Quote 1
        • Goetzman
          Goetzman @wissamdandan last edited by

          I believe you can confirm the block via the webmaster tools also.

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

            I would put noindex,follow on those page and wait a little until they disappear for Google index. Of course, if you have only a few pages, I would do it manually in GWT. If you have rather big site with a good crawl rate, this should be done in a few days.

            When you don't see them anymore, you may use DISALLOW */beerbottles/ but this could be annoying later. I would recommend to use the meta robots as you have more control on it. It will allow page rank to flow in the beerbottles pages too !

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

              Following up here -- did this answer Dave's question?

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              • First post
                Last post
              • I am looking for best way to block a domain from getting indexed ?
                Prasadgotteti
                Prasadgotteti
                0
                5
                90

              • Google webmaster… Zopim Live chat blocking the resources
                RyanPurkey
                RyanPurkey
                0
                2
                1.4k

              • Google index dymamic webpages after block in robots.txt...
                Dr-Pete
                Dr-Pete
                0
                6
                247

              • How to optimize for different google seach center (google.de, google.ch) ?
                Aleyda
                Aleyda
                0
                4
                270

              • Quality Issues: My blog is blocked on Google Search Engine
                loopyal
                loopyal
                0
                2
                352

              • I accidentally blocked Google with Robots.txt. What next?
                SebastianCowie
                SebastianCowie
                0
                7
                2.1k

              • How best to set up Google + business pages for clients
                jennita
                jennita
                1
                5
                5.1k

              • How to block google robots from a subdomain
                Alexey_mindvalley
                Alexey_mindvalley
                0
                5
                2.6k

              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