According to DEV Community, one page can answer on many URLs. The author lists http and https, with and without www, with and without a trailing slash, uppercase letters, and a tracking tag such as ?utm_source= from a newsletter. A browser treats these as one page. A search engine sees separate URLs that it has to group together.
To check this, the author wrote a short script called dupcheck.sh. It takes one URL, builds five common variants, and prints either the redirect target or the canonical tag for each. A canonical tag is a line in the page's code that names the preferred address for that content. The author ran it on 18 November 2026 against three sites: a WordPress site, DEV itself, and Shopify's Dawn demo store.
All three ended up pointing at a single URL, but by different routes. For trailing slashes, WordPress redirects, while Shopify and DEV load the page and rely on the canonical tag. For uppercase URLs, DEV redirects, while WordPress and Shopify load the page and use the canonical tag. For tracking parameters, all three load the page with a canonical tag, which the author says makes sense because the parameter has to reach analytics.
The author also notes that the www test failed on the Shopify demo because a .myshopify.com subdomain has no www version. A store on its own domain would answer.
On whether the choice matters, the author cites Google's canonicalization documentation. It calls both redirects and rel="canonical" "a strong signal", and a sitemap "a weak signal". A canonical tag is a hint Google can overrule. A redirect means the duplicate URL is never served. The real problem, the author says, is a variant that returns 200 with canonical: NONE, meaning it loads normally and names no preferred address.
Why it matters
Duplicate URLs are easy to create without noticing. Newsletter links, a stray uppercase letter or a missing trailing slash can each produce another address for the same page. If nothing tells search engines which one you prefer, they have to decide for themselves.
The article suggests there is no single right method. Redirects and canonical tags both work, and each of the three sites mixes them. What counts is that every variant gives some signal. Tracking parameters are a good example of why a canonical tag can be the better fit, since the page still needs to load for analytics.
Source: DEV Community. This brief summarises their reporting; read the original for the full detail.