How to verify that a page is deindexed
Deindexing is not done when you press save. It is done when Google has seen the change and the URL's status has changed. This article gives you a routine that checks the live response, Google's view of it, and the final index status, in that order.
Three layers to check
- What your server returns. Status code, headers, HTML.
- What Googlebot saw. The crawled version, via Search Console.
- What the index says now. Index status and search results.
Problems usually live in the gap between the first and second layers: you changed something, but it did not reach the crawler.
Layer 1: check the live response
Headers and status
curl -sI https://example.com/page
Look at the first line for the status (200, 301, 404, 410) and for x-robots-tag. If you expected a 410 and see 200, you have a soft 404 or a caching problem. See 404 vs 410.
HTML
curl -s https://example.com/page | grep -i "robots\|canonical"
You should see exactly one robots meta tag with noindex (if that is your method) and a canonical that agrees with your intent. Look at the raw response, not just the browser's rendered DOM, because JavaScript may change what a browser shows but not what the server sent.
Variants
Repeat for http and https, www and non-www, trailing slash and parameter versions. All variants must deliver the same outcome.
robots.txt
Open /robots.txt on each host and confirm the URL is not disallowed. A blocked URL stops Google from seeing your change; see why robots.txt does not deindex.
Layer 2: check what Googlebot saw
Use the URL Inspection tool in Search Console:
- Enter the full URL. The report shows whether the URL is on Google, whether indexing is allowed, the user-declared and Google-selected canonical, and the last crawl date.
- Run a live test to fetch the page right now and view the HTML Googlebot receives. Google's block-indexing guide recommends this tool to see the HTML Googlebot received.
- If the last crawl date is before your change, Google has not seen it yet. Click Request indexing to ask for a recrawl.
Layer 3: check the index status
The Page indexing report groups URLs by status. The ones that matter for deindexing:
| Status | What it usually means | Good or bad for deindexing? |
|---|---|---|
| Excluded by 'noindex' tag | Google saw noindex and excluded the page | Success for noindex |
| Not found (404) | URL returns 404 | Success for deleted pages |
| Page with redirect | URL redirects; the target is what is indexed | Success for redirected pages |
| Soft 404 | 200 response that looks like an error | Fix status code |
| Blocked by robots.txt | Not crawled; not necessarily not indexed | Not a removal |
| Indexed, though blocked by robots.txt | Indexed from links without content | Bad; remove the block, apply noindex |
| Alternate page with proper canonical tag | Treated as duplicate of another URL | Consolidated, not removed |
| Submitted and indexed / Indexed | Page is in the index | Not done yet |