Canonical URL
A canonical URL is the preferred version of a web page when multiple URLs contain identical or very similar content. It's specified using the rel="canonical" HTML tag in the page's head section, telling search engines which version to index and rank. Canonical URLs help prevent duplicate content issues that can dilute your SEO performance by splitting ranking signals across multiple similar pages. This is essential for e-commerce sites with product variations, content management systems, and sites with URL parameters.
Common Canonical Use Cases
- URL parameters: ?utm_source, ?color=red, ?page=2 variations
- HTTP vs HTTPS: Consolidating protocol versions
- WWW vs non-WWW: Standardizing subdomain preference
- Product variants: Different colors/sizes of same product
- Mobile versions: m.site.com pointing to www.site.com