Canonical tags: when and how do you use them?

Article Summary

You use a canonical tag when multiple URLs display essentially the same or nearly the same content. This allows you to specify which page is the preferred version, so your SEO value isn’t diluted across duplicates. That sounds technical, but in practice it applies to many websites: filters in online stores, pagination, UTM parameters, layout variations, print pages, and sometimes even content accessible through multiple categories. If you don’t manage this carefully, search engines will choose which URL to index on their own, and that’s rarely exactly the version you want.

What exactly does a canonical tag do?

A canonical tag is an instruction in a page’s HTML header. You include a URL that you believe is the most important version of that content. Search engines use this information as a signal—not as a strict requirement—but in most situations, it works well if the technical foundation is correct. It’s important to note that a canonical tag is not a redirect. The page remains accessible to users and crawlers, but you direct the indexing toward the desired URL. This makes it useful for content that intentionally exists in multiple places, such as product variants or landing pages with minor differences.

When should you use a canonical tag?

You primarily use a canonical tag when there are multiple URLs with the same purpose or nearly identical content. Think of an online store where products are accessible through multiple categories, or a blog post with tracking parameters. Also, www and non-www, http and https, or slash and no slash can cause confusion without clear canonicals. A few common situations are:
  • product pages with filter or sort parameters
  • pages accessible via internal search results
  • print versions or AMP variants
  • content that overlaps across different language or regional structures
  • pagination for category or blog overviews

Canonical tag versus redirect: which should you choose?

A canonical tag is suitable if both pages need to remain online. A redirect is better if a variant no longer serves a specific purpose and you want to send visitors directly to the preferred URL. With duplicate content, the question is therefore not only what is technically possible, but above all what the user flow should be. An example: if you have an old product URL that is no longer used, a 301 redirect is often more effective than a canonical tag. But if you have a webshop filter that temporarily generates multiple URLs for the same product list, a canonical tag is usually the cleaner solution. In many technical SEO projects, you’ll find that both methods are needed side by side.

How do you properly implement a canonical tag?

Ideally, the canonical tag should point to the definitive, indexable version of the page. Always use an absolute URL, including https and the domain name. Also ensure that the chosen canonical tag itself has a 200 status code, is indexable, and does not accidentally canonicalize to another URL. A few technical rules of thumb will help you:
  • Each page should preferably have one canonical tag
  • the canonical URL is also logically linked internally
  • the canonical does not point to a noindex page
  • parameter URLs, canonicals to the clean version
  • hreflang and canonical should not technically contradict each other
In WordPress and WooCommerce, this is often handled through the theme, an SEO plugin, or customizations in the template layer. If you want to maintain structural control over this, you need to look not only at the SEO settings but also at how templates, filters, and taxonomies build the URL structure.

Common mistakes with canonical tags

The biggest mistake is thinking that a canonical tag solves everything. If you allow two pages to differ too much in content, Google will often still determine for itself which version is most relevant. A canonical tag therefore works best with actual duplication or significant overlap, not with completely different pages. Other mistakes we often see:
  • canonicals that point to a redirect or error page
  • multiple canonical tags on a single page
  • canonicals that accidentally redirect via HTTP or an incorrect variant
  • canonicals that conflict with internal links, sitemaps, or hreflang
  • parameter pages that are still being indexed extensively

How do you check if it works?

You check canonical tags not only in the source code but also in Google Search Console and in your crawl data. See if Google adopts the canonical you selected or chooses a different version. That difference is useful because it shows whether your signals are technically strong enough. Pay particular attention to three things: the canonical in the HTML, the canonical that Google chooses, and the URL that is actually indexed. If those three do not match, there is usually a technical issue with internal links, duplication, or the way content is structured. For larger websites, this is often a structural issue, not a quick fix.

What does this mean for your website?

If your site is small, you can often keep canonical tags simple. On larger websites, and certainly in e-commerce sites, they become an integral part of your technical SEO foundation. The better your URL structure, internal links, and template setup are organized, the less you’ll need to correct later on. This is precisely where the link to development lies: the best canonical solution is usually not just an SEO setting, but a combination of content, templates, and technical logic. That’s also why these kinds of issues are often resolved more quickly when SEO and development are tackled together.

Frequently Asked Questions About Canonical Tags

1. Does every page need a canonical tag?Not necessarily, but it’s wise to use a self-referencing canonical tag by default. This makes the preferred URL explicit and reduces the risk of confusion caused by parameters or variations.
2. Can a canonical tag point to a different domain name?Yes, that’s technically possible. Only use this if the content is truly very similar and you have a clear reason to choose another site as the preferred version.
3. Is a canonical tag a mandatory SEO element?No, but on sites with duplicate content or many URL variations, it is often a necessary technical signal. Without a canonical tag, you leave more up to the search engine.
4. What is the difference between canonical and noindex?A canonical tag points to a preferred URL, while noindex instructs search engines not to include a page in the index. They therefore address different issues and are not always interchangeable.
5. Does a canonical tag also work with filters in an online store?Yes, that’s precisely where it’s a commonly used solution. Filters can generate many URL variations, and with a canonical tag, you redirect the value back to the main category or product overview page.
6. Why does Google sometimes choose a different canonical URL than the one you’ve set?This usually happens when your signals contradict each other. Examples include internal links, sitemaps, redirects, or content differences that don’t align with the canonical URL you’ve specified.
7. Should you combine canonical tags with redirects?Not always, but sometimes. You use a redirect for old or redundant URLs, while a canonical tag is useful when multiple versions need to remain technically active.

In summary

Use a canonical tag if you have multiple URLs with the same or nearly identical content and want to designate a single preferred version. Ensure the technical setup is correct, as this is the only way to properly account for search engines in your URL structure. For larger sites and e-commerce platforms, this often involves collaboration between SEO, development, and content teams. If you have many URL variations or an online store with filters, the real benefit often lies in making sound technical choices behind the scenes. Digital Wizards helps you neatly align canonical tags, internal links, and template logic.

Want to get in touch?

Hans Boersma - Digital Wizards
Hans Boersma

Would you like to discuss AI, online marketing, or the growth opportunities for your website or online store? Feel free to contact Digital Wizards founder Hans Boersma.

hans@digitalwizards.nlhans@digitalwizards.nl
036-2002660

Follow us
Other articles
  • Beginner

    12 tips for WordPress

    Reading time: 8 minutes

    12 Tips for WordPressAre you starting your own WordPress website? Or have you had a WordPress website for a while, but aren’t getting…

  • Beginner

    WordPress benefits

    Reading time: 8 minutes

    WordPress Benefits WordPress is the most widely used Content Management System (CMS) in the world. More than one-third of all websites on the internet…

  • Medium

    What is link building?

    Reading time: 8 minutes

    What is link building? With link building, you build high-quality backlinks to your website or key pages on your website. With link building, you aim not only to attract visitors…

  • Beginner

    Higher in Google

    Reading time: 8 minutes

    Ranking Higher on GoogleYou’ve created a new website for your business, product, or service. Everything looks fantastic, but something is missing…

  • Medium

    Domain authority

    Reading time: 8 minutes

    Domain Authority is a search engine ranking on a scale of 1 to 100. The higher your score on this scale, the…

  • Beginner

    What is SEA?

    Reading time: 12 minutes

    SEA: Search Engine Advertising There are several ways to increase traffic to your website. One of the fastest ways is through search queries…

As an online marketing agency, we naturally know everything there is to know about Google Shopping. We strive for profitable revenue in the short term and for long-term online growth.

Secret Link

Your information