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. Block all search results (dynamic) in robots.txt?

    Block all search results (dynamic) in robots.txt?

    Intermediate & Advanced SEO
    9 7 4.8k
    • 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.
    • rhutchings
      rhutchings last edited by

      I know that google does not want to index "search result" pages for a lot of reasons (dup content, dynamic urls, blah blah).  I recently optimized the entire IA of my sites to have search friendly urls, whcih includes search result pages.  So, my search result pages changed from:

      • /search?12345&productblue=true&id789

      to

      • /product/search/blue_widgets/womens/large

      As a result, google started indexing these pages thinking they were static (no opposition from me :)), but i started getting WMT messages saying they are finding a "high number of urls being indexed" on these sites.  Should I just block them altogether, or let it work itself out?

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

        This post is deleted!
        rhutchings 1 Reply Last reply Reply Quote 1
        • rhutchings
          rhutchings @Guest last edited by

          As a follow-up or further info:  Its been about 5 months since the change.  I do get some traffic from these indexed pages (not a ton, but enough that i would like to not block if there is no negative impact).  The SE interaction seems to be confusion- they index the content, but also recognize that something may not be right.  So I am wondering if anyone else has done something similar or is trying this.

          Admitidly this is what i wanted the new url structure to do- as an experiment.  Just looking for anyone else who has/is doing similar

          Guest 1 Reply Last reply Reply Quote 0
          • Guest
            Guest @rhutchings last edited by

            This post is deleted!
            1 Reply Last reply Reply Quote 0
            • KeriMorgret
              KeriMorgret last edited by

              Hi! We're going through some of the older unanswered questions and seeing if people still have questions or if they've gone ahead and implemented something and have any lessons to share with us. Can you give an update, or mark your question as answered?

              Thanks!

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

                I might be a little different than some of these answers but I would recommend that you exclude them from getting indexed.

                The reasons I would do that are that:

                You know it is largely duplicate content and goes down to the same pages as your categories.

                Google has stated that they would prefer to not have it indexed.

                The increasing number of pages indexed will dilute the link juice of the entire site.

                There is also the possibility that people using the url bar of their browser will start to increase the number of pages indexed by a large manner.

                A competitor could create thousands of links to these pages and create a huge footprint that is search pages.

                And finally, I like having product pages ranking highly if at all possible.

                I would do this with both the robots.txt file and the GWMT exclusion on /product/search/ directory

                Good Luck!

                CleverPhD komeksimas 2 Replies Last reply Reply Quote 3
                • CleverPhD
                  CleverPhD @BKSearch last edited by

                  I would agree with BK Search.  You want to minimize what Google has to crawl (I know this sounds backwards) so that Google focuses on the pages that you want to rank.

                  Long term, why would you waste GoogleBot's time on pages that don't matter as much?  What if you had an update on a more important page and GoogleBot is too busy indexing this infinite loop of pages.

                  At this point, I would use the noindex meta tag vs robots.txt so that google will crawl and remove all the urls from the index.  Then you can drop it in later into robots.txt so it will stop crawling.  Otherwise you may end up with a lot of junk in the index.

                  1 Reply Last reply Reply Quote 0
                  • komeksimas
                    komeksimas @BKSearch last edited by

                    As you said: The increasing number of pages indexed will dilute the link juice of the entire site.

                    Can you give more example? Or just a tip where to search for this kind of information?

                    Thank you.

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

                      You can block the urls which has term "/product/search/"  in them. It can be easily done by adding  the following to the robots.txt

                      User-agent: *
                      Disallow: /product/search/
                      
                      Hope this helps...
                      
                      
                      1 Reply Last reply Reply Quote 0
                      • 1 / 1
                      • First post
                        Last post
                      • Disallowed "Search" results with robots.txt and Sessions dropped
                        GastonRiera
                        GastonRiera
                        0
                        5
                        54

                      • Scary bug in search console: All our pages reported as being blocked by robots.txt after https migration
                        Christy-Correll
                        Christy-Correll
                        0
                        6
                        94

                      • Search Results Pages Blocked in Robots.txt?
                        BeckyKey
                        BeckyKey
                        0
                        3
                        117

                      • Robots.txt for Facet Results
                        BeckyKey
                        BeckyKey
                        0
                        4
                        140

                      • Block subdomain directory in robots.txt
                        DirkC
                        DirkC
                        0
                        5
                        1.1k

                      • To index search results or to not index search results?
                        IOSC
                        IOSC
                        0
                        2
                        53

                      • What should I block with a robots.txt file?
                        Travis-W
                        Travis-W
                        1
                        3
                        298

                      • Block an entire subdomain with robots.txt?
                        kylesuss
                        kylesuss
                        1
                        16
                        102.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