Skip to content

Glossary · Technical

Definition

A canonical tag is a line of HTML, rel="canonical", that tells search engines which URL is the preferred version of a page when the same or very similar content is reachable at several addresses. It consolidates signals onto one URL, but search engines treat it as a strong hint rather than a binding instruction.

  • Also: rel canonical
  • Also: rel=canonical
  • Also: canonical URL
  • Also: canonical link element

How Canonical tag works

Duplicate URLs are more common than most site owners expect: http and https, with and without www, trailing slashes, tracking parameters, sort orders, print versions, and the same product listed under several categories. The canonical tag sits in the page head, or in an HTTP header for files such as PDFs, and points to the URL you want indexed. A self-referencing canonical on every indexable page is a sensible default.

Google chooses its own canonical from several signals, including redirects, the canonical tag, internal links, sitemap entries and a preference for https. If these disagree, for example the tag names one URL while internal links and the sitemap point to another, Google may pick a different one. The URL Inspection tool in Search Console shows both the declared canonical and the one Google selected.

Common mistakes include pointing every paginated page to page one, which can hide deeper items; canonicalising to a URL that redirects or returns an error; pairing a canonical with noindex, which sends mixed signals; and a template bug that outputs the homepage as the canonical on every page, which can drop whole sections from the index.

How to improve it

  1. 01Add a self-referencing, absolute canonical URL to every indexable page.
  2. 02Point duplicates and parameter variants at the clean version, and confirm the target returns a 200 status and is indexable.
  3. 03Align signals so internal links, sitemap entries and redirects all use the canonical URL.
  4. 04Recheck templates after every theme, plugin or framework update, since one bug can repeat across thousands of pages.
  5. 05Use URL Inspection in Search Console to compare your declared canonical with the one Google chose.
An example

A fictional furniture shop lists each sofa under living room, sale and new arrivals, creating three URLs per product. It sets the canonical on all three to a single product URL without a category path, lists only that URL in its sitemap, and updates internal links to match.

Questions

Questions about Canonical tag

Still unsure? Ask the team or write to support@deylaxy.com.

Is a canonical tag the same as a redirect?

No. A redirect sends both visitors and search engines to a different URL, so the original page is no longer seen. A canonical tag leaves the page available to visitors and only tells search engines which version to index and credit. Use a redirect when the duplicate has no reason to exist, and a canonical when people still need the variant, such as a filtered product list.

Can Google ignore my canonical tag?

Yes. Google treats the canonical tag as a strong hint rather than a directive and selects the canonical itself from several signals. If your internal links, sitemap or redirects point elsewhere, or the pages are not actually similar, Google may choose a different URL. The URL Inspection tool in Google Search Console shows which canonical Google selected, so you can see when it disagrees with you.

Related

Related terms

Get your free Visibility Intelligence Audit

A concise reading of verified signals across search engines and AI answers, enough to recognise the gaps, not a playbook for competitors.