SEO Duplicate Content
Quick summary
Your site has the same content accessible via multiple URLs, confusing search engines about which version to index.
Why this happens
Same page accessible with and without trailing slash (/page and /page/)
HTTP and HTTPS versions both accessible
www and non-www versions both serving content
URL parameters creating duplicate pages (?sort=asc and ?sort=desc)
Minimal example
<!-- Same content at multiple URLs -->
<!-- https://example.com/article -->
<!-- https://www.example.com/article -->
<!-- https://example.com/article/ -->
<!-- No canonical tag — search engines see duplicates --><!-- Add canonical tag to all versions -->
<link rel="canonical" href="https://example.com/article">
<!-- And set up 301 redirects: -->
<!-- www → non-www, trailing slash → no slash -->The canonical tag tells search engines which URL is the authoritative version. Combined with 301 redirects, this consolidates all versions into one indexed URL.
How to diagnose
Use Google Search Console to check for duplicate content warnings
Search site:example.com in Google to see indexed URLs
Check if multiple URLs return the same content
How to fix
Add rel=canonical tags pointing to the preferred URL version
Set up 301 redirects from non-preferred to preferred URLs
Configure URL parameter handling in Google Search Console
Standardize on one format (https, non-www or www, no trailing slash)
How to prevent
Always use canonical tags on pages with URL variations
Set up redirects during initial site configuration
Use a consistent URL structure across the site
Related Resources
Related Lessons
- SEO Basics
Learn SEO.