Sub topic 10
Confirming a diagnosis with URL Inspection
This chapter assumes you can open a verified property in Search Console and read the reasons table in the Page indexing report. You should also know what a canonical URL, a robots.txt rule and an HTTP status code are, and you should be able to view a page's HTML source.
The reasons table tells you what Google found across many URLs. It is a summary. Before you change anything, check one example URL to confirm the cause. The URL Inspection tool does that. This chapter shows how to read its output, how to run a live test, and where the tool's answer can differ from the report.
What URL Inspection is for
URL Inspection answers one question about one URL: what does Google know about this page, and what would Google see if it fetched the page now?
You can open it in two ways:
- Paste a full URL into the search bar at the top of any Search Console screen.
- Click an example URL in the reasons table, then choose the inspect icon.
The URL must belong to the property you have selected. If you paste a URL from another site or a different protocol or host, Search Console tells you it is not in the property. For a domain property, any protocol and subdomain is accepted. For a URL-prefix property, the prefix must match exactly.
The tool has two views that are easy to confuse. Keep them separate:
| View | What it shows | Data source |
|---|---|---|
| Indexed version (Google Index) | What Google stored the last time it crawled and indexed the page | Google's index |
| Live test | What Google gets if it fetches the page right now | A fresh fetch |
The default view is the indexed version. The live test runs only when you click Test live URL.
Reading the indexed version
The top of the result gives a verdict, such as "URL is on Google" or "URL is not on Google". Below it, the result groups details into expandable sections. The names can change over time, but these are the ones that matter for diagnosis.
Page indexing
This section is the closest match to the report. It lists:
- Discovery: the sitemaps and referring pages through which Google found the URL.
- Last crawl: the date and time of the most recent crawl, and which crawler (smartphone or desktop) made it.
- Crawl allowed?: whether robots.txt permitted the fetch.
- Page fetch: whether the fetch succeeded, or the failure reason such as a 404, a redirect or a server error.
- Indexing allowed?: whether a noindex rule applies, from either a meta tag or an HTTP header.
- User-declared canonical: the canonical URL your page states.
- Google-selected canonical: the canonical URL Google actually chose.
Each line maps to a family of reasons in the table. This is why the tool is useful for confirming a diagnosis. For example, "Excluded by 'noindex' tag" in the report should correspond to "Indexing allowed? No: 'noindex' detected in 'robots' meta tag" in the inspection.
Compare the two canonicals
For duplicate-related reasons, the two canonical lines are the most important output. Suppose your page contains this tag:
<link rel="canonical" href="https://www.example.com/shoes/">If URL Inspection shows the same URL as the Google-selected canonical, Google followed your hint. If it shows a different URL, Google treated your declaration as a hint and overrode it. A canonical link is a signal, not a command. Common reasons for an override are that the pages are near-identical, that other signals such as redirects, internal links and sitemaps point elsewhere, or that your declared target is itself redirected or not indexable.
If the user-declared line says "None", the page has no canonical annotation Google could read, and Google chose one by itself.
Other sections
- Sitemaps: lists sitemaps containing the URL. A URL missing from your sitemap is a different cause than one that is present but not indexed.
- Referring page: a page that links to this URL. An orphan page with no referrers is a common cause of "Discovered" or "Crawled" statuses staying unresolved.
- Enhancements and experience: structured data and similar checks. They do not decide whether the page is indexed.
Running a live test
Click Test live URL. Googlebot fetches the page and the tool reports whether the URL could be indexed. It also gives you the fetched HTML, a screenshot and the list of resources it failed to load, under View tested page.
Use the live test to check three things:
- A fix is in place. After you remove a noindex tag, the live test should say indexing is allowed.
- The page renders. The rendered HTML should contain your main content. If the screenshot is blank or content is missing, the page may depend on JavaScript or blocked resources.
- The server behaves. Intermittent 500 errors in the report can be confirmed or ruled out by whether the live fetch succeeds.
A live test result is not a promise of indexing. It says only that Google can fetch the page and nothing blocks indexing right now. Indexing still depends on quality and duplication decisions that the live test does not model. Likewise, a page that passes the live test can remain "Crawled - currently not indexed".
Request indexing
After a successful live test, you can click Request indexing. This adds the URL to a priority crawl queue. It has these limits:
- There is a daily quota per property, so use it for important pages and not for bulk fixes.
- It does not guarantee indexing. It asks for a recrawl.
- Requesting it repeatedly does not speed things up.
For many URLs, fix the cause and use validation from the report, which the next chapter covers. Use sitemaps for discovery at scale.
Matching tool output to report reasons
The table below shows what to look for when you confirm each family of reasons.
| Report reason | What to check in URL Inspection | Confirmed when |
|---|---|---|
| Excluded by 'noindex' tag | Indexing allowed? | It says No, and names a meta tag or the X-Robots-Tag header |
| Blocked by robots.txt | Crawl allowed? | It says No, and names the blocking robots.txt rule |
| Not found (404) | Page fetch | It shows Not found (404) |
| Page with redirect | Page fetch | It shows a redirect, and the live test shows the target |
| Server error (5xx) | Page fetch on live test | The fetch fails with a server error, or succeeds if the problem was temporary |
| Duplicate, Google chose different canonical | User-declared and Google-selected canonical | The two URLs differ |
| Crawled - currently not indexed | Last crawl, then the live test | Last crawl is set, the fetch succeeds and nothing blocks indexing |
| Discovered - currently not indexed | Last crawl | Last crawl says N/A or the URL was never crawled |
A robots.txt interaction to remember
Suppose a page has a noindex tag and a robots.txt rule blocks it:
User-agent: *
Disallow: /search/URL Inspection for https://www.example.com/search/?q=boots reports that crawling is not allowed. Google cannot fetch the page, so it never reads the noindex tag. The inspection shows the robots.txt block, and "Indexing allowed?" may show as unavailable. If you want the page out of the index, you must let Google crawl it so that it can see noindex. Blocking in robots.txt alone can leave the URL listed without content, especially if other sites link to it.
Non-HTML files
For a PDF, noindex can come from the HTTP response header:
HTTP/1.1 200 OK
Content-Type: application/pdf
X-Robots-Tag: noindexThe inspection reports it as a noindex detected in the X-Robots-Tag HTTP header. If you looked only at HTML source, you would not find it. When the report says noindex and the page source has no meta tag, check the response headers before assuming the report is wrong.
When the tool and the report disagree
The report and the indexed version of the tool usually agree, but there are three normal causes of a mismatch:
- Different timing. The report is updated on a schedule and can lag behind. The inspection reads the current index record. The result can be newer than the report row.
- Different data. The report groups URLs by the reason at the last processing. The live test reflects the page today, so a fixed page will pass the live test while the report still counts it.
- Different canonical context. The report places a URL under the reason for that URL. The inspection may show the page as indexed because a different URL in the same cluster is indexed. In that case the "URL is on Google" verdict applies to the canonical, and the inspected URL is a duplicate.
When they differ, trust the live test for the page's current state and the indexed version for what Google currently holds. Neither one replaces the other.
A confirm-then-fix routine
Use the same steps each time. They keep you from fixing the wrong thing.
- Pick two or three example URLs from one reason in the table. One example can be an outlier.
- Inspect each one and read the indexed version, focusing on the line that matches the reason.
- Run the live test and compare it with the indexed version.
- Find the cause in the page source, response headers, robots.txt or redirects.
- Fix the cause at its origin, such as the template, the server rule or the CMS setting, so that every affected URL benefits.
- Re-run the live test on an example, then start validation from the report.
Exercise
The report lists a URL as "Excluded by 'noindex' tag". You open the page source and find no robots meta tag. URL Inspection says "Indexing allowed? No: 'noindex' detected in 'X-Robots-Tag' http header". Where is the noindex coming from, and how do you check that it is gone after a fix?
Show answer
The noindex is sent in the HTTP response header, set by the server, CDN or application, not in the HTML. Remove the header rule at its source. Then run Test live URL on the page and confirm that Indexing allowed? says Yes. You can also check the headers directly with a header-inspection tool. Then start validation from the report.
Exercise
URL Inspection for a product page shows User-declared canonical as https://www.example.com/shoes/ and Google-selected canonical as https://www.example.com/shoes/?color=red. What does this mean, and what do you check next?
Show answer
Google overrode your canonical hint and chose the parameter URL. Check whether the two pages are nearly identical, whether internal links, redirects and sitemaps point to the parameter URL, and whether the declared canonical is redirected or not indexable. Make the signals consistent so that they all point to the preferred URL, then re-inspect.