CometWebResearch pack

Canonical tags vs redirects on 471 popular sites

Maciej Zmitrukiewicz · Research pack for Canonical vs 301 redirect: which signal Google follows

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

FindingCountOut of
Sites where the same homepage answers 200 on a second address (http, www or both)82471 sites
…where every copy has a canonical pointing to the main version1782 sites
…where a copy has no canonical at all5582 sites
…where a copy has a canonical pointing to itself (built from the requested address)982 sites
Pages with a canonical8521232 pages
Canonical target answers with a redirect16852 pages
…and the redirect leads straight back to the page that carries the tag1316 pages
…where the canonical differs only by www (7), http/https (3) or a trailing slash (2)1216 pages
Canonical target answers 404 or another error6852 pages
Canonical differs from the page only by http/https or www22852 pages
Sitemap sample lists at least one URL that redirects48295 sites
Sitemap sample lists at least one URL whose canonical points elsewhere46295 sites
Either of the two79295 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

Files

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.

Back to the article