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. Getting Started
    4. Disallow doesnt disallow anything!?

    Disallow doesnt disallow anything!?

    Getting Started
    8 5 109
    • 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.
    • AaronWintersCSUS
      AaronWintersCSUS last edited by

      Been trying to exclude a ton of backed up files on our domain that have to stay public as people transition content over. I have tried everything — search a subdirectory by name, updated robots.txt with disallow and noindex (both with and without / or /*) and I still get almost triple the number of 'actual' pages.

      I there any way to get cleaner results aside from manual sort-n-cut from the CSV?

      1 Reply Last reply Reply Quote 1
      • Dalerio-Consulting
        Dalerio-Consulting last edited by

        Google generally takes some time to update the robots.txt file and even more time to update the SERP and remove the disallowed links from the results. After you have properly blocked the URLs from the bots, then they should be removed from the results within a few days.

        In order to check how the robots.txt file affects the files, you can use the Google robots.txt checker tool. There you can see how the file is stored by Google and you can add your link to test whether it is allowed or not.

        Daniel Rika - Dalerio Consulting
        [Signature links removed by moderator.]

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

          In addition to what Dalerio-Consulting has said, be wary of your deployment. Robots.txt doesn't affect indexation, it affects crawling. If Google can't crawl the pages, how can they find the contained no-index tags?

          RuthBurrReedy 1 Reply Last reply Reply Quote 0
          • RuthBurrReedy
            RuthBurrReedy @effectdigital last edited by

            effectdigital is correct. If you're blocking pages via robots.txt and still seeing them in the index, it's likely that Google is encountering links to these pages, and is indexing them that way, without updating its crawl (since your robots.txt says not to). Your best bet is to:

            • Add a meta robots noindex tag to each of the pages you want removed from the index;
            • Remove the disallow directive from robots.txt;
            • Wait for Google to re-crawl the pages (using "fetch as googlebot" in GSC may speed this process along
            • Once the pages are no longer in Google's index, re-add the disallow directive to your robots.txt file.
            effectdigital 1 Reply Last reply Reply Quote 1
            • effectdigital
              effectdigital @RuthBurrReedy last edited by

              Full agreement with this

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

                Thanks everyone for chiming in but I specifically was talking to the Moz Pro crawl and results here in Moz Pro. I thought that was implied by asking it on this forum.

                The suggestion to 'Add a meta robots noindex tag to each of the pages you want removed from the index' is quite impossible as there are over 10000 pages (some outside our CMS footprint, but on our domain). I wish it were as easy as adding a single line to a header include!

                eli.myers effectdigital 2 Replies Last reply Reply Quote 0
                • eli.myers
                  eli.myers @AaronWintersCSUS last edited by

                  Hey,

                  Would you be able to reach out to our HelpTeam at help@moz.com with any product related queries.

                  Looking forward to hearing from you!

                  Eli

                  1 Reply Last reply Reply Quote 0
                  • effectdigital
                    effectdigital @AaronWintersCSUS last edited by

                    In this case you would do well to read this documentation:

                    https://moz.com/help/moz-procedures/crawlers/rogerbot

                    This forum sees a lot of general SEO queries and is a bit of a broader community, not just for Moz products (though we do see lots of Moz product questions as well!)

                    Can you just deploy Meta no-index through the HTTP header instead of through the HTML?

                    https://yoast.com/x-robots-tag-play/

                    1 Reply Last reply Reply Quote 1
                    • 1 / 1
                    • First post
                      Last post
                    • How to increase website Moz DA/PA?
                      elonmmusk
                      elonmmusk
                      0
                      6
                      41

                    • Keyword difficulty with Moz Pro
                      BartonInteractive
                      BartonInteractive
                      0
                      3
                      21

                    • Mozbar Chrome Extension 404 Error
                      BartonInteractive
                      BartonInteractive
                      0
                      6
                      77

                    • DA error in my website
                      Bdgbye
                      Bdgbye
                      0
                      4
                      43

                    • Moz DA Issue
                      BartonInteractive
                      BartonInteractive
                      0
                      3
                      33

                    • Finding less competitive keywords
                      Oinsiie78
                      Oinsiie78
                      0
                      2
                      36

                    • Da Decreased
                      Staunton_Rook
                      Staunton_Rook
                      0
                      2
                      34

                    • Website DA Decreased
                      ishahid007
                      ishahid007
                      0
                      5
                      29

                    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