Canonical URLs: Complete Guide to Avoiding Duplicate Content

Use canonical URLs to solve duplicate content and consolidate link equity.

Canonical URLs tell Google which page version is the "master" copy, preventing duplicate content issues.

Duplicate Content Causes

URL parameters, HTTP/HTTPS variants, www/non-www, trailing slashes, pagination.

Implementation

Add canonical tag to every duplicate page pointing to preferred version. Self-reference on the canonical page.

Best Practices

Use absolute URLs. Don't canonicalize to redirects. Include on every page.

Pro Tip

Every page should have a self-referencing canonical, even unique ones.

Generate correct canonical URLs with our Canonical Generator.

Try Free Tool

Frequently Asked Questions

What Is It?
<link rel="canonical" href="..."> in your <head> specifies the preferred version.