Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Noindex page blocked in robots.txt: why noindex is ignored

SEO-038Medium impactOther toolBy FunnelGuardPublished Updated
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.

Example of the conflicttext
# 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.

Why the noindex is never read
  1. You add noindexMeta tag or header on the page
  2. robots.txt DisallowGooglebot is told not to fetch the URL
  3. Page never crawledGoogle cannot read the HTML or headers
  4. 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

Find pages with both a block and a noindex
  1. Open your robots.txt

    Visit yourdomain.com/robots.txt and list every Disallow rule. Note the paths and patterns, including wildcards such as /*?preview=.

  2. 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.

  3. 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.

  4. 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.

  5. 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.

Check the header and robots.txt from a terminalbash
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.

Let Google see the noindex
  1. 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.

  2. 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.

  3. Keep the noindex in place

    Make sure the meta tag or X-Robots-Tag header is still served on the page.

  4. 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.

  5. 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.

Where to edit robots.txt on your platform
  1. 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.

  2. Remove the rule

    Delete the Disallow line for the page, save, and reload yourdomain.com/robots.txt to confirm.

robots.txt before and after

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

Confirmation checks
  • 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.
What to expect after the fix (example timing)
  1. Day 0

    You remove the Disallow rule and request indexing.

  2. Days 1-3

    Example: Googlebot fetches the page and reads the noindex.

  3. Days 3-14

    Example: the URL is dropped from the index and reported as excluded by noindex.

How to prevent it happening again

Prevention habits
  • 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.

Does FunnelGuard catch this?

Other tool

Needs a different kind of tool.

Stop finding out from your customers

FunnelGuard runs your real forms and checkouts on a schedule, checks the tracking and the leads behind them, and alerts you once, with a screenshot. Try any paid plan free for 3 days.