On this page
What this issue is
Two different tools control what Google does with a page. robots.txt controls crawling: whether a bot may fetch the page. noindex controls indexing: whether the page may appear in search results. They are not the same thing.
The problem appears when you use both on the same URL. The page carries <meta name="robots" content="noindex"> (or an X-Robots-Tag: noindex header), but robots.txt has a Disallow rule matching it. Google respects the block, never fetches the page, and so never sees the noindex. The directive does nothing.
# robots.txt
User-agent: *
Disallow: /thank-you/
# Page at /thank-you/ contains:
<meta name="robots" content="noindex">
# Result: Googlebot never fetches /thank-you/, so it never reads the noindex.Why it costs you leads or sales
You added noindex because you did not want the page in search. If it stays indexed anyway, the wrong pages can be found by customers and by search ads reviewers alike. Typical examples are thank-you pages, internal offers, old campaign pages, staging copies and login or checkout steps.
The damage is usually indirect. People land on pages that were meant to be reached only after a form or purchase, which can pollute conversion counts in analytics and ad platforms. Thin or outdated pages can compete with the page you do want to rank. Search results show an empty snippet that looks broken and hurts trust. Impact is medium because it rarely stops sales outright, but it quietly distorts traffic and tracking.
- You add noindexMeta tag or header on the page
- robots.txt DisallowGooglebot is told not to fetch the URL
- Page never crawledGoogle cannot read the HTML or headers
- Noindex ignoredURL can stay in search results
The block in robots.txt stops Google before it reaches the page, so the directive is lost.
How to check if your site has it
Open your robots.txt
Visit yourdomain.com/robots.txt and list every Disallow rule. Note the paths and patterns, including wildcards such as /*?preview=.
Test a suspect URL in Search Console
In Google Search Console, paste the URL into the URL Inspection bar. If the page is blocked, the report says crawling is not allowed and the page fetch is blocked by robots.txt. The robots.txt report under Settings shows the version Google last fetched.
Look for the status in the Pages report
Open Indexing > Pages. Check the reasons 'Indexed, though blocked by robots.txt' and 'Blocked by robots.txt'. Any URL in the first group that you meant to hide is a candidate.
Confirm the noindex exists
Open the page, view source and search for noindex. Also check response headers for X-Robots-Tag. Your browser is not blocked by robots.txt, so you can see the tag even though Google cannot.
Crawl your site with a crawler
Tools such as Screaming Frog can crawl while ignoring robots.txt for the check, and report URLs that are both disallowed and noindex.
curl -sI https://example.com/thank-you/ | grep -i x-robots-tag
curl -s https://example.com/robots.txt | grep -i disallow
curl -s https://example.com/thank-you/ | grep -i 'name="robots"'How to fix it
The rule is simple: for a page you want removed from search, allow crawling and add noindex. Once Google has recrawled the page and dropped it, you can decide whether to block it again. Many sites never need to.
Decide the goal
If you want the page out of search, keep the noindex. If you only want to save crawl budget on huge sites, robots.txt alone is fine, but it will not reliably remove a URL from results.
Remove the Disallow rule
Delete or narrow the line in robots.txt that matches the page. Check wildcard rules so you do not unblock more than you intend.
Keep the noindex in place
Make sure the meta tag or X-Robots-Tag header is still served on the page.
Request a recrawl
In Search Console, run URL Inspection on the page and choose Request indexing. Google will fetch it, read the noindex and drop it.
Wait, then optionally re-block
After the URL shows as 'Excluded by noindex tag', you may add the Disallow back. Be aware that if the noindex is ever lost, the page could return.
Find the file
If you use Yoast SEO, go to Yoast SEO > Tools > File editor. In Rank Math, use Rank Math > General Settings > Edit robots.txt. Otherwise edit the robots.txt file in your site root over SFTP.
Remove the rule
Delete the Disallow line for the page, save, and reload yourdomain.com/robots.txt to confirm.
Edit the template
Go to Online Store > Themes > Edit code and add or open robots.txt.liquid under Templates. Remove any custom Disallow line you added for the page.
Check the default rules
Shopify blocks some paths by default, such as cart and checkout. Those are not editable beyond what the template allows, so use noindex on other pages instead.
Open SEO settings
Go to Site settings > SEO > Indexing and edit the robots.txt box. Remove the Disallow line and publish the site.
Edit robots.txt
Go to Marketing & SEO > SEO Tools > Robots.txt Editor. Remove the Disallow line for the page and save.
Know the limit
Squarespace generates robots.txt automatically and you cannot edit it. Use the page's SEO settings to hide it from search, and check the page is not covered by a default block.
Edit the file
Open robots.txt in your web root or the route that generates it, and remove or narrow the matching Disallow rule. Deploy and clear any CDN cache of the file.
Before: blocked
- Disallow: /thank-you/ in robots.txt
- noindex on the page is never fetched
- URL stays indexed with no snippet
After: crawlable with noindex
- No Disallow for /thank-you/
- Googlebot reads the noindex tag
- URL drops out of search results
How to confirm it's fixed
- yourdomain.com/robots.txt no longer has a Disallow rule matching the page.
- URL Inspection no longer says crawling is blocked by robots.txt.
- The live test shows the page can be fetched and reports 'noindex' detected.
- After a recrawl, the status changes to 'Excluded by noindex tag'.
- A site: search or a search for the URL no longer returns the page after a few days or weeks.
Day 0
You remove the Disallow rule and request indexing.
Days 1-3
Example: Googlebot fetches the page and reads the noindex.
Days 3-14
Example: the URL is dropped from the index and reported as excluded by noindex.
How to prevent it happening again
- Use noindex for pages you want out of search, and robots.txt only for crawl control.
- Never combine both on the same URL unless the page has already been removed.
- Review robots.txt whenever a developer, plugin or agency changes it.
- Run a crawler monthly that reports URLs that are both disallowed and noindex.
- Check the 'Indexed, though blocked by robots.txt' report in Search Console regularly.
- Keep a short note of why each Disallow rule exists.
How FunnelGuard handles this
FunnelGuard does not check for this yet. A robots.txt and noindex conflict is a possible future check, but today it is not part of the product.
What FunnelGuard does do is run your real customer journeys on a schedule, such as lead forms, checkouts and booking buttons, and check each step, the tracking hits and whether test leads arrive. That helps if an indexed thank-you page or a wrongly exposed step is distorting your conversions. It does not tell you why a page is indexed.
To watch for this issue yourself, use Google Search Console's Pages report for 'Indexed, though blocked by robots.txt', and run a crawler such as Screaming Frog on a schedule to flag URLs that are both disallowed and noindex. A free read-only website audit from FunnelGuard is also available, but it is not a substitute for those checks.
Questions people ask
Why is my noindex page still showing in Google?
One common reason is that robots.txt blocks the page. Google cannot crawl a blocked URL, so it never reads the noindex tag and may keep the URL in results. Remove the Disallow rule so Google can fetch the page and see the directive.
Does robots.txt Disallow remove a page from Google?
No. Disallow only stops crawling. A blocked URL can still be indexed if other pages link to it, usually with no description. To remove a page, let it be crawled and use noindex.
Should I use noindex or robots.txt to hide a page?
Use noindex to keep a page out of search results, and keep it crawlable so the tag is read. Use robots.txt only to manage crawling, such as saving crawl budget. For truly private content, use a login.
What does 'Indexed, though blocked by robots.txt' mean?
It means Google has the URL in its index but was not allowed to crawl it. This usually happens because other pages link to it. Decide if you want it indexed: if not, unblock it and add noindex.
Can I add the robots.txt block back after the page is removed?
Yes, once Search Console shows the page as excluded by noindex you can block it again. The risk is that if the noindex is later removed, you will not notice the page returning. Many sites simply leave it crawlable.
How do I check if Google can see my noindex tag?
Open Search Console, paste the URL into URL Inspection and run the live test. It shows whether the page can be fetched and whether noindex is detected. If the fetch is blocked by robots.txt, Google cannot see the tag.
Does FunnelGuard check for noindex and robots.txt conflicts?
No, not yet. It is a possible future check. For now, use Google Search Console and a site crawler to watch for it.
Related issues
- SEO-026noindex meta tag on a money or landing pageFix guide
- SEO-027X-Robots-Tag: noindex HTTP header on a landing pageFix guide
- SEO-029noindex added sitewide by a CMS setting ('Discourage search engines' in WordPress)Fix guide
- SEO-032Conflicting robots directives (index and noindex both present)Fix guide
- SEO-039Pages noindexed but still in the XML sitemapFix guide
- SEO-040Removal requested in Search Console's Removals tool and forgottenFix guide