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. Skip indexing the search pages

    Skip indexing the search pages

    Technical SEO Issues
    7 4 163
    • 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.
    • mtthompsons
      mtthompsons last edited by

      Hi,

      I want all such search pages skipped from indexing

      www.somesite.com/search/node/

      So i have this in robots.txt (Disallow: /search/)

      Now any posts that start with search are being blocked and in Google i see this message

      A description for this result is not available because of this site's robots.txt – learn more.

      How can i handle this and also how can i find all URL's that Google is blocking from showing

      Thanks

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

        I would do a

        Complete site audit

        http://www.distilled.net/blog/seo/do-your-very-own-site-structure-audit/

        http://yoast.com/articles/duplicate-content/

        http://yoast.com/change-wordpress-permalink-structure/

        http://yoast.com/wp-content/permalink-helper.php

        http://yoast.com/wordpress-archive-pages/

        1 Reply Last reply Reply Quote 0
        • Saijo.George
          Saijo.George last edited by

          To Block search pages from the index you can try adding the META NOINDEX tag in the head section of the search pages

          https://support.google.com/webmasters/answer/93710?hl=en

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

            I guess i was not clear with my question.

            So i have this in robots.txt (Disallow: /search/)

            My intension yo place /search/ is to stop Google indexing any of my search posts

            www.somesite.com/search/node/

            Now whats happened is

            www.somesite.com/questions/search-the-internet

            Posts like above are also being blocked

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

              As Saijo said above, the meta robots noindex tag is the way to go. When you block a folder via robots.txt, you prevent Google from visiting and crawling that folder and any content within it. If Google has already crawled the content, they won't remove the content from their index just if you block it with robots.txt. The old version they have of the page will be stored and saved in their index, and they just won't be able to show you an updated snippet of the page due to the robots.txt block.

              To remove the pages from the index completely, you can do one of 2 things -

              1. in webmaster tools, go to the url removal section, and remove that folder from the index - this will only work when it's blocked via robots.txt
              2. you can add a meta robots noindex tag to the pages/page template, and remove the robots.txt block - you need to remove the robots.txt block so the search engines can recrawl the pages, see the meta robots directive, and follow the noindex guide to remove the page.

              In general, I would recommend using the meta robots noindex directive over the robots.txt, because it should work for all search engines, and you won't have to go into webmaster tools for each one. You also will ensure that you don't accidentally block other urls.

              From your example above, if you just blocked the folder /search/, a page that includes the word search in the url but isn't in the blocked folder shouldn't be blocked from the search engines because of that line - I would check in webmaster tools the robots.txt section, because it doesn't look to me, based on your robots.txt file, that any url with search in it should be blocked.

              Good luck,

              Mark

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

                Thanks a lot, I assumed this because of the below 2 screenshots

                The Sitemap shows warnings,. Is this something that you can help with identifying why we get these errors. 2 images that explain more

                ojpbkJO PLlTbxW

                Mark_Ginsberg 1 Reply Last reply Reply Quote 0
                • Mark_Ginsberg
                  Mark_Ginsberg @mtthompsons last edited by

                  Sure - you have urls that are being blocked by robots - you have this line in your robots.txt -

                  Disallow: /questions/search

                  It is thus preventing urls from within that folder, questions, which start with the word search from being crawled. What are you trying to accomplish with this block? If it's the folder search, within questions, it should be /questions/search/.

                  And the other warning is telling you these pages take a long time to load - check your server or these individual pages and see why that is taking so long.

                  1 Reply Last reply Reply Quote 1
                  • 1 / 1
                  • First post
                    Last post
                  • Should search pages be indexed?
                    Xiano
                    Xiano
                    0
                    6
                    42

                  • My pages are being crawled, but not indexed according to Search Console
                    DonnaDuncan
                    DonnaDuncan
                    0
                    4
                    64

                  • Search Console Indexed Page Count vs Site:Search Operator page count
                    benesmartin
                    benesmartin
                    0
                    2
                    78

                  • Is there a way to index important pages manually or to make sure a certain page will get indexed in a short period of time??
                    rijwielcashencarry040
                    rijwielcashencarry040
                    0
                    7
                    111

                  • Need Help On Proper Steps to Take To De-Index Our Search Results Pages
                    DirkC
                    DirkC
                    0
                    15
                    159

                  • Home page not indexed by any search engines
                    bcglf
                    bcglf
                    1
                    7
                    154

                  • Does page speed affect what pages are in the index?
                    Alex-Harford
                    Alex-Harford
                    0
                    10
                    835

                  • Search Result Page, Index or Not?
                    JoeAmadon
                    JoeAmadon
                    0
                    3
                    652

                  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