Redirect chains on 1,000 popular sites
This is the material behind the article. I drew 1,000 domains from the Tranco list of the 100,000 most popular sites and checked how many redirects each one makes you go through before its homepage loads.
What I checked
For every domain a script typed in four versions of the address, http://, http://www., https:// and https://www., and followed each redirect one by one, noting its code and how long it took. 683 domains served a page on at least one version. The rest were CDNs, API servers and servers that blocked the script, so every share in the article is out of 683.
For the 124 sites that served two homepages, a second pass read the rel=canonical tag on each version.
The pack doesn't name the sites. Each one has a neutral id from site-0001 to site-1000, and every address keeps only what the results depend on: http or https, www or not, and whether a redirect stays on the same site.
Results
| What I counted | Result |
|---|---|
| Domains drawn / domains that served a page | 1,000 / 683 |
| Sites with 2+ redirects on at least one version of the address | 327 of 683 |
| Worst version per site: 0 / 1 / 2 / 3+ redirects | 66 / 290 / 279 / 48 |
| Most common chain: protocol first, then www | 190 of 483 chains with 2+ redirects |
| Median time spent on redirects: 1 / 2 / 3+ redirects | 0.36 s / 0.76 s / 1.39 s |
| Temporary redirects (302 or 307) on the HTTP-to-HTTPS step | 137 of 1,219 |
| Sites serving two homepages, www and bare | 124 of 683 (85 with no canonical) |
| Sites where http:// loads without moving to HTTPS | 60 of 683 |
| Redirect loops | 4 of 4,000 address checks |
Does CometWeb Insight catch these chains?
I added 12 of these domains to Insight and ran its Crawl. The first run showed a gap: Insight only followed the chain from http:// plus the bare domain, so it missed chains that start on another version, which in the full sample would have been 102 of the 327 sites with a chain. After I fixed that, Insight counted the same redirects as my script on all 11 domains it could reach.
Redirects before the page loads, in the order http:// · http://www. · https:// · https://www.:
| Site | Script | Insight | What Insight reported |
|---|---|---|---|
| site-0893 | 1 · 2 · 0 · 1 | 1 · 2 · 0 · 1 | chain on http://www. |
| site-0044 | 1 · 2 · 0 · 1 | 1 · 2 · 0 · 1 | chain on http://www. |
| site-0459 | 1 · 3 · 0 · 2 | 1 · 3 · 0 · 2 | chains on http://www. and https://www., plus a drop from HTTPS to HTTP |
| site-0346 | 2 · 1 · 1 · 0 | 2 · 1 · 1 · 0 | chain on http:// |
| site-0317 | 2 · 1 · 1 · 0 | 2 · 1 · 1 · 0 | chain on http:// |
| site-0418 | 0 · 0 · 0 · 0 | 0 · 0 · 0 · 0 | every version answers directly and points its canonical at the bare HTTPS address |
| site-0555 | 1 · 1 · 0 · 0 | 1 · 1 · 0 · 0 | two homepages, www and bare, with no canonical |
| site-0703 | 0 · 0 · 0 · 0 | 0 · 0 · 0 · 0 | http:// loads without moving to HTTPS; a second homepage on www |
| site-0641 | 1 · 1 · 0 · 0 | 1 · 1 · 0 · 0 | two homepages, www and bare, with no canonical |
| cometweb.io (my own site) | 1 · 1 · 0 · 1 | 1 · 1 · 0 · 1 | control, nothing to report |
| site-0899 | 1 · 1 · 1 · 0 | 1 · 1 · 1 · 0 | control, nothing to report |
| site-0065 | 3 · 3 · 2 · 3 | – | the server refused Insight's crawler, so Insight reported it as not measured |
One difference is deliberate. My script counts every http:// address that loads without moving to HTTPS. Insight reports that only when the page also lacks a canonical pointing at the HTTPS address, which is why site-0418 shows nothing.
What this data can't tell you
- I measured from one connection in Poland, so the seconds will differ where you are. The ratio between one, two and three redirects travels better.
- I only checked homepages. Old blog posts and moved product pages usually have longer chains.
- I only followed server redirects, not ones done with a meta refresh or JavaScript.
- The script has no HSTS memory, so it sees the
http://step that a returning browser would skip. Crawlers still request those addresses. - The canonical check reads the HTML the server sends, so a canonical added by JavaScript isn't counted.
Files
chains.jsonl.gz: every domain with every redirect for all four versionssummary.json: the numbers used in the articlecanonical_check.json: canonical tags on the 124 sites with two homepagesinsight-crawl-results.json: what Insight reported for the 12 domainsmeasure.py: the measuring scriptsummarise.py: turns the raw data into summary.jsoncanonical_check.py: the canonical pass
To build your own list, save the domains you care about (your sites, your clients, your competitors) as top-1m.csv with one rank,domain line each, then run python3 measure.py with the number of domains, python3 canonical_check.py and python3 summarise.py.