What Are Canonical URLs?
A canonical URL tells search engines which version of a page is the "master" copy when multiple URLs show similar or identical content.
The Duplicate Content Problem
Multiple URLs can serve the same content:
Without canonicals, search engines may:
Implementing Canonical Tags
HTML Link Element
`` <link rel="canonical" href="https://example.com/page">
html
`
HTTP Header
` Link: <https://example.com/page>; rel="canonical"
`
Best Practices
Self-Referencing Canonicals
Every page should have a canonical tag pointing to itself:
` <link rel="canonical" href="https://example.com/current-page">
html
``
Cross-Domain Canonicals
Can point to content on different domains (with caution).
Canonical vs 301 Redirect
Common Mistakes
Audit your canonical tags with our free SEO checker.