Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Noindex served only to Googlebot: how to find and fix it

SEO-030High impactOther toolBy FunnelGuardPublished Updated
On this page

What this issue is

A noindex directive tells search engines not to show a page in results. It can sit in a <meta name="robots"> tag or in an X-Robots-Tag HTTP header. Normally every visitor gets the same directive.

With this issue, the server decides based on the user agent, the text a visitor sends to say who it is. When the user agent contains Googlebot, the response includes noindex. When it is a normal browser, the page is clean. So checking the page source in your own browser shows nothing wrong.

Common sources are a security or bot-filtering rule, a CDN or edge worker, a staging-protection snippet that was copied to production, a caching layer that stored a bot-specific version, or custom code that treats crawlers differently. It is not a Google bug. Google is following the instruction it received.

Why it costs you leads or sales

Once Google re-crawls the page and sees noindex, it removes the page from results. Organic visits to your landing, product or booking page drop, and so do the leads and orders that came from them. Because the page works for you and your team, nobody notices until traffic falls.

AI search tools that rely on Google or Bing indexes can also stop citing the page. Recovery is slow, since Google must re-crawl and re-process the URL after you fix it.

How it unfolds (Example)
  1. Day 0

    A bot-filtering rule or edge rule starts adding noindex for Googlebot requests.

  2. Day 1-7

    Googlebot re-crawls the page and sees noindex. Browsers still see a normal page.

  3. Week 2

    The URL drops out of Google results. Organic leads fall.

  4. Week 3

    Someone spots the drop in Search Console as 'Excluded by noindex tag'.

  5. After the fix

    Rule removed, re-crawl requested, page returns over days or weeks.

Organic leads from the affected pageExample numbers
Organic leads from the affected page (example)Before: 40 leads per week; Noindex live: 4 leads per week; After fix: 34 leads per week0153140434BeforeNoindex liveAfter fixleads per week

Example: illustrative numbers showing leads before the rule, after the page drops out of results, and after recovery.

How to check if your site has it

You need to see the page the way Googlebot sees it. Use more than one method, because each can miss a case.

Check for a Googlebot-only noindex
  1. Run Search Console's URL Inspection

    Paste the page URL into URL Inspection. Look for 'Excluded by noindex tag' or 'Indexing allowed? No: noindex detected in X-Robots-Tag HTTP header' or in the meta tag.

  2. Run the live test

    Click 'Test live URL', then 'View tested page' to see the HTML and HTTP response Google fetched. Compare it with what your browser shows.

  3. Request the page with a Googlebot user agent

    Use curl with the header below and compare it with a normal request. Look for x-robots-tag and for a robots meta tag in the body.

  4. Compare the two responses

    If only the Googlebot request contains noindex, you have this issue. Note which header or tag appears.

  5. Check the Pages report

    In Search Console go to Indexing > Pages and open 'Excluded by noindex tag'. List the affected URLs and look for patterns such as one template or folder.

Compare a normal request with a Googlebot requestbash
# Normal request: headers only
curl -sI https://example.com/landing-page/ | grep -i x-robots-tag

# Googlebot user agent: headers only
curl -sI -A "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)" https://example.com/landing-page/ | grep -i x-robots-tag

# Check the HTML for a robots meta tag as Googlebot
curl -s -A "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)" https://example.com/landing-page/ | grep -i 'name="robots"'
Where the directive appears
  1. Visitor requestBrowser user agent gets a clean page
  2. Googlebot requestRule adds noindex to the response
  3. Google indexPage removed from results
  4. Organic visitNo search traffic arrives
  5. Lead or saleNever happens

The page works for people, but the crawler is told not to index it, so organic leads are lost.

How to fix it

The fix is to find the one rule that adds the directive for crawlers and remove it. Work from the outside in: CDN or firewall first, then server config, then the CMS and plugins, then custom code.

Find and remove the source
  1. Identify whether it is a header or a meta tag

    Your curl test shows this. A header points to the server, CDN or an app adding headers. A meta tag points to the theme, a plugin or templates.

  2. Check the CDN, firewall and edge rules

    Look in Cloudflare, Fastly, Akamai or similar for transform rules, response header rules, workers or bot rules that match the Googlebot user agent and set X-Robots-Tag.

  3. Check server config

    Search Apache, Nginx or hosting panel config for 'Googlebot', 'X-Robots-Tag' and 'noindex'.

  4. Check the CMS, plugins and theme

    Disable SEO, security, performance or staging plugins one at a time on a copy of the site and re-run the curl test.

  5. Purge caches

    Clear the CDN, server and plugin caches so no bot-specific cached copy remains.

  6. Re-test as Googlebot

    Run both curl commands again, then use URL Inspection live test.

Where to look on each platform
  1. Check Settings > Reading

    Make sure 'Discourage search engines from indexing this site' is unticked. It is sitewide, but rule it out first.

  2. Review SEO and security plugins

    Check Yoast SEO, Rank Math, firewall and bot-blocking plugins for rules by user agent. Deactivate one at a time and re-test.

  3. Search theme and plugin code

    Search wp-content for Googlebot, X-Robots-Tag and noindex, including functions.php and mu-plugins.

Example of the kind of rule to removenginx
# REMOVE rules like this
map $http_user_agent $robots_header {
    default "";
    ~*googlebot "noindex, nofollow";
}
server {
    add_header X-Robots-Tag $robots_header;
}
Response to Googlebot

Before

  • Browser gets 200 with no robots directive
  • Googlebot gets X-Robots-Tag: noindex
  • Search Console shows 'Excluded by noindex tag'

After

  • Browser and Googlebot get the same response
  • No noindex header or meta tag on money pages
  • URL Inspection shows 'Indexing allowed? Yes'

How to confirm it's fixed

Confirmation checks
  • The Googlebot curl test shows no x-robots-tag noindex and no robots meta noindex
  • A normal curl request and the Googlebot request return the same directives
  • URL Inspection live test says the page is available to Google and indexing is allowed
  • You clicked 'Request indexing' for key pages
  • Search Console's 'Excluded by noindex tag' count falls over the following weeks
  • The page appears for a site:yourdomain.com/page search, allowing for delay

Google needs to re-crawl each URL before it changes its mind, so recovery can take days or weeks. Resubmit the XML sitemap to speed up discovery.

How to prevent it happening again

Prevention habits
  • Never vary robots directives by user agent. Serve every visitor the same response
  • Protect staging with a login or IP allowlist, not with crawler-specific rules
  • Keep a short list of who can edit CDN, firewall and server header rules
  • Re-run the Googlebot curl test after changing plugins, CDN rules or hosting
  • Watch Search Console's Pages report and email alerts for new noindex exclusions
  • Record every robots-related rule in a change log with a date and owner
Ways to watch for a crawler-only noindex
MethodWhat it showsHow often
Search Console Pages reportURLs excluded by noindexWeekly
URL Inspection live testWhat Google's crawler gets right nowAfter each change
curl with Googlebot user agentHeaders and meta tag per user agentAfter each deploy
Third-party site crawler set to Googlebot user agentDirectives across many URLsMonthly

How FunnelGuard handles this

FunnelGuard does not check for this yet. A noindex served only to Googlebot is a possible future check, but today it is not covered.

What FunnelGuard does do is run your real customer journeys with a robot visitor on a schedule: lead forms, checkouts, booking and chat buttons. It checks each step, the tracking hits sent to ad and analytics platforms, and whether test leads reach your inbox and CRM. That protects the conversion side of the funnel, but it will not tell you that Google has dropped a page from search.

To watch for this issue, use the manual routes above: the Search Console Pages report, the URL Inspection live test, and a scheduled crawl with a Googlebot user agent from a site crawler. You can also run a free read-only FunnelGuard website audit, but treat it as a general review rather than a check for this specific problem.

Questions people ask

Why does Google say my page has a noindex tag when I can't see one?

Your site may send noindex only to requests that identify as Googlebot, so a normal browser never sees it. Check the page with Search Console's URL Inspection live test, or run curl with a Googlebot user agent and look for an X-Robots-Tag header or a robots meta tag.

How do I check what Googlebot sees on my page?

Use the URL Inspection tool in Google Search Console and click 'Test live URL', then 'View tested page'. You can also run curl with a Googlebot user agent and compare the headers and HTML with a normal request.

What causes noindex to be served only to Googlebot?

Common causes are a security or bot rule, a CDN or edge worker, a staging-protection rule copied to production, a plugin, or custom code that checks the user agent. A cached bot-specific copy can keep the problem alive after you remove the rule.

Is serving noindex only to Googlebot cloaking?

Sending crawlers a different response than users can conflict with Google's spam policies, even when it happens by accident. Fix it so every visitor, including Googlebot, gets the same directives.

How long does it take to get back into Google after removing noindex?

It depends on how often Google re-crawls the URL. It can take days or weeks. Request indexing in URL Inspection for key pages and resubmit your sitemap to help.

Can I find this with a normal SEO crawler?

Only if the crawler lets you set the user agent to Googlebot, and only if your firewall does not block fake Googlebot requests by IP. Search Console's live test is the most reliable check because it uses Google's real crawler.

Does FunnelGuard detect noindex served only to Googlebot?

No. FunnelGuard does not check for this yet, though it is a possible future check. It monitors your forms, checkouts, tracking and lead delivery, so use Search Console and a crawler for indexing directives.

How do I keep a staging site out of Google safely?

Put it behind HTTP basic authentication or an IP allowlist. This blocks all crawlers without a user agent rule that could be copied to production.

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.