Services
AI Search (AEO · GEO)
AI Search OptimizationAnswer Engine Optimization (AEO)Generative Engine Optimization (GEO)ChatGPT SEOGoogle AI Overviews & AI Mode OptimizationAI Visibility Audit
Technical SEO
Technical SEO ServicesSEO AuditCore Web Vitals & Site Speed OptimizationSEO Migration & ReplatformingSchema Markup & Structured DataInternational & Multilingual SEO
Content & On-page SEO
Keyword Research & Search Intent MappingSEO Content StrategySEO Content WritingContent Refresh & OptimisationProgrammatic SEOOn-page SEO Services
Link Building & PR
Link Building ServicesDigital PR ServicesGuest Posting ServicesBacklink Audit & DisavowBrand Mentions & Digital Citations
Specialist SEO
Local SEO ServicesEcommerce SEO ServicesEnterprise SEO ServicesSaaS SEO ServicesYouTube SEOApp Store Optimization (ASO)
Strategy & Management
SEO ConsultingMonthly SEO ManagementSEO Reporting & Analytics
AI Search (AEO · GEO)
Industries SaaS SEOB2B SEOEcommerce SEOSEO for Law FirmsHealthcare SEOReal Estate SEOFintech & Finance SEOHome Services SEODental SEOEducation & EdTech SEO
Free Tools (33)
Learn GlossaryOur method
BlogPricingAboutContactFree AI visibility audit
Blog · SEO Guides

What Is a Canonical Tag? A Complete Guide for 2026

A canonical tag tells search engines which version of a page is the main one. Learn how rel=canonical works, when to use it, and how to check it in 2026.

SA
Saima AktherSEO and AEO Enthusiast
Updated 9 min read
What Is a Canonical Tag? illustration
On this pageKey takeawaysWhat is a canonical tag?Why do canonical tags matter for SEO?When should you use a canonical tag?Step 1: Choose the canonical URLStep 2: Add the rel="canonical" tag to the pageStep 3: Check what Google actually selectedStep 4: Fix the common canonical tag mistakesCanonical tag vs 301 redirect vs noindexHow we choseFAQSources
Short answerA canonical tag is a small piece of HTML, <link rel="canonical" href="https://example.com/page/">, placed in a page's head section to tell search engines which version of a page is the preferred one. When the same content is reachable at several URLs, the tag points Google and Bing at the one version you want indexed and shown in search results.

Key takeaways

  • A canonical tag is a hint, not a command. Google usually follows it, but it can pick a different URL if its signals disagree.
  • Use absolute URLs in canonical tags, including the https:// and the full domain, so there is no room for misreading.
  • Every page should have a self-referencing canonical tag pointing at its own preferred URL, including the canonical page itself.
  • Canonical tags do not pass ranking signals the way a 301 redirect does. Redirect true duplicates; use canonical tags for near-duplicates that must stay live.
  • Check what Google actually chose in Search Console's URL Inspection tool, which reports the Google-selected canonical for any URL.

What is a canonical tag?

A canonical tag is an HTML link element with the attribute rel="canonical" that names the preferred URL for a page. It lives in the <head> section of the HTML, alongside the other metadata tags that describe a page, and looks like this:

<link rel="canonical" href="https://www.example.com/blog/canonical-tag-guide/" />

The tag exists because the same content often lives at more than one address. A product page might load with and without www, over http and https, and with tracking parameters such as ?utm_source=email or ?sort=price.

To a search engine, each address looks like a separate page, so links and ranking signals split across the copies instead of adding up on one URL.

The canonical tag solves that by declaring one address as the main version. Search engines then consolidate the signals from all the copies onto the canonical URL, and the canonical URL is the one they show in search results.

Google describes the canonical tag as a strong signal, not a directive. It can ignore the tag if the pages are not similar enough, or if other signals point somewhere else. That is why the tag works best when every other signal agrees with it.

Why do canonical tags matter for SEO?

Canonical tags matter because duplicate URLs split the signals that search engines use to rank pages. When five versions of one page each collect a few links, none of them looks as strong as a single page holding all five links would.

A canonical tag consolidates those signals. Links pointing at the duplicate versions count toward the canonical URL, which strengthens the page Google actually shows.

It also stops search engines wasting crawl budget on endless parameter variations of the same page, and it prevents the wrong version, such as a print view or a URL full of tracking parameters, from appearing in search results.

Canonical tags do not fix every duplicate-content problem. If two pages are genuinely different, a canonical tag will not make Google treat them as one.

And a canonical tag is not a penalty shield: Google does not punish sites for duplicate URLs, it simply picks one version to show, and how much duplicate content is acceptable depends on how similar the pages are.

When should you use a canonical tag?

Use a canonical tag whenever the same or very similar content is reachable at more than one URL and you need every version to stay live.

The most common cases are tracking parameters on shared links, sorting and filtering options on category pages, http and https versions of the same page, www and non-www versions, and print or AMP versions of an article.

Use a canonical tag for near-duplicates too, such as two product pages that differ only in colour or size, or a landing page that exists in a paid-search version and an organic version. In each case the tag tells search engines which copy is the main one while the others keep working for visitors.

Do not use a canonical tag to hide a page you never want indexed. A canonical tag is a hint, so the page can still appear in search results.

Pages that should never be indexed need a noindex directive instead. And do not use a canonical tag as a substitute for a redirect when a page has permanently moved: a 301 redirect is the stronger signal.

Step 1: Choose the canonical URL

Pick one URL to be the main version of each page, and use the same one everywhere. The canonical URL should be the cleanest, most useful address: https rather than http, your preferred www or non-www form, no tracking parameters, and no trailing-slash inconsistency.

Write the choice down as a rule for the site, not a decision per page. Every page's canonical should follow the same pattern, so a /shoes/ page always points at https://www.example.com/shoes/ and never at https://example.com/shoes?ref=instagram. Consistency is what makes Google trust the signal.

If a page has a parameterised version that users genuinely need, such as a filtered category view, that version still points its canonical tag at the unfiltered category page. The filtered page stays usable; only the search listing consolidates.

Step 2: Add the rel="canonical" tag to the page

Add one <link rel="canonical" href="..."> element inside the <head> section of every page, including the canonical page itself. A self-referencing canonical tag on the main page confirms that it is the preferred version and protects it if a parameterised copy of its URL gets shared or linked.

Use an absolute URL with the full domain, not a relative path. Google recommends absolute URLs because a relative path can resolve to the wrong address on a misconfigured site. Place the tag in the <head> only: a canonical tag in the page body is ignored.

Most content management systems add canonical tags automatically. WordPress, Shopify and most modern platforms generate a self-referencing canonical for every page, and SEO plugins such as Yoast SEO or Rank Math let you override it per page.

Check what your platform does before adding tags by hand, so you do not end up with two conflicting canonical tags on one page.

For pages that are not HTML, such as PDFs, use a canonical tag in the HTTP response header instead. The syntax is Link: <https://www.example.com/page/>; rel="canonical", and it works the same way as the HTML version. Google also accepts sitemap entries as a weak canonical signal, but a sitemap alone is not a substitute for the tag.

Step 3: Check what Google actually selected

After adding canonical tags, verify that Google picked the URL you intended. Open the URL in Google Search Console's URL Inspection tool and look at the "Google-selected canonical" field. If it matches your declared canonical, the signals agree.

If Google selected a different URL, look for conflicting signals. Common causes are internal links pointing at the non-canonical version, the non-canonical URL appearing in your sitemap, a redirect chain ending somewhere else, or pages that are not similar enough for Google to treat them as duplicates.

Fix the conflicting signal rather than adding a second canonical tag: a page should only ever declare one canonical URL.

Crawl the site regularly with a tool such as Screaming Frog, which reports canonical tags, canonical mismatches and pages with more than one canonical tag. A monthly crawl catches the mistakes that creep in when templates change or new page types launch, and it pairs well with a regular technical SEO check of titles, headings and indexation.

Step 4: Fix the common canonical tag mistakes

Most canonical tag problems come from a short list of errors. The first is pointing a canonical tag at a page that redirects, returns a 404, or is blocked by robots.txt. A canonical URL should return a 200 status and be crawlable, or Google will disregard it.

The second is chaining canonical tags: page A points at page B, and page B points at page C. Google may follow the chain, but it may also stop at B. Point every duplicate directly at the final canonical URL.

The third is mixing signals. Do not declare one URL in the canonical tag, list a different URL in the sitemap, and link internally to a third. Search engines weigh all of these signals, and a split vote is how the wrong URL gets picked. Make the canonical tag, the sitemap and the internal links agree on one address.

The fourth is canonicalising genuinely different pages. If two pages target different keywords or show substantially different content, a canonical tag will not merge them, and it may cause one of them to drop out of the index. Only canonicalise pages that are duplicates or near-duplicates.

The fifth is forgetting the tag on paginated or filtered pages. A category page at /shoes/?page=2 should carry a self-referencing canonical, not point at page 1, because page 2 shows different products. The same applies to filtered views that show a meaningfully different set of items.

Canonical tag vs 301 redirect vs noindex

Canonical tags, redirects and noindex solve different problems, and picking the wrong one is a common SEO mistake. The table below shows when each one fits.

Method What it does Use it when
Canonical tag Hints which copy is preferred; all versions stay live Near-duplicates must stay accessible, such as parameter or print versions
301 redirect Permanently sends users and signals to a new URL A page has moved or a duplicate should not exist at all
Noindex Keeps a page out of the index entirely A page should never appear in search, such as an internal search page
Robots.txt block Stops crawling but not indexing You want to save crawl budget on a section, accepting the URL may still be listed

A 301 redirect is the strongest signal and the right choice for true duplicates that serve no purpose, such as an old URL after a site migration. A canonical tag is the right choice when the duplicate version still needs to work for visitors, such as a product page with a tracking parameter from an email campaign.

How we chose

We based this guide on Google Search Central's canonicalisation documentation and on the behaviour of Search Console's URL Inspection tool, checked in November 2026. Where Google's guidance and common practice differ, we follow Google's documentation. We do not accept payment for placement.

Frequently asked questions

What is a canonical tag in simple terms?

A canonical tag is a line of HTML that tells search engines which version of a page is the main one. When the same content exists at several URLs, the tag points at the preferred address so links and ranking signals consolidate on one page instead of splitting across copies.

Does a canonical tag pass link value like a redirect?

A canonical tag consolidates most link signals onto the canonical URL, but not as completely or reliably as a 301 redirect. Google treats the tag as a strong hint rather than a directive, so a redirect is the better choice when a duplicate page can be removed entirely.

Can a canonical tag point to a different domain?

Yes. A canonical tag can point to a URL on another domain, which is useful for syndicated content or content republished with permission. Google may or may not honour a cross-domain canonical, depending on how similar the pages are and whether the other signals agree.

Should every page have a canonical tag?

Yes. Every indexable page should carry a self-referencing canonical tag pointing at its own preferred URL. It confirms the page is the main version and protects against parameterised copies of the URL collecting signals of their own.

Why is Google ignoring my canonical tag?

Google ignores a canonical tag when the pages are not similar enough, when the canonical URL redirects or returns an error, or when other signals such as internal links and the sitemap point at a different URL. Check the Google-selected canonical in Search Console's URL Inspection tool, then align every signal on one address.

Is a canonical tag the same as a 301 redirect?

No. A canonical tag is a hint that leaves all versions of a page live, while a 301 redirect permanently moves visitors and search engines to a new URL. Use a redirect when a page has moved for good, and a canonical tag when duplicate versions need to stay accessible.

Sources

SA
About the authorSaima Akther · SEO and AEO Enthusiast

Saima Akther is an SEO and AEO enthusiast who writes Serplark’s best-of lists and guides on SEO tools, answer engine optimization and AI search. Published . Spot an error or a missing tool? Tell us and we will check it.