The Bug That Told Google Our Pages Were Dead Links

On October 22, a Search Console screenshot stopped me cold. Two of our pages were sitting in a bucket labeled “Alternate page with proper canonical tag.”

If you run a website, that label deserves a second look. It is not, on its own, an error — Google uses it for parameter URLs and genuine duplicates, where being an “alternate” is exactly what you want. It becomes a problem when pages that should stand on their own show up there. Ours did. Two real, unique pages were parked as alternates, and Google was indexing something else in their place.

The strange part: nothing looked broken. Every human visitor saw the pages just fine. The bug was invisible to everyone except Google.

What a canonical tag actually does

Every indexable page should carry a canonical tag: a line in the page’s <head> that says, in effect, “this URL is the official version of this content.” When several URLs show the same or similar content, the canonical tells Google which one to index and rank. Google’s own documentation recommends absolute URLs and a self-referencing canonical on each original page.

The tag only works if it points at a real page. Ours didn’t.

The bug: a display label smuggled into a URL

Our article layout builds the canonical path from the page’s section — articles, tools, hardware. The breadcrumb at the top of each article shows that section as a capitalized display label: “Articles,” “Tools,” “Hardware.” Somewhere in the layout, the canonical path was being built from that label instead of from the section’s real URL.

So the canonical tags — and the Open Graph URL, and the mainEntityOfPage field in the structured data — pointed at addresses like /Articles/ and /Tools/. Capitalized. Those URLs don’t exist on this site. They return 404s.

Follow the chain from Google’s side and the screenshot makes sense:

  1. Google crawls a real article at its real, lowercase URL.
  2. The page’s own canonical tag says the official version lives at a capitalized URL.
  3. That capitalized URL 404s, so Google can’t confirm it — and the real page gets filed as an “alternate” of a canonical it can never reach.

Two pages had been crawled recently enough to surface in the report. The bug itself was site-wide: every article, tool page, and hardware page carried the same broken signal. Only the timing of Google’s crawls decided which pages showed up first.

Why did no human notice? Because humans never see canonical tags. The visible links on the site — the navigation, the article cards, the breadcrumbs — all used the correct lowercase URLs. The pages loaded, the content read fine, and the one line of metadata that talks directly to search engines was quietly pointing into the void.

The fix: build URLs from URLs, never from labels

The fix was small, which is usually how it goes with the embarrassing ones. The layout now builds the canonical path from sectionHref — the section’s actual, lowercase URL — and the display label is used only for what it is: text a human reads in a breadcrumb.

After the change, a local build of the full site was checked for capitalized canonicals across every generated page. Zero. The Open Graph URL and the structured-data page reference derive from the same path, so they were fixed by the same change rather than patched separately.

The fix was pushed the same day the screenshot surfaced, October 22.

What I’m not claiming

This is the part of the story where a transparency post usually overreaches, so let me be exact about what is and isn’t proven.

Proven: the broken signal is gone from the site’s output, verified in a full local build. Pending: Google’s reprocessing. Canonical fixes don’t take effect the moment you deploy; Google has to recrawl the pages and update its index on its own schedule, which typically takes days to weeks. Until a fresh Search Console check shows those pages back where they belong, the honest status is “fixed and awaiting recrawl” — not “resolved.”

I’ll update this page when that check lands, one way or the other.

The rule this bug earned

One standing rule came out of it, and it’s now part of the site’s regular self-audit: never build a URL from a display label. URLs come from URL sources — route definitions, hrefs, slugs. Labels are for humans. The moment one feeds the other, you get a signal that looks right in every test a human runs and is wrong in exactly the place a machine reads.

It’s a good rule beyond this site, too. If you run any site with templated pages, the check costs about a minute: open a page, view source, search for rel="canonical", and confirm the URL is the one you would actually type into a browser — lowercase, correct path, returning a 200. Then check Search Console’s Pages report for any unique page sitting in the “alternate” bucket. A pattern there usually means a template bug, not a content problem — and template bugs are fixed once, everywhere, in one place.

That is the whole story: a capitalized word, in a tag no visitor ever sees, telling Google our pages were dead links. The pages were never dead. The signpost was just pointing at an address that never existed.

Frequently asked questions

Is “Alternate page with proper canonical tag” an error? Not by itself. Google uses that status for parameter variants and genuine duplicates, where the page should be an alternate. It signals a problem only when a unique page that deserves its own search listing appears there — which is what happened to us.

How do I check my own site’s canonical tags? Open any page, view the page source, and search for rel="canonical". The URL should match the page’s real address exactly, including case. Then open Search Console’s Pages report and look for unique pages in the “alternate” bucket — a pattern there points to a template issue.

Why didn’t the site’s own tests catch this? Because every human-facing path was correct. Navigation links, article cards, and breadcrumbs all used lowercase URLs. The bug lived only in metadata, which is why the check that caught it was an external one — Search Console — and why the new audit step checks the built output, not just the visible page.

How long until Google reflects the fix? Google reprocesses canonicals on its own crawl schedule, typically over days to weeks. There is no button that forces it. The fix is verified in the site’s output now; the Search Console status is the confirmation still to come, and this page will be updated when it arrives.

What changed in the process, not just the code? A canonical-integrity check joined the site’s regular self-audit: after every build, the generated pages are scanned for capitalized or otherwise malformed canonicals before anything ships. The class of bug is now checked for, not just the instance.