Module 4 · Lesson 4

What Is a Canonical URL? How Google Picks One Version of a Page

By Leslie Campbell, founder of LeadSync (Calgary trades marketing).

10 min task

The short answer

When the same page can be reached at more than one address, Google picks one to show in search. That one is the canonical URL. Google defines it as "the URL of a page that Google chose as the most representative from a set of duplicate pages" (What is canonicalization). You can tell Google which one you prefer. Google treats your choice as "a hint, not a rule."

Mind map · tap a branch
The one
Google shows
TipTap a branch for the short tip.

Where duplicate addresses come from

On a trades site, the usual causes are:

  • The four versions of your domain, from Lesson 3.
  • Extra bits after a ?. If you run Google Ads, auto-tagging adds a code to the address people land on. Google's example is www.example.com/?gclid=123xyz (About auto-tagging). Google uses the same kind of address in its own duplicate example: https://example.com/dresses/cocktail?gclid=ABCD (How to specify a canonical URL).
  • Leftover copies. Google lists "the demo version of the site is accidentally left accessible to crawlers" as an example (What is canonicalization). On a trades site, that might be an old test copy of the site, or two pages about the same service.
Common causes

Google Ads auto-tagging adds a code like ?gclid= to the end of the address people land on.

How you tell Google which one you want

Google lists three ways, "in order of how strongly they can influence canonicalization" (How to specify a canonical URL):

  1. Redirects: "A strong signal." Use these when you want to get rid of a duplicate.
  2. A rel="canonical" tag: "A strong signal." A line in the page's code that points to the address you prefer.
  3. Your sitemap: "A weak signal." Listing the address you prefer.

Google says these methods "can stack and thus become more effective when combined," as long as they point to the same address.

Google also recommends a canonical tag on the preferred page itself, pointing to itself. It calls this "a self-referential canonical."

Strongest first

Signals stack. Using more than one, pointing the same way, makes your choice clearer.

You may not need to do anything

Google says: "none of them are required; your site will likely do just fine without specifying a canonical preference," because Google picks the best version on its own (How to specify a canonical URL).

If you use WordPress, Wix or a similar builder, Google notes your CMS "might have a search engine settings page or some other mechanism" for this. Google's best practices say: "Do include a rel="canonical" link on the canonical page itself" (How to specify a canonical URL). Check with your web person before adding anything by hand.

What not to do

From Google's best practices:

  • Don't use robots.txt for it. "Don't use the robots.txt file for canonicalization purposes."
  • Don't use noindex for it. Google says noindex "will completely block the page from Search."
  • Don't send mixed signals. Don't point your sitemap at one address and your canonical tag at another.
  • Don't link to the duplicates. "When linking within your site, link to the canonical URL rather than a duplicate URL."
Not for this

Noindex blocks the page from Search completely. Use a canonical tag instead.

See what Google picked

In Search Console, the URL Inspection tool shows it. Google says to inspect the page "and look at the Page indexing > Google-selected canonical field" (URL Inspection tool). If it matches the address you want, you're set. Module 1 covers URL Inspection.


Do this now (10 minutes)

  1. Open Search Console and inspect your home page, then your top service page.
  2. For each, write down the Google-selected canonical.
  3. Does it match your one version from Lesson 3, with https and the right www choice? Tick it if so.
  4. If one doesn't match, or you don't have Search Console, ask your web person: "Does each page have a canonical tag pointing to itself, on our one version of the domain?"