What Is a Canonical Tag and When Should You Use It?
A canonical tag tells Google which URL to rank. Learn what it does, when to use it, and how to check if Google is actually respecting it.
Milk Pocket

If Google keeps indexing the wrong version of your pages, a canonical tag is likely the fix you are missing. It is a small piece of HTML with a big job: telling search engines which URL is the one that matters.
Here is what it does, when to use it, and when to reach for something else instead.
What a Canonical Tag Actually Does

A canonical tag lives in the <head> of your page and points to the preferred URL.
<link rel="canonical" href="https://example.com/your-page/" />
When Google finds the same content at multiple URLs, it uses the canonical tag to decide which version to index and rank. Instead of splitting authority across duplicates, it concentrates signals on the URL you specified.
One thing worth knowing: Google treats canonical tags as hints, not hard rules. If your internal links and backlinks all point to a different URL, Google may ignore your tag entirely. Your site structure has to back up what the canonical says.
On WordPress, Yoast SEO sets these automatically and lets you override them per page. On Shopify, they are baked into the default theme and set to the main product URL out of the box.
When to Use It and When Not To

Use a canonical tag when two URLs need to coexist but only one should rank. The clearest examples are filtered ecommerce URLs like /shoes?color=red pointing back to /shoes, syndicated content where you want your original to outrank republished copies, and paginated pages where you want link equity pointed at the right place.
Do not use a canonical tag as a substitute for a proper redirect. If the duplicate URL has no reason to exist, a 301 redirect is the stronger and cleaner choice.
Getting canonical tags right across a large site with dynamic URLs and lots of filters takes some planning. Extems covers this as part of its technical SEO service, including a full canonical audit, conflict identification, and implementation. If your site has structural issues causing the duplication in the first place, the web development team can fix those at the source.
How to Check If It Is Working

Open Google Search Console and use the URL Inspection tool on the page you want to check. Compare "User-declared canonical" with "Google-selected canonical." If they match, the tag is being respected. If they differ, something is overriding it, usually conflicting internal links, a blocked URL, or a noindex tag on the preferred page.
For a site-wide view, run Screaming Frog and filter by Canonical to catch missing, self-referencing, or conflicting tags across every page at once.
FAQ Section

Can a page point its canonical to itself?
Yes, and it is actually recommended. A self-referencing canonical reinforces your preferred URL and prevents third-party syndication from overriding it.
What if Google keeps ignoring my canonical?
Check that the preferred URL is not blocked in robots.txt or tagged with noindex. Also make sure your internal links and sitemap consistently use the canonical URL, not a variation of it.
Canonical tag vs noindex: what is the difference?
A canonical tells Google which URL to rank in place of this one. A noindex tells Google not to rank this page at all. They do different jobs and should not be used together on the same page.
Ready to build an SEO strategy for your business? ExTems works with small businesses to drive real, measurable organic growth. See Our SEO Services