[{"data":1,"prerenderedAt":200},["ShallowReactive",2],{"seo-blog/indexed-though-blocked-by-robots-txt":3},{"slug":4,"kind":5,"archetype":5,"cluster":6,"navGroup":6,"navLabel":7,"meta":8,"breadcrumbs":12,"hero":20,"sections":57,"article":196},"blog/indexed-though-blocked-by-robots-txt","hub","resources","Indexed, Though Blocked by robots.txt",{"title":9,"description":10,"canonicalPath":11},"\"Indexed, Though Blocked by robots.txt\": What It Means & Fixes","Search Console says \"Indexed, though blocked by robots.txt\"? What it means, when you can ignore it, and how to fix it whether you want the page in Google or out of it.","/blog/indexed-though-blocked-by-robots-txt",[13,16,19],{"label":14,"href":15},"Home","/",{"label":17,"href":18},"Blog","/blog",{"label":7,"href":11},{"eyebrow":21,"headline":22,"intentStatement":23,"bullets":24,"primaryCta":34,"secondaryCta":37,"proofPanel":40},"Search Console","\"Indexed, Though Blocked by robots.txt\": What It Means and How to Fix It","Search Console has flagged pages as \"Indexed, though blocked by robots.txt\", and it sounds like a contradiction. It isn't, and it's often harmless. But sometimes it means a page you wanted in Google is half-hidden, or a page you wanted gone is still showing up. Here's how to tell which, and the right fix for each.",[25,28,31],{"icon":26,"text":27},"heroicons:question-mark-circle","What the warning means, in plain words",{"icon":29,"text":30},"heroicons:check-circle","When you can safely ignore it",{"icon":32,"text":33},"heroicons:wrench-screwdriver","The right fix, whether you want the page in Google or out",{"label":35,"href":36},"Run a free check","/scan",{"label":38,"href":39},"See robots.txt monitoring","/features/robots-txt-monitoring",{"type":41,"reportTitle":42,"severity":43,"findings":44,"generatedAt":56},"report","Page indexing: warning","warning",[45,48,51,53],{"label":46,"status":47},"Page is in Google","pass",{"label":49,"status":50},"Google can read the page","fail",{"label":52,"status":50},"Search result has a description",{"label":54,"status":55},"robots.txt rule matches this address","info","Indexed, though blocked by robots.txt",[58,65,99,105,119,142,166,188],{"id":59,"tocLabel":60,"type":61,"eyebrow":62,"heading":63,"html":64},"meaning","What it means","prose","The short version","What \"Indexed, though blocked by robots.txt\" means","\n\u003Cp>Your robots.txt file tells Google which addresses on your site it may visit. When a rule in it covers a page, Google respects that and doesn't read the page. But Google can still learn the page exists, usually because something links to it: another site, your own menu, a sitemap.\u003C/p>\n\u003Cp>That's the situation this warning describes. In Google's words, the page \"was indexed despite being blocked by your website's robots.txt file.\" Google never opened the page, so it indexed the address using what the linking pages say about it. Google adds that any snippet shown for the page \"will probably be very limited\", which is why these results often appear with no description at all.\u003C/p>\n\u003Cp>So the warning means two things are true at once:\u003C/p>\n\u003Cul>\n  \u003Cli>The page can appear in Google search results.\u003C/li>\n  \u003Cli>Google can't see what's on it, so the result looks bare and can't rank on the page's content.\u003C/li>\n\u003C/ul>\n\u003Cp>It's listed as a warning, not an error. Whether you need to do anything depends entirely on one question: \u003Cstrong>do you want this page in Google or not?\u003C/strong>\u003C/p>\n\n\u003Ch3>How it differs from \"Blocked by robots.txt\"\u003C/h3>\n\u003Cp>Search Console has a second, similar status: \u003Cstrong>Blocked by robots.txt\u003C/strong>. That one means Google found the address, wasn't allowed to visit, and left it out of the index. \"Indexed, though blocked\" means it was left unvisited but put in the index anyway. For plain \"Blocked by robots.txt\", Google notes that such pages \"are probably intentionally blocked\" and it's up to you whether to act. We cover that status, and what to do when it hits pages you care about, in \u003Ca href=\"/blog/robots-txt-disallow-all-deindexed\">how a stray \"Disallow: /\" deindexed an entire site\u003C/a>.\u003C/p>\n",{"id":66,"tocLabel":67,"type":68,"eyebrow":69,"heading":70,"items":71},"causes","Why it happens","failure-modes-grid","Common reasons","Why pages end up indexed but blocked",[72,77,81,86,91,95],{"icon":73,"title":74,"description":75,"severity":76},"heroicons:shopping-cart","Cart, checkout and account pages","Shops block these on purpose, and they get linked from every product page. Shopify's default robots.txt blocks the cart, checkout and account pages, for example. Usually nothing to fix.","low",{"icon":78,"title":79,"description":80,"severity":76},"heroicons:magnifying-glass","Internal search and filter pages","Search result pages and filtered or sorted lists are often blocked to keep Google from wading through endless variations. Links to them can still get them indexed.",{"icon":82,"title":83,"description":84,"severity":85},"heroicons:link","Other sites link to a blocked page","Google's own explanation: robots.txt doesn't prevent indexing if someone else links to your page. The more links, the more likely the address shows up.","moderate",{"icon":87,"title":88,"description":89,"severity":90},"heroicons:no-symbol","You used robots.txt to hide a page","A common mix-up. Blocking a page in robots.txt stops Google reading it, not listing it. If you wanted it out of Google, this is the wrong tool.","critical",{"icon":92,"title":93,"description":94,"severity":90},"heroicons:pencil-square","A rule wider than you meant","A rule meant for one folder matches more than intended, so pages you want in Google are now blocked but still linked. They stay listed, with no description.",{"icon":96,"title":97,"description":98,"severity":85},"heroicons:arrows-right-left","A plugin or migration rewrote robots.txt","An SEO plugin, theme change or platform move replaced your robots.txt with new rules, and pages that used to be open are now blocked.",{"id":100,"tocLabel":101,"type":61,"eyebrow":102,"heading":103,"html":104},"fix","How to fix it","Fixes","How to fix it: first decide what you want","\n\u003Cp>Open the warning in Search Console's Page indexing report and look at the example addresses. Sort them into three groups.\u003C/p>\n\n\u003Ch3>1. Pages that should be blocked and you don't mind seeing listed: leave them\u003C/h3>\n\u003Cp>Cart, checkout, login, account and internal search pages fall here for most sites. A bare listing for your cart page does no harm. Google says it might not always make sense to fix a given issue, and to use your judgment. You don't have to clear every warning in Search Console.\u003C/p>\n\n\u003Ch3>2. Pages you want in Google: remove the block\u003C/h3>\n\u003Cp>If a product page, blog post or service page is in the list, a rule is stopping Google from reading something you want found. Google's advice is to update your robots.txt file to unblock the page.\u003C/p>\n\u003Col>\n  \u003Cli>Open \u003Ccode>yourdomain.com/robots.txt\u003C/code> and find the \u003Ccode>Disallow\u003C/code> line that matches the page's address. Remember that rules match by how the address starts: \u003Ccode>Disallow: /p\u003C/code> blocks \u003Ccode>/products/\u003C/code> and \u003Ccode>/pricing\u003C/code> too.\u003C/li>\n  \u003Cli>Remove the line, or narrow it so it only covers what you meant to block.\u003C/li>\n  \u003Cli>In Search Console, open the \u003Cstrong>robots.txt report\u003C/strong> (under Settings) to check Google has the new version. Google recrawls robots.txt often, but if you unblocked important pages you can choose \u003Cstrong>Request a recrawl\u003C/strong>. Google notes this doesn't guarantee an immediate recrawl of the pages you unblocked.\u003C/li>\n  \u003Cli>Run URL Inspection on one of the pages and request indexing.\u003C/li>\n\u003C/ol>\n\n\u003Ch3>3. Pages you want out of Google: allow crawling, then add noindex\u003C/h3>\n\u003Cp>This is the counter-intuitive one. To get a page out of Google, you have to \u003Cstrong>let Google in\u003C/strong>. Google says robots.txt \"is not a mechanism for keeping a web page out of Google\". To keep a page out, it says to block indexing with noindex or put the page behind a password.\u003C/p>\n\u003Col>\n  \u003Cli>Add a noindex instruction to the page. On WordPress, an SEO plugin such as Yoast SEO or Rank Math can set this per page. Elsewhere, add \u003Ccode>&lt;meta name=\"robots\" content=\"noindex\"&gt;\u003C/code> to the page, or have your developer send it as a header.\u003C/li>\n  \u003Cli>Remove the robots.txt rule that blocks the page. This step matters: Google says that if the page is blocked by robots.txt, its crawler \"will never see the noindex rule\", and the page can still appear in results.\u003C/li>\n  \u003Cli>Wait for Google to revisit. Once it reads the noindex, it drops the page from results.\u003C/li>\n  \u003Cli>If the page shouldn't exist at all, delete it or redirect it to a useful page instead.\u003C/li>\n\u003C/ol>\n\u003Cp>Don't try to put \u003Ccode>noindex\u003C/code> inside robots.txt itself. Google states that specifying noindex in the robots.txt file is not supported.\u003C/p>\n\n\u003Ch3>Platform notes\u003C/h3>\n\u003Cul>\n  \u003Cli>\u003Cstrong>WordPress\u003C/strong> creates a robots.txt for you if you don't have one. Its default only blocks the \u003Ccode>/wp-admin/\u003C/code> area (and allows one file inside it that sites need). If you see far more blocked, a plugin or a hand-made robots.txt file added the rules.\u003C/li>\n  \u003Cli>\u003Cstrong>Shopify\u003C/strong> generates a default robots.txt that blocks pages like the cart, checkout and customer account. Those showing up in this warning is normal. Shopify lets you change the rules by adding a \u003Ccode>robots.txt.liquid\u003C/code> template to your theme, which replaces the default file, so only do that if you know which rules you need.\u003C/li>\n\u003C/ul>\n\n\u003Ch3>Tell Search Console you fixed it\u003C/h3>\n\u003Cp>Once every affected page you care about is fixed, open the issue in the Page indexing report and click \u003Cstrong>Validate fix\u003C/strong>. Google says validation typically takes up to about two weeks, sometimes longer, and emails you as it progresses. Don't click it again while it's running. If you never validate, Google still updates the count as it recrawls the pages.\u003C/p>\n",{"id":106,"tocLabel":107,"type":108,"stats":109},"trust","Trust","trust-strip",[110,113,116],{"value":111,"label":112},"20","Detection rules",{"value":114,"label":115},"5–30 min","Check intervals",{"value":117,"label":118},"Free","1 site",{"id":120,"tocLabel":121,"type":122,"eyebrow":123,"heading":124,"items":125},"prevention","Prevention","benefits-grid","Stay ahead of it","How to keep robots.txt from causing surprises",[126,130,134,138],{"icon":127,"title":128,"description":129},"heroicons:document-text","Keep a note of every rule","Write down why each Disallow line exists. When a warning shows up later, you can tell at a glance whether the block is on purpose.",{"icon":131,"title":132,"description":133},"heroicons:arrow-path","Re-read robots.txt after changes","Check the live file after every SEO plugin change, theme switch or migration. These are the moments rules get added or replaced.",{"icon":135,"title":136,"description":137},"heroicons:chart-bar","Watch the Page indexing report","A jump in \"Blocked by robots.txt\" or \"Indexed, though blocked\" pages after a change is the clearest early sign a rule went wider than planned.",{"icon":139,"title":140,"description":141},"heroicons:bell-alert","Get told when the worst case happens","Sitewatch alerts you the day your robots.txt starts blocking your whole site, or starts failing to load. It doesn't watch single-page rules or noindex tags, so keep checking Search Console for those.",{"id":143,"tocLabel":144,"type":145,"heading":146,"items":147},"faq","FAQ","faq-accordion","Indexed, though blocked by robots.txt: FAQ",[148,151,154,157,160,163],{"question":149,"answer":150},"Is \"Indexed, though blocked by robots.txt\" bad?","Not necessarily. It's a warning, not an error. If the pages are ones you blocked on purpose, such as the cart or internal search, you can usually leave them. It's only a problem if the pages are ones you want people to find, or ones you wanted removed from Google entirely.",{"question":152,"answer":153},"Why does Google index a page it's not allowed to crawl?","Because robots.txt only controls crawling. Google says it can still index a blocked address if it's linked from other places, using information such as the link text. It never reads the page itself, so the result usually has little or no description.",{"question":155,"answer":156},"How do I remove a page that's indexed though blocked?","Add a noindex tag to the page, then remove the robots.txt rule that blocks it so Google can visit and see the noindex. Google says a page blocked by robots.txt never has its noindex seen. Leaving the block in place keeps the page stuck in this state.",{"question":158,"answer":159},"Can I put noindex in robots.txt?","No. Google states that specifying the noindex rule in the robots.txt file is not supported. Noindex has to be on the page itself, as a meta tag, or sent as a header.",{"question":161,"answer":162},"How long does it take for the warning to go away?","Google has to recrawl the affected pages first. If you click Validate fix in the Page indexing report, Google says validation typically takes up to about two weeks, and sometimes longer.",{"question":164,"answer":165},"Can Sitewatch tell me when robots.txt blocks my pages?","Sitewatch alerts you when your robots.txt starts blocking search engines from your whole site, or stops loading, and the free scan flags a site-wide block too. It doesn't track rules that block single pages or folders, and it doesn't check for noindex tags. For those, Search Console's Page indexing report is the place to look.",{"id":167,"tocLabel":168,"type":169,"eyebrow":170,"heading":171,"links":172},"related","Related","related-links-grid","Keep reading","Related resources",[173,177,181,184],{"label":174,"href":175,"description":176,"icon":127},"Robots.txt Disallow All Deindexed My Site","/blog/robots-txt-disallow-all-deindexed","How one robots.txt line takes a site off Google, and how to recover.",{"label":178,"href":179,"description":180,"icon":127},"Website Not Showing Up on Google?","/blog/website-not-showing-on-google","The 9 usual reasons a site is missing from Google, and how to fix each.",{"label":182,"href":39,"description":183,"icon":87},"Robots.txt Monitoring","Know the day a setting starts hiding your site from Google.",{"label":185,"href":36,"description":186,"icon":187},"Free Website Health Check","Find broken images, links, an expiring certificate and settings that hide you from Google.","heroicons:bolt",{"id":189,"tocLabel":190,"type":191,"heading":192,"subtext":193,"primaryLabel":194,"primaryHref":195},"cta","Get started","cta-strip","Find out the day robots.txt blocks your whole site","Sitewatch alerts you when robots.txt starts blocking search engines or stops loading. Free plan for 1 site.","Start monitoring for free","https://app.getsitewatch.com",{"headline":22,"datePublished":197,"authorName":198,"authorUrl":199},"2026-11-23","Nicky Christensen","https://www.linkedin.com/in/dknickychristensen/",1795506060115]