www vs non-www: Which Is Better for SEO?

3 min read

There is no SEO difference between www.example.com and example.com. What matters is picking one and redirecting the other.

Why Choose One?

If both versions are accessible, Google may index both — splitting your link equity and creating duplicate content.

How to Fix

  1. Pick your preferred version
  2. 301 redirect the other version
  3. Set the preferred version in Google Search Console
  4. Use consistent internal links

Technical Differences

  • www: Can use CNAME records, easier for CDN/load balancer configuration
  • non-www (naked domain): Shorter, cleaner look, must use A records

Most modern sites choose non-www for brevity.