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. How to stop google from indexing specific sections of a page?

    How to stop google from indexing specific sections of a page?

    Technical SEO Issues
    11 7 160
    • 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.
    • Iamfaramon
      Iamfaramon last edited by

      I'm currently trying to find a way to stop googlebot from indexing specific areas of a page, long ago Yahoo search created this tag class=”robots-nocontent” and I'm trying to see if there is a similar manner for google or if they have adopted the same tag?

      Any help would be much appreciated.

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

        This is a good question and something I haven't looked into. From articles I've read I think this may be what you are searching for.

         <code>This is normal (X)HTML content that will be indexed by Google.
        
        This (X)HTML content will NOT be indexed by Google.</code> 
        
        1 Reply Last reply Reply Quote 1
        • chrissmithps
          chrissmithps last edited by

          Here is the article where this was taken from - http://perishablepress.com/tell-google-to-not-index-certain-parts-of-your-page/

          Iamfaramon 1 Reply Last reply Reply Quote 0
          • Iamfaramon
            Iamfaramon @chrissmithps last edited by

            Ahhh unfortunately the googleon / off  tags is only in conjunction with Google search appliance, if that's changed though it would be incredibly useful.

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

              ah ok looks like I still need to look into this further, if you do find anything I would love to hear how you can achieve it as I think it would be a useful technique to implement in some projects.

              1 Reply Last reply Reply Quote 0
              • Chris.Menke
                Chris.Menke last edited by

                You might try Inserting your text into Javascript or maybe, inserting it into an Iframe.

                Iamfaramon 1 Reply Last reply Reply Quote 2
                • Iamfaramon
                  Iamfaramon @Chris.Menke last edited by

                  I'm going to avoid iframes but the javascript does sound the best option so far, thank you!

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

                    Google is getting much better at reading javascript, however.

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

                      I don't know this to be a fact, but I would not be surprised that if you could hide specific content on a page from Google, it would not be the best trust signal and could have it's own downside.

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

                        We have just had a similar conundrum and plumped for the iframe option, sticking robots.txt on the iframe's source

                        1 Reply Last reply Reply Quote 0
                        • Dr-Pete
                          Dr-Pete last edited by

                          Unfortunately, there is no officially sanctioned method for blocking just a portion of a page from the index. As others have mentioned, there are tricks that might do it, but their effectiveness is inconsistent, and most of them will run the risk that Google could treat it as a red flag of some sort. More often, the results just end up being unpredictable (especially with JavaScript) and end up causing additional grief for your developers and visitors.

                          Most of the time, if you're dealing with substantial amounts of content you don't want indexed, I'd look for other solutions, such as grouping that content or making sure more of your content on any given page is unique. Unfortunately, that depends a lot on why you want it blocked, so it's hard to give a one-size-fits-all answer.

                          1 Reply Last reply Reply Quote 0
                          • 1 / 1
                          • First post
                            Last post
                          • Over 40+ pages have been removed from the indexed and this page has been selected as the google preferred canonical.
                            willcritchlow
                            willcritchlow
                            0
                            4
                            69

                          • Page missing from Google index
                            evolvingSEO
                            evolvingSEO
                            0
                            9
                            274

                          • Anything new if determining how many of a sites pages are in Google's supplemental index vs the main index?
                            SEMPassion
                            SEMPassion
                            0
                            4
                            390

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

                          • Pages removed from Google index?
                            TomLondon
                            TomLondon
                            0
                            5
                            73

                          • Has Google stopped rendering author snippets on SERP pages if the author's G+ page is not actively updated?
                            irvingw
                            irvingw
                            0
                            3
                            320

                          • How to Find all the Pages Index by Google?
                            BenFox
                            BenFox
                            0
                            6
                            411

                          • Google indexing page with description
                            adrianvender1
                            adrianvender1
                            0
                            2
                            747

                          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