What is a canonical tag?
DEFINITION
A canonical tag is an HTML element that tells search engines which URL is the preferred version of a page when similar or duplicate versions exist.
A canonical tag is a line in a page's head section that points to the main version of that content, written as <link rel="canonical" href="https://example.com/shoes/">. It is useful when the same content can be reached through several URLs, such as with tracking parameters, sorting options, print versions, or HTTP and HTTPS variants.
Search engines treat the canonical as a strong hint, not a command. Google may choose a different canonical if other signals, like internal links, redirects or sitemaps, point elsewhere.
Why canonical tags matter
Without guidance, search engines must guess which duplicate to show and may split ranking signals between versions. A clear canonical consolidates links and relevance onto one URL, keeps the index cleaner, and reduces wasted crawling on large sites. It is especially important for online stores, where filters and product variants can create many near-identical URLs.
Example and how to check it
An apparel store might have /dresses/, /dresses/?sort=price and /dresses/?utm_source=email all showing the same list. Each version should include a canonical pointing to /dresses/. To check which URL Google picked, use the URL Inspection tool in Google Search Console, which shows both the user-declared canonical and the Google-selected canonical.
Best practices
- Add a self-referencing canonical to every indexable page as a safe default.
- Always use absolute URLs, including https and the correct domain version.
- Keep canonicals consistent with internal links, redirects and the XML sitemap.
- Point paginated pages to themselves rather than all to page one.
Common mistakes
- Canonicalizing every page on a site to the homepage, which can remove those pages from search.
- Pointing a canonical to a URL that redirects, returns a 404, or is set to noindex.
- Combining a canonical to another URL with a noindex tag on the same page, sending mixed signals.
Frequently asked questions
What is the difference between a canonical tag and a 301 redirect?
A 301 redirect sends users and bots to a new URL, so the old one is no longer viewable. A canonical tag leaves both URLs accessible to visitors but asks search engines to index and rank only the preferred one. Use redirects when a page has moved permanently and canonicals when duplicates must stay live.
Can I use canonical tags across different domains?
Yes. Cross-domain canonicals are supported, for example when you republish an article on a partner site and want the original to get credit. The syndicating site adds a canonical pointing to your URL. Search engines may still treat it as a hint rather than a rule.
Do I need a canonical tag if I have no duplicates?
It is still good practice. Parameters, tracking codes and session IDs can create duplicates you did not plan for. A self-referencing canonical makes your preferred URL explicit, and many content management systems and SEO plugins add one automatically.
Need help with this?
SEO対策 by VYZEON — どの市場でも、最初に見つけてもらえる存在に。
Fixed packages from $149/mo. Written scope, no surprises.
