On this page
What this issue is
Every web page is sent with HTTP headers: small lines of information that travel before the page itself. One of them can be X-Robots-Tag. When it contains noindex, search engines are told to keep that URL out of their index. It works like the <meta name="robots" content="noindex"> tag, but it lives in the response header instead of the HTML.
HTTP/2 200
content-type: text/html; charset=UTF-8
x-robots-tag: noindex, nofollowWhy it costs you leads or sales
- Person searchesLooks for your service or product
- Google resultsPage is not listed
- Server sends headerX-Robots-Tag: noindex
- Landing pageLoads normally for direct visitors
- Lead or saleNo organic visitors reach it
The page loads fine for people, but search engines are told to drop it.
Example: illustrative numbers showing organic visits before the header was added, while it was live, and after it was removed and the page reindexed.
How to check if your site has it
Use curl
Run
curl -I https://example.com/your-landing-pageand look for a line starting withx-robots-tag. Use your real URL.Or use browser dev tools
In Chrome, open DevTools, go to the Network tab, reload, click the first request (the page URL) and read Response Headers.
Or use Search Console
Open URL Inspection for the page. If it says 'Excluded by noindex tag' or 'Indexing allowed? No: noindex detected in X-Robots-Tag HTTP header', the header is the cause.
Test the final URL
Check the URL after redirects, with and without www, and any variant used in ads. The header can differ by path or host.
curl -sIL https://example.com/your-landing-page | grep -i -E "^(HTTP|x-robots-tag|location)"How to fix it
Check the CDN or proxy
In Cloudflare, Fastly, CloudFront or similar, look for response header rules, transform rules, edge workers or functions that set X-Robots-Tag.
Check the web server config
Search Apache (.htaccess, virtual host) or nginx config files for
X-Robots-Tag. Look for rules that match too broadly, such as a whole directory or a file pattern that includes your page.Check the application layer
Look at CMS settings, SEO plugins, security or maintenance plugins and custom code that sends headers.
Remove or narrow the rule
Delete the noindex header for the landing page. If it was meant for something else (PDFs, staging, a private folder), limit it to those paths only.
Clear caches
Purge the CDN, server and plugin caches so the old header is not still served.
Request reindexing
In Search Console, run URL Inspection on the page and click Request indexing once the header is gone.
Check the server and .htaccess
Open .htaccess and your host's config for
Header set X-Robots-Tag. Managed hosts may add it on staging copies, so check your host's dashboard too.Check plugins
Review SEO, security, maintenance mode and membership plugins. Also look in functions.php and mu-plugins for
header( 'X-Robots-Tagor thewp_headersfilter.Check Settings > Reading
If 'Discourage search engines from indexing this site' is ticked, WordPress adds noindex. Untick it. Recent WordPress versions send it as a robots meta tag, but confirm with curl.
Look at theme code and apps
Shopify does not let you edit server headers directly. Check installed apps (SEO, landing page, password or geo apps) and disable the one that adds the header.
Check for a store password
Under Online Store > Preferences, a password page stops indexing. Remove it when the store is ready to launch.
Contact the app vendor or Shopify support
If curl still shows the header and no app explains it, ask support where it is set.
Know its limits
GTM runs in the browser and cannot set HTTP headers, so it is not the source. Check your server or CDN instead.
Rule out other causes
If a GTM tag injects a meta robots tag, that is a different issue. A header is added before the page reaches the browser.
Check project and page settings
In Site settings > SEO, turn off 'Disable Webflow subdomain indexing' only if it applies to a webflow.io URL. Check the page's SEO settings for the noindex option.
Check the proxy in front
If you use Cloudflare or another proxy for your custom domain, look for response header rules there.
Check funnel and page settings
In the funnel or website settings, look for an option to hide the page from search engines and turn it off. The menu name can vary by version.
Check your custom domain setup
If a CDN or proxy sits in front of the custom domain, check it for header rules.
Check page SEO settings
In the editor, open the page's SEO settings and turn on 'Let search engines index this page'.
Check site-wide settings
Wix manages headers itself. If curl still shows noindex after the setting is on, contact Wix support.
Check page settings
Open the page's settings, go to SEO, and turn off 'Hide page from search results'.
Check Pages not linked
Pages in the Not Linked section can still be indexed, but check the page-level SEO toggle too.
Search the config for the header
Search your server config, framework middleware and deployment settings for
X-Robots-Tag. Check environment-based logic that adds noindex when not in production.Fix the rule
Remove it, or scope it to the files it was meant for. See the snippets below.
# Remove this if it matches your landing page
Header set X-Robots-Tag "noindex, nofollow"<FilesMatch "\.pdf$">
Header set X-Robots-Tag "noindex"
</FilesMatch>location /private/ {
add_header X-Robots-Tag "noindex" always;
}Before
- x-robots-tag: noindex is present
- Search Console reports noindex in the HTTP header
- Page is missing from Google
After
- No noindex in x-robots-tag
- URL Inspection says indexing is allowed
- Page can be crawled, indexed and ranked
How to confirm it's fixed
curl -Ion the live landing page shows nonoindexinx-robots-tag- The final URL after redirects is also clean
- The www and non-www versions, and any ad URLs, return the same result
- Search Console URL Inspection shows 'Indexing allowed? Yes' for the live test
- You requested indexing and the page appears in Google after a few days
- The page meta robots tag is not noindex either
How to prevent it happening again
Day 1
A noindex header is added to a staging or test setup
Day 10
The config is copied to production during a launch or migration
Day 14
Google recrawls the landing page and drops it
Day 45
Someone notices organic leads have fallen
Day 46
The header is removed and indexing is requested
- Add a header check to your launch and migration checklist
- Keep staging and production config separate, and review diffs before deploying
- Scope X-Robots-Tag rules to specific file types or paths
- Document any CDN header rules and who owns them
- Re-check key landing pages after CDN, host or plugin changes
- Watch the Pages report in Search Console for 'Excluded by noindex tag'
How FunnelGuard handles this
Questions people ask
Why is my page noindex when there is no noindex meta tag?
The noindex is probably sent as an X-Robots-Tag HTTP header by your server, CDN or a plugin. Headers do not show in View Source. Run curl -I on the URL or use URL Inspection in Search Console to see it.
How do I check the X-Robots-Tag header on a page?
Run curl -I https://yourdomain.com/page and look for a line starting with x-robots-tag. You can also open Chrome DevTools, go to Network, reload and read the Response Headers of the first request.
How do I remove an X-Robots-Tag noindex header?
Find which layer sets it: CDN rules, the web server config (Apache or nginx), or a CMS plugin or custom code. Delete the rule or limit it to the files it was meant for, purge caches, then confirm with curl.
Is X-Robots-Tag noindex the same as a meta robots noindex?
They have the same effect, which is telling search engines not to index the page. The difference is where they live: the header is sent by the server, while the meta tag sits in the page's HTML. Either one can keep your page out of Google.
Why does Search Console say 'noindex detected in X-Robots-Tag HTTP header'?
Google received a response for your URL that included a noindex value in the X-Robots-Tag header. Remove that header at the server, CDN or app level, then use URL Inspection to test the live URL and request indexing.
How long does it take to get indexed after removing the header?
It varies and Google does not give a fixed time. After the header is gone, request indexing in Search Console and keep the page linked from your site. It can take days or longer to reappear.
Can a CDN like Cloudflare add a noindex header?
Yes. A response header rule, transform rule or edge worker can add X-Robots-Tag to responses. If your server and plugins are clean but curl still shows the header, check your CDN rules.
Can FunnelGuard detect a noindex X-Robots-Tag header?
Yes. FunnelGuard's indexability check reads the X-Robots-Tag header on your landing page and alerts you if it blocks indexing. It reports the problem but does not change your server settings.
Related issues
- SEO-026noindex meta tag on a money or 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-038noindex page also blocked in robots.txt so the noindex is never seenFix guide
- SEO-039Pages noindexed but still in the XML sitemapFix guide
- SEO-041PDF or non-HTML money assets noindexed via headerFix guide