How to fix missing canonical on WooCommerce

Add a self-referencing canonical tag to every page so Google knows which URL is the "official" version of that content.

Steps for WooCommerce

  1. Install the free Yoast SEO or Rank Math plugin if not already installed (Plugins → Add New).
  2. Yoast SEO: Go to SEO → Search Appearance; canonicals are output automatically for all post types including Products — no additional setup needed for self-referencing canonicals.
  3. Rank Math: Go to Rank Math → Titles & Meta → Products; canonicals are enabled by default.
  4. To set a custom canonical on a specific product or page, open that post/product in the editor, scroll to the Yoast SEO or Rank Math meta box, click the 'Advanced' tab, and enter the canonical URL in the 'Canonical URL' field.
  5. Verify by viewing page source or using the browser extension for Yoast/Rank Math to confirm the tag is present.
Official WooCommerce documentation ↗
<link rel="canonical" href="https://www.example.com/products/blue-running-shoes/" />

What is missing canonical?

A canonical tag is a single line of HTML code placed in the `<head>` section of a page that tells search engines: "This URL is the definitive version of this content." It looks like `<link rel="canonical" href="https://www.example.com/your-page/" />`. When a page is missing this tag entirely, search engines have no authoritative signal and must guess which version of the URL to index — and they may guess wrong.

Ecommerce stores are especially vulnerable to duplicate content because the same product or category page can be reached through dozens of slightly different URLs — sorting parameters, filtering options, session IDs, UTM tracking codes, HTTP vs HTTPS, www vs non-www, and more. Without a canonical tag, Google may split your ranking power ("link equity") across all those variations instead of concentrating it on one URL, causing every version to rank lower than it should. Google has also stated that canonical signals help it crawl your site more efficiently, which matters when you have thousands of products. Missing canonicals can directly reduce organic traffic and revenue from pages that should be ranking well.

See the complete Missing canonical guide for every platform and the full background.

Not sure if your WooCommerce store has this?

Run a free SEOLZ audit — we’ll find missing canonical and every other issue across your whole site.

Scan my site free

Fix missing canonical on another platform