Best practices
- Every indexable page should have a canonical — ideally self-referencing.
- The canonical should be an absolute URL, consistent with the sitemap and internal linking.
- Do not combine canonical with noindex on the same page — these are conflicting signals.
- Pagination and language variants are not duplicates — do not canonicalize them to a single page.
Canonical is a hint, not a directive
Google treats rel="canonical" as a strong suggestion it may ignore if other signals (internal links, sitemap, redirects) point elsewhere. Consistency of all signals is a precondition for effective canonicalization.
Example
A self-referencing canonical on a product page — it points to itself as the primary version even though the same product may be available under a sorting-parameter URL.
<link rel="canonical" href="https://example.com/products/mens-t-shirt">Link: <https://example.com/products/mens-t-shirt>; rel="canonical"