Canonical Tag Generator
Generate canonical link tags to prevent duplicate content issues
URL Configuration
What is a Canonical Tag?
A canonical tag tells search engines which version of a URL is the "master" version. This prevents duplicate content issues when the same content is accessible via multiple URLs.
When to Use Canonical Tags
Multiple URL Parameters
When tracking parameters create duplicate content (e.g., ?utm_source=email)
HTTP vs HTTPS
When your site is accessible via both protocols
WWW vs Non-WWW
When your site works with and without www subdomain
Print/Mobile Versions
When you have separate URLs for print or mobile versions
Best Practices
- Use absolute URLs (include domain name) in canonical tags
- Make sure the canonical URL is accessible and returns 200 status
- Don't chain canonical tags (A→B→C), point directly to the master version
- The canonical URL should be the preferred version you want indexed
- Place canonical tag in the <head> section of your HTML