Glossary

What is Canonical URL?

Also called: rel=canonical, Canonical link

One page can open at several addresses, for example with and without www or with tracking parameters. The canonical link is a note in the page code that names the main one.

Why it matters

It helps search engines group duplicate addresses and show the version you chose. It is a hint they may ignore, not a command.

How Onbiom checks it

Canonical: the homepage must name exactly one canonical address, in the page code or in a Link response header, and it must be a valid https address. None, several different ones or an address that is not a plain https address do not pass.

Canonical target: when the named address is on your site, Onbiom opens it. It fails if the address redirects, returns an error, carries noindex, or names another page as its own canonical. An address on another site is not tested.

In your report this appears as: One valid HTTPS canonical; Canonical address loads and is indexable.

How to check it yourself

  1. Open your homepage and choose View page source.
  2. Search for rel="canonical" and read the href.
  3. Open that address in a browser and check it loads directly without redirecting.
curl -s https://example.com/ | grep -io "<link[^>]*canonical[^>]*>"

Not sure about your own site? Paste your address and see in a minute which of these checks your site passes. Free, no account needed.

Check your site

How to fix it

WordPress
SEO plugins add a canonical link to every page by default. Check the plugin is switched on and that you have not set a conflicting one.
Shopify
Shopify themes add a canonical link automatically. Look for it in your page source and ask your theme developer if it is missing.
Any website
Ask your web person or hosting company to make the change, and send them the wording from your report.

Related terms

Sources and further reading

Last reviewed: