Canonical Tag Checker
Verify canonical URLs to prevent duplicate content issues
Note: Canonical tags tell search engines which version of a URL to index. Proper implementation prevents duplicate content issues.
Canonical Tag Guide
What is a Canonical Tag?
A canonical tag (<link rel="canonical">) tells search engines which version of a URL is the preferred one to index. This prevents duplicate content issues when the same content is accessible via multiple URLs.
When to Use
- β URL parameters (sorting, filtering)
- β HTTP vs HTTPS versions
- β WWW vs non-WWW versions
- β Mobile vs desktop URLs
- β Syndicated or scraped content
Implementation Example
<head>
<link rel="canonical" href="https://example.com/page" />
</head>
Common Mistakes
- β Multiple canonical tags on one page
- β Canonical pointing to 404 page
- β Canonical in body instead of head
- β Relative URLs instead of absolute
- β Canonical chains (AβBβC)
Canonical Tag Best Practices
| Practice | Recommendation |
|---|---|
| Self-Referencing | Every page should have a canonical pointing to itself |
| Absolute URLs | Always use full absolute URLs (https://...) |
| One Per Page | Only one canonical tag per page |
| In <head> | Place canonical in the head section only |
| HTTPS Preferred | Canonical should use HTTPS if available |
| Consistent | Align with og:url, twitter:url, and sitemap |