A canonical tag tells search engines which URL is the primary version when similar content exists at multiple addresses, concentrating ranking signals on one page instead of splitting them.
What it means in practice
The same page often lives at several addresses: with and without a trailing slash, with tracking codes added, or inside a filtered list. A canonical tag in the page's head names the one address you want in search results, so all of them count towards one page.
Google treats the tag as a strong hint, not an order. If your redirects, internal links and sitemap point somewhere else, it may choose a different address.
Example
A Shopify product can be reached at /products/blue-shirt and at /collections/shirts/products/blue-shirt. Shopify's canonical tag on both points to /products/blue-shirt, so only that address competes in search.
How to check it
- View the page source and search for rel="canonical". Every indexable page should have exactly one, pointing to its own preferred address.
- In Search Console, URL Inspection shows the "user-declared canonical" and the "Google-selected canonical". If they differ, find out why.
Read our full guide on this topic
Related Technical SEO terms
-
Crawl budget
Crawl budget is the number of pages a search engine will crawl on a site within a given period. Redirect chains, duplicate URLs, and slow responses waste it.
-
noindex
A noindex directive tells search engines not to store a page in their index. The page must remain crawlable for the directive to be seen and obeyed.
-
Core Web Vitals
Core Web Vitals are Google's measured thresholds for page experience: Largest Contentful Paint for loading, Interaction to Next Paint for responsiveness, and Cumulative Layout Shift for visual stability.
-
Largest Contentful Paint (LCP)
Largest Contentful Paint measures how long the biggest visible element takes to render. Google treats under 2.5 seconds as good.
-
Interaction to Next Paint (INP)
Interaction to Next Paint measures how quickly a page responds visually after a user interacts with it. Google treats under 200 milliseconds as good.
-
Cumulative Layout Shift (CLS)
Cumulative Layout Shift measures how much visible content moves unexpectedly while a page loads. Google treats a score below 0.1 as good.
Every term we define is in our AEO, GEO and SEO glossary. To see how your own site does on these, run the free AI visibility checker.
