Mistakes and recovery
Deindexed by Mistake: How to Recover Your Site in Google
A stray noindex or a prefix removal on the wrong property can erase a healthy site from search. The recovery is a known sequence, and the first hour matters most.
Recognise the symptoms
- Impressions and clicks drop sharply in Search Console
site:returns few or no results- URL Inspection says the URL is not on Google with a reason such as noindex, blocked by robots.txt or not found
- The Pages report shows a rise in excluded pages
Find the cause in order of likelihood
- Noindex deployed to production. Often a staging setting carried over, a CMS "discourage search engines" toggle, or an X-Robots-Tag rule applied too widely.
- robots.txt blocking the site.
Disallow: /copied from staging. - A temporary removal filed on the wrong property or with too broad a prefix.
- Errors: 4xx or 5xx responses after a migration, a firewall blocking Googlebot, or an authentication wall left in place.
- Redirects to the wrong destination after a domain change.
- A manual action or security issue. Check both reports.
Run URL Inspection with the live test on the homepage and a deep URL. It shows status, robots and noindex in one view.
Recovery steps
If it is noindex
- Remove the header or meta tag at the source: server config, CDN rule, template or CMS setting.
- Purge caches so that the corrected response is served everywhere.
- Confirm with
curl -sIand the live test. - Resubmit the sitemap.
- Use URL Inspection on key pages and request indexing for the highest-value URLs. Google's documented purpose for the button is exactly this: asking Google to recrawl a URL after a fix.
If it is robots.txt
- Replace the file with a permissive one.
- Confirm it returns 200.
- Retest URLs in URL Inspection; the result should no longer say blocked.
- Resubmit the sitemap.
If it is a temporary removal
- Open the Removals report in the property and find the request.
- Cancel it. The tool lets you cancel active requests, which restores eligibility for display.
- Check that a permanent signal is not still deployed. If noindex or a 404 is in place, the page will not come back just because the request is cancelled.
If it is server errors or blocking
- Fix the status codes and the firewall rule that blocks Googlebot.
- Ensure the site responds quickly and consistently, since persistent errors reduce crawling.
- Check hosting, DNS and TLS certificate validity.
If it is redirects
- Correct the destination mapping.
- Remove chains and loops.
- Keep redirects for as long as the move guidance says, generally at least one year.
How long recovery takes
Google gives no timeline. Pages that are crawled frequently tend to return sooner. Others may take weeks. Rankings may not instantly return to previous levels, and it takes time for Google to recrawl and reprocess. Monitor rather than panic, and avoid making further drastic changes while you wait.
Do not make it worse
- Do not repeatedly toggle signals back and forth.
- Do not delete the Search Console property.
- Do not move the site again.
- Do not change dozens of unrelated things at once, which obscures what worked.
Document and prevent
Write a short incident note: what happened, the time it started, when it was detected, when fixed, what evidence you gathered. Then add guard rails.
- CI check fails the production build if noindex or a blanket Disallow is present
- Alert on changes to robots.txt and response headers
- Weekly automated check of status codes and indexing signals for each hostname
- Search Console email alerts routed to a monitored address
- Two verified owners on every property
- Calendar entries for temporary removal expiry
When the damage is partial
If only a section was hit, apply the fix at the narrowest scope, such as a path rule. If only certain templates were hit, find the template change in version control.
An example incident timeline
| Time | Event |
|---|---|
| 09:00 | Release deploys a staging config to production, adding a site-wide noindex header |
| Day 3 | Impressions drop; the team notices |
| Day 3, hour 1 | Header found at the CDN; rule removed; cache purged |
| Day 3, hour 2 | Live test confirms indexable; sitemap resubmitted; key URLs inspected |
| Weeks 1 to 3 | Pages return gradually as they are recrawled |
The faster you notice, the less time pages spend out of the index, which is why automated checks matter more than any recovery step.
Quick cause checklist
- Header present on live responses?
- Meta robots in the rendered HTML?
- robots.txt blanket disallow?
- Active removal request?
- 4xx or 5xx on key pages?
- Security or manual action notices?
Communicating during an incident
Tell stakeholders what happened, the confirmed cause, the fix time and the monitoring plan. Avoid speculating about ranking losses until you have data: compare Search Console impressions with the period before the incident, and note that recovery of impressions typically lags the technical fix. A short written update at the time of fix, and another when the Pages report normalises, keeps expectations realistic.
Rule out the unexpected
Occasionally a drop in traffic is not an indexing problem at all. Compare the Pages report's indexed count before and after the date of the drop. If the count is steady, look instead at ranking changes, seasonality, tracking breakage or a change in how results are displayed. Treat indexing as the cause only when the evidence shows pages leaving the index or being excluded.
Frequently asked questions
Should I request indexing for every URL?
No. Prioritise key pages and rely on the sitemap and normal crawling for the rest.
Can I cancel a removal request?
Yes, in the Removals report. Ensure no permanent signal still blocks the page.
Will my rankings return exactly as before?
Often they recover as pages are reprocessed, but there is no guarantee or fixed time.
How do I avoid this again?
Add automated pre-deploy and weekly checks for noindex and robots rules.
Official sources
Keep reading
- Pillar: How to Deindex a Website From Google and Bing: The Complete Guide
- 15 Mistakes That Keep a Website Indexed After You Try to Remove It
- robots.txt Mistakes That Stop Sites From Being Deindexed
- Multi-Site Network Hygiene: Managing Indexing Across Many Domains
- Using URL Inspection to Verify Removal and Diagnose Stuck URLs