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. Google has deindexed a page it thinks is set to 'noindex', but is in fact still set to 'index'

    Google has deindexed a page it thinks is set to 'noindex', but is in fact still set to 'index'

    Technical SEO Issues
    5 3 93
    • 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.
    • d.bird
      d.bird last edited by

      A page on our WordPress powered website has had an error message thrown up in GSC to say it is included in the sitemap but set to 'noindex'. The page has also been removed from Google's search results.

      Page isĀ https://www.onlinemortgageadvisor.co.uk/bad-credit-mortgages/how-to-get-a-mortgage-with-bad-credit/

      Looking at the page code, plus using Screaming Frog and Ahrefs crawlers, the page is very clearly still set to 'index'. The SEO plugin we use has not been changed to 'noindex' the page.

      I have asked for it to be reindexed via GSC but I'm concerned why Google thinks this page was asked to be noindexed.

      Can anyone help with this one? Has anyone seen this before, been hit with this recently, got any advice...?

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

        This is really weird. Really really weird!

        As you say, your site's source code seems to confirm that it is set to index. If we look here, we can plainly see that the coding syntax for a no-index directive is "noindex" (all one word).

        Let's look at your source code:

        • https://d.pr/i/RAYzE4.png

        Yep, everything seems fine there! But what if a script is modifying your source code and including the directive - and Google's picking up on that?

        If we look at the modified source code which I rendered and saved to a file here:

        • https://d.pr/f/1ZKNfF.php

        ... we can see, there are no problems here either:

        • https://d.pr/i/kcxO0z.png

        Wow - that's really unhelpful! 😧

        Let's see what happens if we specifically search Google's live index for the URL:

        • https://d.pr/i/944xFl.png

        Interestingly, when we search Google's index for this page, we get this page returned instead.

        It makes sense that Google would return that URL if it couldn't return the main URL, as one is nested inside of the other. If everything was healthy, we'd see Google listing both URLs instead of just one of them. Even if you edit my index query to remove the trailing slash, you still only get the nested URL (not the one you want to be showing, which is at a slightly higher-up level)

        Another thought I had was, hmm maybe this is a canonical tag gone rogue. That bore no fruit either, as this page (which you want to index, yet won't) canonicals to this page - and both of those URLs areĀ exactly the same. As such, it's obvious that we can't blame the canonical tag either! I even viewed the modified source to see if it got altered, no dice (the canonical tag is just fine)

        Maybe the XML file is telling Google not to index the URL?

        • https://d.pr/i/dvbCfy.png

        Nope - that's fine too! No problems there...

        Could the robots.txt file be interfering?

        • https://d.pr/i/DmAN1t.png

        No! Darn it, that's not the problem

        I know that a no-index or blocking directive can also be sent through the HTTP header (usually via X-robots). Let's check the response header of your URL out:

        • https://d.pr/i/cy0MoW.png

        Nothing there that really raises my eyebrow. This is enabled and set to block, but to be honest that shouldn't affect Google's crawling at all. Anyone correct me if I am wrong, but defending your site against cross-site scripting (XSS) attacks doesn't impede crawling right?

        Fudge it. Let's fling it through Google's Page-Speed Insights tool. Usually that will tell you if something is being blocked and why...

        • https://developers.google.com/speed/pagespeed/insights/?url=https%3A%2F%2Fwww.onlinemortgageadvisor.co.uk%2Fbad-credit-mortgages%2Fhow-to-get-a-mortgage-with-bad-credit%2F&tab=desktop

        Nothing useful still!

        Google's mobile friendly tool gives us some, semi-interesting information:

        • https://search.google.com/test/mobile-friendly?view=fetch-info&id=g4uSC2GcoipwxKk-PtqN2Q

        But it doesn't say the page can't be loaded. It only says some resources which the page pulls in can't be loaded! And guess what? They're all external things on other websites (other than a few theme related bits, but nothing IMO that should stop the whole page loading).

        Let's try DeepCrawl's indexability checker (they make amazing software by the way... expensive though):

        • https://d.pr/i/Iyrzq5.png

        Sir... there isĀ NO GOOD REASON why your URL shouldn't be indexed. I am 99.9% certain you have encountered a legit Google bug. Post about it here. Only Google can help you at this juncture

        d.bird 1 Reply Last reply Reply Quote 2
        • jasongmcmahon
          jasongmcmahon last edited by

          Hi there, check that caching isn; the issues at server & CMS levels. Other than that reindex the page via GSC

          d.bird 1 Reply Last reply Reply Quote 1
          • d.bird
            d.bird @effectdigital last edited by

            Thanks for going into so much detail, much appreciated.

            We've asked Google to reindex it and 'validate the fix', even though we can't find anything to fix!

            1 Reply Last reply Reply Quote 0
            • d.bird
              d.bird @jasongmcmahon last edited by

              Thanks, I'll take a look

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              • First post
                Last post
              • Can I still monitor noindex, nofollow pages with Google Analytics?
                paints-n-design
                paints-n-design
                0
                2
                471

              • Should you use google url remover if older indexed pages are still being kept?
                Deacyde
                Deacyde
                0
                5
                96

              • Page disappeared from Google index. Google cache shows page is being redirected.
                shop.nordstrom
                shop.nordstrom
                0
                5
                761

              • How Does Google's "index" find the location of pages in the "page directory" to return?
                reidsteven75
                reidsteven75
                0
                9
                215

              • Lots of Pages Dropped Out of Google's Index?
                ThompsonPaul
                ThompsonPaul
                0
                3
                1.0k

              • Does Google Still Pass Anchor Text for Multiple Links to the Same Page When Using a Hashtag? What About Indexation?
                Cyrus-Shepard
                Cyrus-Shepard
                0
                2
                872

              • Why is google not deindexing pages with the meta noindex tag?
                NikolasNikolaou
                NikolasNikolaou
                0
                13
                6.5k

              • Web page is showing up on Google but doesn't show when it was cached, so is it indexed?
                conversiontactics
                conversiontactics
                0
                5
                284

              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