On this page
What this issue is
Staging sites are usually set to noindex so search engines do not list test copies. That is correct on staging. The problem starts when the setting travels to the live site with a deploy, a database copy, a theme export or a config file.
A noindex directive can sit in three places: a <meta name="robots" content="noindex"> tag in the page HTML, an X-Robots-Tag: noindex HTTP response header, or a CMS setting that outputs one of those two. It is different from a Disallow: / rule in robots.txt, which blocks crawling rather than indexing.
<meta name="robots" content="noindex, nofollow">Why it costs you leads or sales
Google removes pages with noindex from its results the next time it recrawls them. Organic visitors who used to find your landing pages, product pages and blog posts stop arriving. Nothing looks broken when you click around the site, so it can go unnoticed for weeks.
Pages you send paid traffic to can be affected too. Noindex does not stop ads from running, but it can remove the same pages from organic search, so you pay for clicks that used to be free.
- Staging set to noindexCorrect for a test site
- Deploy or copy to productionSetting travels with it
- Google recrawlsReads noindex
- Pages dropped from searchOrganic visits fall
- Fewer leads and salesNo error shown
The site still works for people who have the link, so the loss is quiet.
Example: illustrative numbers showing organic visits falling in the weeks after the live site went out with noindex.
How to check if your site has it
View the page source
Open the live page, view source, and search for
robots. Look fornoindexin the content value.Check the response headers
In browser DevTools, open the Network tab, reload, click the page request and look for
X-Robots-Tagin the response headers.Use Google Search Console
Run URL Inspection on the page. If it says 'Excluded by noindex tag', Google has seen the directive. Also check the Pages report.
Check several page types
Test the home page, a landing page, a product page and a blog post. Headers and templates can differ.
curl -sI https://www.example.com/ | grep -i x-robots-tag
curl -s https://www.example.com/ | grep -i 'name="robots"'How to fix it
Remove the directive at its source. The right place depends on how the site is built. Do not just delete it from one page if a template or server rule adds it everywhere.
Untick Search engine visibility
Go to Settings > Reading and clear 'Discourage search engines from indexing this site'. Save.
Check your SEO plugin
In Yoast, Rank Math or similar, check the page's advanced setting and the site-wide post type settings for noindex.
Clear caches
Purge page, plugin and CDN caches so the old tag is no longer served.
Check the theme
In Online Store > Themes > Edit code, search theme.liquid for
noindexand remove any rule you did not intend.Check page SEO settings
Apps that hide pages from search can add noindex. Review them and the page's search engine listing.
Turn off site-wide indexing block
In Site settings > SEO, set 'Disable Webflow subdomain indexing' only if you want it, and check that custom domain indexing is not disabled.
Check page settings
In each page's settings under SEO, clear 'Exclude this page from search results'. Then publish.
Allow search engines
In the page's SEO settings, turn on 'Let search engines index this page'. Also check the site-wide SEO settings. Publish.
Check page and site settings
In page settings > SEO, turn off 'Hide this page from search results'. Check Code Injection for a noindex tag. Save.
Search the code and config
Search the repository for
noindexandX-Robots-Tag, including templates, middleware, nginx or Apache config and CDN rules.Make it environment-based
Output noindex only when the environment is not production, and redeploy.
# staging server block only
add_header X-Robots-Tag "noindex, nofollow" always;
# production server block: do not include the line aboveHow to confirm it's fixed
- View source on key pages shows no noindex in the robots meta tag
- Response headers show no X-Robots-Tag: noindex
- Search Console URL Inspection shows the live page as indexable
- You have clicked 'Request indexing' for your most important pages
- The sitemap is submitted and lists only pages you want indexed
- Impressions in Search Console start to recover over the following days
Recovery is not instant. Google has to recrawl each page, so allow time for important pages to return.
How to prevent it happening again
- Drive the noindex setting from an environment variable, not a hard-coded value
- Add 'indexable?' to your launch and release checklist
- Exclude SEO and reading settings when copying a staging database to production
- Add an automated check on the live URL after every deploy
- Password-protect staging rather than relying on noindex alone
- Watch Search Console for sudden drops in indexed pages
Before
- Noindex toggled by hand on launch day
- Nobody checks headers after deploy
- Drop noticed from falling traffic
After
- Noindex set by environment
- Indexability checked after each deploy
- Problem caught within a day
How FunnelGuard handles this
FunnelGuard detects this today. Its check looks at whether your monitored pages are indexable, so a noindex left over from staging shows up as a failed check rather than a slow fall in traffic. When a check fails, it is re-checked from a second region before one alert goes out, with a screenshot and a likely cause.
The robot visitor runs on a schedule, so it can catch the problem after a deploy rather than weeks later. The Free plan covers 1 site with 2 journeys and daily checks, no card needed. A free read-only website audit is also available.
Questions people ask
Why is my website not showing up on Google after launch?
A common cause is a noindex directive left over from staging. Check the page source for a robots meta tag, the response headers for X-Robots-Tag, and Search Console URL Inspection for 'Excluded by noindex tag'. Remove it and request indexing.
How do I check if my page has a noindex tag?
View the page source and search for 'robots', or open DevTools, Network tab, and look for an X-Robots-Tag response header. You can also run URL Inspection in Google Search Console, which reports if noindex blocks indexing.
How do I remove noindex from my WordPress site?
Go to Settings > Reading and untick 'Discourage search engines from indexing this site'. Then check your SEO plugin's page and post type settings, and clear all caches.
How long does Google take to reindex pages after removing noindex?
It depends on how often Google crawls your site. Important pages can return within days, others take longer. Requesting indexing in Search Console for key pages can help, but it does not guarantee timing.
Is noindex the same as robots.txt Disallow?
No. Noindex tells search engines not to list a page, while Disallow in robots.txt tells them not to crawl it. If crawling is blocked, Google cannot see that a noindex was removed, so fix both.
Why does noindex keep coming back after a deploy?
The setting is probably stored in code, config or a database that gets copied from staging. Move it to an environment-based setting and exclude SEO options when copying data to production.
Can FunnelGuard tell me if my live page is noindex?
Yes. FunnelGuard checks whether your monitored pages are indexable and alerts you if they are not, after a re-check from a second region.
Related issues
- OPS-296Staging site indexed / publicly accessibleFix guide
- OPS-305Robots.txt from staging (Disallow: /) deployedFix guide
- OPS-295Staging config in production (API URLs, test keys)Fix guide
- OPS-292Deploy broke landing page or formFix guide
- OPS-304Analytics consent config reset by deployFix guide
- OPS-308Deploys during peak ad hoursFix guide