Sub topic 7
Checking indexability: canonicals, noindex and robots.txt
This chapter assumes you can read basic HTML (meta and link tags), know the common HTTP status codes, and have run a first crawl of a site you own. It covers how the SEO Spider decides whether a URL is indexable, and how to find the problems that keep pages out of search results.
How the Spider judges indexability
Every crawled URL gets two columns in the Internal tab:
- Indexability is either
IndexableorNon-Indexable. - Indexability Status gives the reason, such as
Noindex,Canonicalised,RedirectedorClient Error.
The Spider reports what the page asks for. It does not check whether Google has actually indexed the URL. For that, add the Search Console integration (covered in a later chapter).
Directives and canonicals
Open the Directives tab. Its filters include Index, Noindex, Nofollow and X-Robots-Tag. The Spider reads both the meta robots tag and the HTTP X-Robots-Tag header, so a noindex set in a server config shows up here even though it is invisible in the page source.
Open the Canonicals tab and look at these filters:
Missing: no canonical is declared.Self Referencing: the normal, healthy state.Canonicalised: the page points to a different URL. This is correct for parameter or duplicate pages, and wrong for pages you want ranked.Non-Indexable Canonical: the target is blocked, redirects or errors. Search engines may ignore the hint.
<link rel="canonical" href="https://www.example.com/shoes/" />
<meta name="robots" content="noindex, follow" />A page carrying both of these sends mixed signals. The canonical suggests "index the target", while noindex says "do not index me". Fix the conflict instead of leaving the engine to choose.
robots.txt
By default the Spider obeys robots.txt. A blocked URL appears in the Response Codes tab under Blocked by Robots.txt, with the matching rule shown in the Matched Robots.txt Line column.
Remember that robots.txt stops crawling, not indexing. A blocked page cannot be fetched, so the engine never sees a noindex on it. If you want a page removed from results, allow crawling and use noindex.
To test a rule, use Test in the robots.txt settings (Configuration > Robots.txt) and enter a URL. Only turn on "Ignore robots.txt" for your own site, when you want to audit blocked sections.
Common errors
| Symptom | Likely cause |
|---|---|
| Key page marked `Noindex` | Staging setting left in a template or header |
| Many pages `Canonicalised` to the home page | Faulty canonical template |
| Canonical target returns 301 or 404 | Stale canonical after a migration |
| Sitemap URLs show `Non-Indexable` | Sitemap lists URLs that should not be there |
Exercise
A page is blocked in robots.txt and also has a noindex tag. Why might it still appear in search results, and what should you change?
Show answer
Search engines cannot fetch a blocked page, so they never see the noindex tag and may still list the URL based on links to it. Remove the robots.txt block so the page can be crawled, keep the noindex, and let the engine drop the URL.