GUIDE 5 OF 11 · WEBSITE HEALTH CHECK
Page not indexed? Status, noindex, robots.txt and sitemap
Four checks ask whether a search engine can find and keep a page: does it answer with a normal 200, does anything say noindex, does robots.txt block the whole site, and is there an XML sitemap. A blocked site fails, a page that tells search engines to skip it gets a warning, and an error page fails. These are the first things to rule out when a page does not show up.
AT A GLANCE
- Status: 200 to 299 passes. A redirect that cannot be followed to a page is a warning. Anything else, a 404 or a 500, fails.
- Noindex: a
noindexin the robots meta tag or in anX-Robots-Tagheader is a warning. - robots.txt:
User-agent: *followed byDisallow: /fails. A missing file, a non-200 answer or an HTML page in its place is a warning. - Sitemap: found at
/sitemap.xmlor through aSitemap:line in robots.txt. If it is missing or not XML, a warning.
| Check | Group | Points |
|---|---|---|
Page loads (HTTP 200) seo-status | Search | 6 |
Page can be indexed seo-indexable | Search | 3 |
robots.txt seo-robots-txt | Search | 2 |
XML sitemap seo-sitemap | Search | 2 |
What each check looks at
| Check | Fail | Warning | Pass |
|---|---|---|---|
Page loads (seo-status) | Any status outside 200 to 399, such as 404 or 500 | A 3xx answer that could not be followed to a page | 200 to 299 |
Page can be indexed (seo-indexable) | Never fails | noindex in <meta name="robots"> or in the X-Robots-Tag header | Neither says noindex |
robots.txt (seo-robots-txt) | User-agent: * then Disallow: / | File missing, not answering 200, or an HTML page | Present and not blocking everything |
XML sitemap (seo-sitemap) | Never fails | No sitemap, or one that is not XML | A sitemap with its number of addresses |
Work through them in this order
- Does the page answer 200? A page that answers 404 or 500 will not be kept. Open it in a private window and look at the status in your browser's network tab.
- Is there a noindex? Look for
<meta name="robots" content="noindex">in the HTML and anX-Robots-Tagheader in the response. Staging settings that are copied to the live site are the usual cause. - Does robots.txt block it? Open
/robots.txton your site.Disallow: /underUser-agent: *blocks everything, and it is a classic mistake at launch. - Is there a sitemap, and does it list the page? A sitemap helps a search engine find pages, but it does not make it keep them.
- Does any other page link to it? The checker cannot see this one, and it matters. A page that nothing links to is hard to find. Link to it from a page that already gets visitors.
Noindex and robots.txt are not the same thing
A noindex tag says: you may visit this page, but do not list it. A robots.txt rule says: do not visit this page. They answer different questions. If you block a page in robots.txt, a search engine cannot read a noindex on it, and the address can still be listed if other sites link to it. To keep a page out of results, leave it crawlable and give it a noindex (Google explains this in the documentation linked below).
The checker treats them as separate checks for that reason. A noindex is a warning rather than a fail because it is often exactly what you want, for a thank-you page or a staging copy.
A real robots.txt, from this site
This is what this site's own robots.txt says. It allows everything, blocks three paths that are not pages for search (a redirect, an internal page and the API), and names the sitemap:
User-Agent: *
Allow: /
Disallow: /whatsapp
Disallow: /backstage
Disallow: /api/
Host: https://zakaullahwaheed.com
Sitemap: https://zakaullahwaheed.com/sitemap.xmlIn a Next.js app, app/robots.ts and app/sitemap.ts produce these two files. The sitemap lists each address with a lastModified date. A date that is the same on every page, or that changes on every visit, tells a crawler nothing, so it learns to ignore it. This site's sitemap dates each page by the day its own content last changed.
What the checks cannot see
- Only the shap
User-agent: *followed byDisallow: /is recognised** as a full block. A rule for one crawler, such as Googlebot, or a long list of paths is not flagged. - `<meta name="robots" content="none">` means noindex and nofollow together, and the noindex check does not detect it. Neither does a
googlebotmeta tag. - It does not know whether the page is actually in Google. For that, the page indexing report in Google Search Console tells you the reason Google gives for each address.
- The sitemap is not validated. The checker confirms it is XML and counts the
<loc>entries. It does not check that the addresses work.
Questions people ask
Why is my page "crawled, currently not indexed" or "discovered, currently not indexed"?
These are Google Search Console statuses, and the health check cannot see them. They usually mean Google found the page but did not think it worth keeping yet. Rule out the four checks on this page first, then link to the page from a stronger page of your own site and make sure it has something of its own to say.
Is a missing robots.txt a problem?
Crawlers treat a missing file as permission to crawl everything, so it is not a block. The checker still gives a warning, because a robots.txt that points to your sitemap is useful and easy to add.
Does a sitemap guarantee my pages are indexed?
No. A sitemap tells a search engine which addresses you want it to know about. Whether it keeps them is its own decision.
Where the facts come from
See also on this site
FREE · ABOUT TEN SECONDS · NOTHING STORED
Check your own site
Paste a web address into the free website health check. It runs the 36 checks these guides explain, gives a score out of 100, and says what to fix first.
Open the free website health check