Home / Tools / Redirect www and non-www to one canonical version
Domain & DNS Health · Scan Check Guide

Redirect www and non-www to one canonical version

15 min Impact: high Effort: low ✓ Scan-verified — no manual checkbox

If both www.yoursite.com and yoursite.com load as separate, live sites instead of one redirecting to the other, search engines see duplicate content at two different URLs and split your ranking signals between them instead of concentrating everything on one canonical domain.

If both www.yoursite.com and yoursite.com load as live, independent sites instead of one redirecting to the other, search engines see duplicate content and split your ranking signals between two URLs instead of concentrating them on one.

How to fix it

  1. 1
    Decide your canonical version
    Pick either www or non-www as your one true version — there's no SEO advantage to either choice, consistency is what matters.
  2. 2
    Set up a 301 redirect from the other
    Most registrars, hosts, and Cloudflare all support this in domain or DNS settings — a permanent redirect, not a temporary one.
  3. 3
    Update your canonical tags and sitemap to match
    Make sure every canonical tag and every sitemap URL consistently uses your chosen version.
  4. 4
    Test both variants after the change
    Visit the non-canonical version directly and confirm it redirects cleanly to your canonical domain.

Common mistakes

How you'll know it's done

The non-canonical www/non-www variant correctly 301-redirects to your single canonical domain.

H.I.V.E. checks this automatically

Fix it, then re-scan — the check confirms itself. No manual checkbox, the scan is the truth.

Run this check in H.I.V.E. →