Canonical tags vs redirects on 471 popular sites
This pack belongs to the article on canonical tags and 301 redirects. I wanted to know how often the two signals disagree on real sites, because the answer to “which one does Google follow” only matters when they point at different URLs.
What I looked at
I started from the shared crawl I ran in November 2026 for ten articles at once: 660 domains drawn from the Tranco list (popular sites from the top 10,000, from places 10,000 to 200,000, and Polish .pl domains), of which 471 returned a homepage I could analyse. For every one of them the crawl had already stored the four address variants (http and https, with and without www) with each redirect hop, the homepage and two subpages with their rel=canonical, the status of the canonical target fetched without following redirects, and 20 random URLs from the sitemap.
On top of that I made my own follow-up requests. Whenever a homepage variant answered 200 on its own address instead of redirecting, I fetched it again and read its canonical, so I could see whether the tag points to the main version. I also compared its title (or, when the title was missing or broken by encoding, the size of the HTML) with the main homepage, and dropped copies that turned out to be a different page, such as a consent gate or a parked domain. Every canonical target that redirected or failed in the crawl was fetched again, following redirects, to confirm the problem was still there a few hours later. It was, in all 22 cases.
The requests used plain HTTP without JavaScript and the User-Agent CometWebResearch/1.0 (+https://cometweb.io), with at most eight sites at a time.
What came out
| Finding | Count | Out of |
|---|---|---|
| Sites where the same homepage answers 200 on a second address (http, www or both) | 82 | 471 sites |
| …where every copy has a canonical pointing to the main version | 17 | 82 sites |
| …where a copy has no canonical at all | 55 | 82 sites |
| …where a copy has a canonical pointing to itself (built from the requested address) | 9 | 82 sites |
| Pages with a canonical | 852 | 1232 pages |
| Canonical target answers with a redirect | 16 | 852 pages |
| …and the redirect leads straight back to the page that carries the tag | 13 | 16 pages |
| …where the canonical differs only by www (7), http/https (3) or a trailing slash (2) | 12 | 16 pages |
| Canonical target answers 404 or another error | 6 | 852 pages |
| Canonical differs from the page only by http/https or www | 22 | 852 pages |
| Sitemap sample lists at least one URL that redirects | 48 | 295 sites |
| Sitemap sample lists at least one URL whose canonical points elsewhere | 46 | 295 sites |
| Either of the two | 79 | 295 sites |
The copies that answered on their own address differed from the main version by www in 53 cases, by http/https in 34 and by both in 12. Every site with a copy and no canonical on the copy also had no canonical on the main homepage, so these are sites that never set the tag, not sites that set it on one version only.
I also checked our own site with the URL Inspection API. One address on cometweb.io has answered with a 301 since late August, but Google last crawled it two days before the redirect went live, so its index still shows it as a separate, indexed page with its own canonical. The details are in cometweb-io-url-inspection.json.
What the data won't show
- These are popular sites from a traffic ranking. Small business sites built on WordPress, Wix or Shopify set canonicals differently, and the shares won't carry over one to one.
- Nothing here says which URL Google actually chose for any of these sites. That's visible only in each site's own Search Console, and the article quotes Google's documentation for how the signals are weighed.
- Without JavaScript I miss canonicals that a script adds after load, so on single-page apps the “no canonical” share may be too high.
- Comparing titles and HTML size is a rough test of “same page”. It can count two different pages with a shared template as one, and it drops copies that differ only by a cookie banner.
- The sitemap sample is 20 URLs from one file per site, which is fine for the overall share and very uncertain for any single site.
Files
sites.csv: one row per analysed homepage: how many address variants answer 200, copies found, the verdict for each copy and how the homepage canonical relates to the page.duplicates.csv: every live copy of a homepage: what it differs by, its status on the recheck and where its canonical points.pages.csv: homepages and subpages: the canonical relation (self, www_only, scheme_only, other_path …), the status of its target and the recheck.sitemap_sample.csv: per site, how many of the 20 sampled sitemap URLs redirect, fail or carry a canonical pointing elsewhere.cometweb-io-url-inspection.json: the URL Inspection reading for our own redirected and canonical addresses.summary.json: all counts in one file.measure.py: the follow-up requests on top of the shared crawl (needs the private raw data, so it is here to read).recount.py: recomputes the numbers in the article from the CSV files above, with the standard library only.
Sites keep the identifiers of the shared November crawl, so a site- number means the same site in every pack from that crawl. Hosts, URLs, paths and page titles stay on my disk.