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. Why is our noindex tag not working?

    Why is our noindex tag not working?

    Intermediate & Advanced SEO
    5 4 1.4k
    • 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.
    • eddys_kap
      eddys_kap last edited by

      Hi,

      I have the following page where we've implemented a no index tag. But when we run this page in screaming frog or this tool here to verify the noidex is present and functioning, it shows that it's not.

      But if you view the source of the page, the code is present in the head tag. And unfortunately we've seen instances where Google is indexing pages we've noindexed. Any thoughts on the example above or why this is happening in Google?

      Eddy

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

        I ran that page thru screaming frog and it came back with a "blocked by robots" status.

        The second tool you suggested is not finding the noindex tag and I don't have an explanation for that, nor am I familiar with the tool.

        A site command does not return any results.

        Are you sure you have a problem? Is there another example you can provide?

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

          The example page does have a noindex tag in place, but it's not formatted correctly, so it's being ignored. Very subtle issue, but your tag is using "smart quotes" around the elements instead of the plain quotation marks that are required for code. If you look very carefully at the page source code, you'll see that they are quotation marks like you'd see in a Word document; the ones at the beginning of robots and noindex curl a different way than the ones at the end.) This usually occurs when the content was written in a word processor instead of a plain-text editor.

          Because the tag's not formatted correctly, it's ignored by both the crawling tools and the search engines.

          In addition, the site also has all pages blocked from crawling by the sitewide robots.txt file. This and noindex are conflicting instructions to search engines.

          If a page is blocked in robots.txt, then the search engine will not crawl the page and so is not able to discover the noindex tag, even if it were formatted correctly. Therefore if the search engine becomes aware of the page in any other way than straight crawling (and there are a number of ways this can happen), then the page will still get indexed.

          If it's a dev site, the proper way to keep it from being indexed is to either noindex all pages, or to put the site behind a password so the search engines and public visitors can't access it. If using noindex, the site must not be blocked with a robots.txt directive.

          Does that all make sense?

          Paul

          1 Reply Last reply Reply Quote 2
          • ThompsonPaul
            ThompsonPaul @DonnaDuncan last edited by

            That SF response is from the robots.txt block, not a noindex tag though. SF is also ignoring the incorrectly formatted tag (as it should).

            Paul

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

              Hi Eddy,

              Edit: this was already answered before I could post my reply. But I've left the example.

              The issue with the meta robots tag is that you are using curly quotation marks around robots and noindex:
              You have:
              “robots**” content=“noindex”/>
              Instead of:
              name=
              "robots" content="noindex"**/>

              This will fix your issue.

              Cheers,

              David

              1 Reply Last reply Reply Quote 1
              • 1 / 1
              • First post
                Last post
              • Site moved. Unable to index page : Noindex detected in robots meta tag?!
                effectdigital
                effectdigital
                0
                4
                1.7k

              • How to get a large number of urls out of Google's Index when there are no pages to noindex tag?
                effectdigital
                effectdigital
                0
                2
                50

              • Does having alot of pages with noindex and nofollow tags affect rankings?
                JimJ
                JimJ
                0
                9
                248

              • Meta NoIndex tag and Robots Disallow
                ThompsonPaul
                ThompsonPaul
                0
                5
                1.3k

              • Accidently added a nofollow, noindex tag and then...
                irvingw
                irvingw
                0
                4
                1.1k

              • Canonical vs noindex for blog tags
                NakulGoyal
                NakulGoyal
                0
                2
                399

              • NOINDEX or NOINDEX,FOLLOW
                mad2k
                mad2k
                0
                4
                32.8k

              • Should I check Use noindex for Tag Archives?
                joseph.chambers
                joseph.chambers
                0
                5
                3.2k

              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