Skip to content
×

Should you use www or a non-www domain? Weighing SEO and configuration choices

Redirecting www.example.com to example.com, or the other way around, is fine; the key is to choose a primary version and keep redirects and internal URLs consistent. The supplied discussions do not support the claim that adding www improves rankings, nor can a shorter URL be directly equated with better SEO. If you prefer simplicity, you can choose the non-www version; if you need to manage subdomains, you can consider keeping www. Technical considerations, however, do not amount to a search ranking advantage.[S17、S20]

Distinguish URL preferences from technical requirements

www is a subdomain name conventionally used to identify a website, not a required part of a website’s address. Choosing a non-www address may therefore reflect a preference for a cleaner appearance; keeping www does not mean your configuration is outdated.[S13]

One forum participant preferred www because of cookie settings and DNS flexibility for subdomains. However, that material did not describe the specific architecture or provide a ranking comparison, so it cannot establish that www is better for SEO. If your website does need to separate services or static resources, include those requirements in your technical assessment rather than deciding solely on how the URL looks.[S5]

Apply your preferred version consistently to redirects and links

Once you have chosen a primary version, consistency is not just about how you present the address publicly; the alternative address must also take visitors to the right destination. The specific recommendation in the discussions was to consolidate the versions using 301 permanent redirects. Whether users enter www or not, they should still be able to reach the page they intended to view.[S15、S17]

  • If you choose the non-www version, redirect the www version to it; if you choose www, configure the reverse.
  • Use the chosen version for internal links and sitemaps rather than deliberately mixing both URL forms.
  • Keep external links consistent where you control them; for links you cannot control, your website still needs to handle incoming requests appropriately.

For example, if the primary version is example.com, do not keep using www.example.com in navigation links and sitemaps, making every click depend on a redirect.[S4、S17]

Check all four entry points, not just whether the homepage loads

URL variations also include HTTP and HTTPS. An older Semrush article suggested a check: list the four entry points—with and without www, using both protocols—and confirm that the other three all redirect to the chosen version rather than repeatedly redirecting between one another.[S7]

The article described a case involving multiple redirects and error statuses on a login page, but that was the author’s individual case; it does not establish that all sequences of multiple redirects produce the same search outcomes. The useful takeaway is to check that entry points, redirect paths, and final destinations are consistent, rather than assuming the configuration is complete simply because the homepage loads.[S7]

Choosing www or non-www: perspectives from across the web

What practical considerations favor keeping www when you have multiple subdomains?

If you manage the website yourself and host static resources on another subdomain, you can consider hosting the website on the www subdomain while paying attention to cookie scope. A participant noted that keeping cookies for www from being sent to the resource subdomain might reduce data-transfer overhead. However, the effect depends on the actual cookie settings and website architecture; it does not directly imply improved rankings.

Can you use canonical tags to specify a preferred URL instead of redirects?

A public discussion suggested specifying the preferred version with a canonical URL as an alternative to a 301 redirect. Another participant preferred 301 redirects because they put users on the consistent URL form. The two serve different purposes: indicating a preference is not the same as redirecting visitors to another URL. When choosing, consider whether you also want to bring visitors to a single URL version.

What should an established large website consider when adding redirects to consolidate domain versions?

If both versions of an existing website already have backlinks, you can first inventory the affected URLs before making changes, then monitor what happens after launch. One participant said they had observed a slight initial impact after adding redirects to consolidate versions on a website with roughly 100,000 pages. However, they also said they generally would not expect typical websites to be affected. This is an individual experience, not an inevitable outcome.

References

  1. WWW vs. non-WWW: Which is Better for SEO?www.warriorforum.com — Source used in the article above.
  2. WWW vs. non-WWW: Which is Better for SEO?www.warriorforum.com — Source used in the article above.
  3. SEO preference: does a site with WWW rank better than without WWW?webmasters.stackexchange.com — Discusses: What should an established large website consider when adding redirects to consolidate domain versions?
  4. SMB Issues: Why Isn’t My Website Showing Up on Google?www.semrush.com · 2016-12-30T17:30:00Z — Source used in the article above.
  5. Are there any significant disadvantages of forwarding a naked domain to the www. homepage always?webmasters.stackexchange.com — Discusses: What practical considerations favor keeping www when you have multiple subdomains?
  6. What is the best practice for choosing default domain - www.example.com or example.com?webmasters.stackexchange.com — Source used in the article above.
  7. Are there any significant disadvantages of forwarding a naked domain to the www. homepage always?webmasters.stackexchange.com — Source used in the article above.
  8. What is the best practice for choosing default domain - www.example.com or example.com?webmasters.stackexchange.com — Discusses: Can you use canonical tags to specify a preferred URL instead of redirects?
  9. SEO: Is forcing a request to WWW.example.com from example.com a bad idea?webmasters.stackexchange.com — Source used in the article above.
Keep the conversation going

Join the discussion 0 comments

What are you working through? Share a question or experience and let’s find the next step.

No comments yet. Start the conversation.

Share your thoughts

← Keep exploring
LET’S TALK

Start with your brand.

Tell me about your website and what you want to achieve.

WhatsApp tony@procrustes.info
Scan to chat on WhatsApp