Blog

Canonical Tag Explained: When and How to Use It

December 5, 2026

A canonical tag tells search engines which URL is the main version of a page. It looks like this in the page's HTML head:

<link rel="canonical" href="https://www.example.com/main-page" />

When to use it

  • The same content at several URLs, like parameters (?ref=newsletter, ?sort=price).
  • Product pages in several categories with different URLs.
  • Syndicated content, where your article is republished elsewhere and you want the original credited.
  • As a default on every page, pointing to itself, to guard against stray copies.

When not to use it

  • To merge different topics. A canonical from one article to a different article is usually ignored. Merge the content and use a 301 redirect instead.
  • Instead of redirects when an old page is gone for good. Use a 301.
  • Pointing to a page that is noindexed or blocked. Mixed signals confuse Google.

How to add it on your platform

  • WordPress: SEO plugins like Yoast or Rank Math add canonicals automatically and let you change them per page.
  • Shopify: adds canonicals automatically in most themes.
  • Webflow: set the global canonical URL in Site settings, SEO; Webflow adds it to each page.
  • Wix: adds canonicals automatically; you can edit them in a page's SEO settings.
  • Framer: adds canonicals for published pages.

Check it's working

Use URL inspection in Search Console: it shows the canonical you declared and the one Google selected. If they differ, see our guide to duplicate content.

How AI SEO Crew handles this

If you'd rather have this done for you, AI SEO Crew runs the whole job on your site.

  • Scout reads your site and finds the real Google searches your customers make.
  • Strategist picks the keywords that can bring you customers.
  • Writer researches each topic on the web, then writes the article with its sources.
  • Editor checks every fact and every link, and adds internal links to your pages.
  • Publisher publishes the article on your site and notifies search engines.

It publishes to WordPress, Shopify, Webflow, Wix, Framer, Ghost and coded sites. The plan includes 50 researched articles a month, and published articles stay on your site if you cancel.

Start free. Your first article is written before you add a card, and the first month is $1, then $49 a month. Results in 90 days or your money back.

Frequently asked questions

What does a canonical tag do?

It tells search engines which URL is the main version of a page when similar or identical content exists at several URLs.

Is a canonical tag a directive?

No. Google treats it as a strong hint and usually follows it, but it can choose another URL if other signals disagree.

Should every page have a self-referencing canonical?

It's a good default. Many platforms add one automatically, and it protects against copies created by URL parameters.