Sub topic 11
Validating a fix and reading the result
This chapter covers what happens after you fix a problem the Page indexing report found. It assumes you can already open the reasons table and its example URLs, and that you have confirmed a diagnosis with URL Inspection. You also need edit access to your site (or someone who has it), and a property where you hold Owner or Full user permission.
What validation does
Fixing a page on your site does not change the report. Google has to crawl the page again and reach a new verdict. Validation asks Google to do that for every URL affected by one specific reason, and to report back.
You start validation from the detail page of a reason, for example "Server error (5xx)" or "Submitted URL marked 'noindex'". You get this page by clicking a row in the reasons table. If the reason has a Validate fix button, validation is available for it. Not every reason has the button. Reasons that are usually expected, such as "Excluded by 'noindex' tag" on pages you chose to block, are not meant to be validated.
Validation works on one reason at a time. If three reasons affect your site, you run three validations.
Before you click Validate fix
Validation is slow, and a failed run costs you days. Check the fix first.
- Pick two or three example URLs from the reason's detail page.
- Open each in URL Inspection and choose Test live URL. Confirm the live result no longer shows the problem.
- Check the whole group of affected URLs, not only the examples. The examples are a sample. The same template or rule probably affects other URLs, and any one of them can fail the run.
- Make sure the fix is live in production. A fix on a staging server, or one hidden behind a cache, will fail.
You can script step 3 for a list of URLs. This Python script reports the status code, any redirect, the X-Robots-Tag header, and whether a robots meta tag contains noindex. It uses only the standard library.
import re
import sys
import urllib.error
import urllib.request
META_NOINDEX = re.compile(
r'<meta[^>]+name=["\']robots["\'][^>]*content=["\'][^"\']*noindex',
re.IGNORECASE,
)
def check(url):
request = urllib.request.Request(
url, headers={"User-Agent": "prevalidation-check/1.0"}
)
try:
with urllib.request.urlopen(request, timeout=15) as response:
status = response.status
final_url = response.geturl()
header = response.headers.get("X-Robots-Tag", "")
body = response.read(200000).decode("utf-8", errors="replace")
except urllib.error.HTTPError as error:
return url, error.code, url, "", False
except urllib.error.URLError as error:
print(f"{url}\tFAILED\t{error.reason}")
return None
meta = bool(META_NOINDEX.search(body))
return url, status, final_url, header, meta
if __name__ == "__main__":
for line in sys.argv[1:]:
result = check(line)
if result is None:
continue
url, status, final_url, header, meta = result
header_noindex = "noindex" in header.lower()
redirected = "yes" if final_url != url else "no"
print(
f"{url}\tstatus={status}\tredirected={redirected}"
f"\theader_noindex={header_noindex}\tmeta_noindex={meta}"
)Run it with python precheck.py https://www.example.com/shoes/ https://www.example.com/boots/. The regex only matches a tag where name comes before content, so a tag written the other way round slips through. The live test in URL Inspection is the authoritative check. Use the script to cover many URLs quickly.
Starting validation
On the reason's detail page, click Validate fix. Search Console records the date and sets the status to Started. Google then recrawls the affected URLs over the following days. You do not need to request indexing for each page, and you should not. The point of validation is to let Google schedule the recrawl.
While validation runs, you can still ask for individual URLs to be indexed through URL Inspection. That is useful for one high-value page. It is not a substitute for validation across hundreds of URLs.
The validation states
A validation moves through a small set of states. The report shows the current state next to the reason.
| State | Meaning | What you do |
|---|---|---|
| Not started | No one has clicked Validate fix for this reason, or a previous run ended and the reason has returned. | Fix, test, then start validation. |
| Started | Validation began. Google is checking URLs. | Wait. Do not restart it. |
| Looking good | Google has checked some URLs and found them fixed. Others are still pending. | Wait for the run to finish. |
| Passed | All checked URLs are fixed. | Confirm the totals later in the report. |
| Failed | At least one URL still has the problem after the check. | Open the details, find the failing URLs, fix them, and start validation again. |
Per-URL results
Open the validation details to see each URL's own result. A URL is typically in one of these conditions:
- Pending: Google has not rechecked it yet.
- Passed: Google recrawled it and the problem is gone.
- Failed: Google recrawled it and the problem is still there.
- Other: Google could not complete the check, or the URL now has a different reason. Check it with URL Inspection.
A URL that passes does not always become indexed. "Passed" means the specific reason you were validating no longer applies. The page may now appear under a different reason. For instance, a page whose noindex tag you removed can move from "Submitted URL marked 'noindex'" to "Crawled - currently not indexed". Treat that as progress, because you removed a technical blocker. It is now a quality or priority question, which is a separate problem.
How long it takes
Validation is not instant. Google typically needs days, and it can take about two weeks or more for large sets of URLs. The time depends on how often Google crawls your site and how many URLs are affected. A small, frequently crawled site finishes sooner. A large site with low crawl demand finishes later.
Two practical consequences follow:
- Do not judge the fix after a day. The report data also lags, as the data limits chapter explains.
- Do not click Validate fix again while a run is in progress. It does not speed anything up.
Search Console also sends an email to property owners when a validation starts, passes or fails. If nobody reads that inbox, check the report directly.
Why a validation fails
Most failures fall into a few patterns:
- The fix covers some URLs and not others. A template was patched but old pages are served from cache, or a second template produces the same error.
- The fix is intermittent. A 500 error that only appears under load will pass in your test and fail when Google visits.
- The fix is blocked from crawling. A robots.txt rule or a login wall prevents Google from seeing the change.
- The page changed reason. The page no longer has the original problem but fails a different check, and it is counted as not passing.
- A canonical or redirect points the wrong way. For duplicate reasons, the page still declares a canonical that Google does not choose. Compare the user-declared and Google-selected canonical in URL Inspection, using a tag such as
<link rel="canonical" href="https://www.example.com/shoes/">.
When a run fails, do not start over immediately. Open the failing URLs, test them live, find what they have in common, and fix that. Then start a new validation.
Reading the result in the main report
After a pass, go back to the main report and look at these places:
- The reasons table. The count for the validated reason should fall as Google reprocesses the URLs. The drop can lag behind the validation status.
- The Indexed total and trend chart. If the fixed pages were indexable, the Indexed line should rise. Allow time for it, and compare weeks rather than days.
- Scope filters. Switch to All submitted pages or to the specific sitemap that lists the fixed URLs. If you submit a sitemap such as the one below, the filter isolates exactly the pages you care about, and the trend becomes easier to read.
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://www.example.com/shoes/</loc>
</url>
</urlset>- URL Inspection for a sample. Inspect two or three previously failing URLs. The inspected status should read "URL is on Google" for pages you wanted indexed. For anything else, read the coverage section to see which reason now applies.
If the reason's count drops but the Indexed total does not rise, check where the URLs went. Pages often move from an error reason to an expected exclusion, such as "Alternate page with proper canonical tag". That is normal when the page is a duplicate.
Common mistakes
- Validating a reason that is expected. If you intentionally keep
<meta name="robots" content="noindex">on a page, "Excluded by 'noindex' tag" is correct. There is nothing to validate, and the page should stay in that list. - Fixing the examples only. The example list is capped, so it understates the real set. Fix the cause, not the listed URLs.
- Reading Passed as indexed. Passed means the original check no longer fails. Indexing is a separate decision by Google.
- Restarting too soon. A new run replaces a pending one and resets the wait.
- Forgetting HTTP-level noindex. A PDF served with
X-Robots-Tag: noindexstays out of the index even after you edit the HTML templates. Check response headers as well as page source.
A short workflow to keep
- Pick one reason, and one only.
- Test live in URL Inspection on a sample.
- Run a bulk pre-check across all affected URLs.
- Click Validate fix and note the date.
- Wait, and read the status and the per-URL results when it finishes.
- On Failed, find the shared cause. On Passed, confirm in the totals and the sitemap filter, then check what reason the URLs moved to.
Exercise
A validation for "Submitted URL marked 'noindex'" shows Passed, but the pages are still absent from Google's index, and the report now lists them under "Crawled - currently not indexed". Did validation fail? What is the next step?
Show answer
No. Passed means the specific noindex problem no longer applies. The pages now have a different reason, which is about whether Google considers them worth indexing. Next, check content quality, internal links and whether the pages are distinct from similar pages. Use URL Inspection to confirm the status, and improve the pages rather than starting another validation for the noindex reason.
Exercise
You removed a Disallow: /search/ rule and a noindex tag from some pages, but validation Failed after a week. List two checks you would make before starting it again.
Show answer
First, test several failing URLs with Test live URL in URL Inspection, to see whether Google can now fetch them and whether the noindex tag or an X-Robots-Tag header is really gone. Second, compare the whole affected set against the sample, using a script or crawler, to find URLs served from a different template or cache that still show the problem. Then start validation again.