On this page
What this issue is
Robots directives tell search engines whether to show a page in results (index or noindex) and whether to follow its links (follow or nofollow). A page can receive these instructions from several places at once: a <meta name="robots"> tag in the HTML, a tag aimed at one crawler such as googlebot, and an X-Robots-Tag HTTP header sent by the server.
Why it costs you leads or sales
A landing page, product page or service page that Google treats as noindex will not appear in search results. Organic visitors who would have filled in your form or bought never arrive, and nothing on the page itself looks broken. Because you can see an index tag when you check the source, the problem is easy to miss.
- Page publishedTheme prints index, follow
- Second source adds noindexPlugin, header or script
- Google drops the pageMost restrictive rule wins
- Organic visitsNo search traffic
- Leads and salesFewer form fills and orders
The page loads fine for visitors, but search never sends them.
Example: illustrative numbers showing traffic falling after the page is dropped from the index.
How to check if your site has it
Check every source, not just the page source. The meta tag you see may be only one of several.
Inspect the URL in Google Search Console
Paste the URL into the URL Inspection tool. Look at Page indexing: messages like 'Excluded by noindex tag' or 'Page is not indexed: noindex' confirm Google sees a noindex. Use Test live URL to see the current state.
Check the HTTP headers
Run the command below, or open your browser's developer tools, Network tab, click the page request and read Response Headers. Look for X-Robots-Tag.
Search the raw HTML for robots tags
Use View Source (not Inspect) and search for 'robots' and 'googlebot'. Count how many tags there are and what each says.
Compare with the rendered DOM
In developer tools, Elements tab, search for 'robots'. A tag that appears here but not in View Source was added by JavaScript.
# Response headers (look for X-Robots-Tag)
curl -sI https://example.com/your-page/ | grep -i x-robots-tag
# Robots meta tags in the HTML
curl -s https://example.com/your-page/ | grep -i -o '<meta[^>]*name=["'"'"']\(robots\|googlebot\)[^>]*>'| Source | How to spot it | Typical cause |
|---|---|---|
| Theme template | Hard-coded meta robots in header file | Old theme code or a copied snippet |
| SEO plugin | Second tag in View Source | Plugin plus theme both printing a tag |
| Page-level setting | Page marked noindex in editor or SEO panel | Left on from drafting |
| HTTP header | X-Robots-Tag in response headers | Server, CDN or hosting rule |
| JavaScript | Tag in rendered DOM only | Tag manager or script editing the head |
How to fix it
The goal is one source of truth per page. Decide what the page should do, then remove every other directive that disagrees. For a page you want in search, the cleanest result is no robots tag at all, or a single index, follow tag.
Check the global setting
Go to Settings > Reading and make sure 'Discourage search engines from indexing this site' is unticked.
Check the page's SEO panel
In your SEO plugin (such as Yoast SEO, Rank Math or All in One SEO), open the page's advanced or robots settings and set it to allow indexing.
Look for a second source
Temporarily switch to a default theme or disable plugins one by one, re-checking View Source each time, to find which one prints the extra tag. Remove hard-coded meta robots lines from header.php in a child theme.
Search theme.liquid
Go to Online Store > Themes > Edit code, open layout/theme.liquid and search for 'robots'. Remove or correct any noindex line, including conditions that apply it to certain templates.
Check apps
SEO apps can add their own tags. Review their settings for the affected page or collection.
Check page visibility
Edit the page or product's search engine listing settings and make sure it is not hidden from search.
Find tags that edit the head
Open your container and look for Custom HTML tags or templates that add or change a robots meta tag.
Pause and test
Pause the suspect tag, use Preview mode, and check the rendered DOM for the robots tag.
Publish the fix
Delete the tag or change it so it no longer sets noindex on pages that should rank, then publish.
Check page settings
Open the page's settings and look at the 'Exclude this page from search results' option (sitemap and indexing). Turn it off for pages you want indexed.
Check custom code
In Page settings > Custom code and Project settings > Custom code, remove any meta robots tag that conflicts.
Check site-level indexing
In Project settings > SEO, make sure site indexing is enabled for your live domain.
Check funnel or page SEO settings
Open the funnel step or website page settings and look for a setting that stops search engines indexing the page. Turn it off where you want the page found.
Check custom code
Open Settings > Tracking code or Custom code for the page and remove any extra meta robots tag.
Check the page's SEO settings
In the page's SEO settings, find the option to let search engines index the page and turn it on.
Check custom code
Look in Settings > Custom code for any snippet adding a robots meta tag and remove it.
Check the page setting
Open the page's settings, go to SEO and turn off 'Hide page from search results'.
Check code injection
In Settings > Advanced > Code Injection, and per-page Advanced settings, remove any meta robots tag that conflicts.
Remove duplicate meta tags
Keep one robots meta tag in the head, or none. Search templates, includes and layouts for every place that prints one.
Fix server or CDN headers
Search your Apache, Nginx, CDN and hosting rules for X-Robots-Tag and remove or narrow any rule that matches the page.
Stop scripts rewriting the head
Remove JavaScript that inserts or changes robots meta tags on indexable pages.
<!-- Good: a single tag. Omitting it entirely also means index, follow -->
<meta name="robots" content="index, follow">
<!-- Bad: two tags that disagree. Google applies noindex -->
<meta name="robots" content="index, follow">
<meta name="robots" content="noindex, nofollow">Conflict
- Theme prints index, follow
- Plugin adds noindex
- Header may add a third rule
- Google drops the page
Fixed
- One source controls robots
- Single index, follow tag or none
- No X-Robots-Tag noindex
- Page can be indexed again
noindex present
Leads or data lost
Google applies the most restrictive rule and the page is dropped from search results, even though an index tag is also present.
The visible index tag does not protect the page while a noindex exists anywhere.
How to confirm it's fixed
- View Source shows one robots tag at most, and none says noindex
- The rendered DOM shows the same, with no tag added by JavaScript
- curl -sI shows no X-Robots-Tag: noindex header
- URL Inspection > Test live URL shows the page is indexable
- Click Request indexing for the page in Search Console
- Re-check after a few days to see the status change to indexed
How to prevent it happening again
- Choose one owner for robots directives, such as your SEO plugin, and avoid hard-coding tags in the theme
- Check robots tags and headers after theme changes, plugin installs, migrations and CDN rule updates
- Keep staging noindex rules out of production deployments
- Review the Page indexing report in Search Console for 'Excluded by noindex tag' on pages that should rank
- Crawl your site with an SEO crawler that lists meta robots and X-Robots-Tag per URL, and review the results after releases
- Keep a short list of your key landing pages and spot-check them monthly
How FunnelGuard handles this
FunnelGuard does not check for conflicting robots directives today. It is a possible future check, not a current feature, so it will not warn you if a page carries both index and noindex.
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 tells you if the journey works once visitors are on the page, but not whether search engines can find the page in the first place.
Questions people ask
Which wins when a page has both index and noindex?
Noindex wins. Google combines all the robots directives it finds for a page and applies the most restrictive one, so a single noindex is enough to keep the page out of search results even if an index tag is also present.
Why is my page noindex when I set it to index?
Another source is probably adding noindex. Check the X-Robots-Tag HTTP header, a second meta robots tag from a plugin or theme, a page-level setting in your SEO plugin or CMS, and any JavaScript or tag manager script that edits the head.
How do I check for an X-Robots-Tag noindex header?
Run curl -sI followed by your page URL and look for an X-Robots-Tag line, or open your browser's developer tools, Network tab, select the page request and read the Response Headers. Google Search Console's URL Inspection tool also reports it.
Is having two robots meta tags on one page a problem?
It can be. Two tags that agree are usually harmless, but if they disagree Google applies the most restrictive instruction. It is best to keep a single tag, or none, so the outcome is predictable.
Do I need an index meta tag at all?
No. Pages are indexable by default, so you can leave the robots tag out entirely. Adding index, follow is optional and does not override a noindex from any other source.
How long does it take for a page to come back after removing noindex?
It depends on when Google recrawls the page. Use URL Inspection and Request indexing in Search Console to prompt a recrawl, then re-check the page's status over the following days. There is no guaranteed timeframe.
Can a tag manager cause a noindex conflict?
Yes. A Custom HTML tag in Google Tag Manager can insert or change a robots meta tag after the page loads. Check the rendered DOM in developer tools and review your container for tags that edit the head.
Does FunnelGuard detect conflicting robots directives?
Not currently. It is a possible future check. FunnelGuard monitors journeys, tracking and lead delivery, so for robots directives use Search Console and an SEO crawler.
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-031noindex injected by JavaScript after renderFix guide
- SEO-030noindex served only to Googlebot user agentFix guide
- SEO-038noindex page also blocked in robots.txt so the noindex is never seenFix guide