Moz Q&A is closed.
After more than 13 years, and tens of thousands of questions, Moz Q&A closed on 12th December 2024. Whilst we’re not completely removing the content - many posts will still be possible to view - we have locked both new posts and new replies. More details here.
Www vs non-www which is better?
- 
					
					
					
					
 Is it better to have all your pages point to the www version or non www version. 
- 
					
					
					
					
 I am needing help with this same thing. Did you ever find a solution to redirecting with yahoo web hosting? TIA 
- 
					
					
					
					
 Joel, i prefer www version cause i think from a technical perspective, there are several benefits to including the WWW. - Ability to restrict cookies when using multiple subdomains. Cookies of a main domain (i.e. example.com) are sent to all subdomains: If you are going to have subdomains for other purposes (blog for instance), you may want to differentiate the sites and have a www prefix for the regular site.
- WWW actually MEANS something. As mentioned above, WWW is a hostname, and the hostname names the specific service being used a computer network; WWW names the web service for a domain.
- Using the WWW hostname allows for easy segregation in the file structure of your website. Everything in the “www” folder (and at the www.example.com domain) is directly related to serving the site to the public. This allows for simple root-level site organization, eg you could also have a dev folder and have a subdomain dev.example.com for your development site, etc.
- More flexibility with DNS. Your domain’s “Zone” file controls where traffic to your domain is directed and using the non-WWW version of your domain can complicate things.
 you may still want to use the WWW simply because it’s conventional to do so. On a business card, the WWW clearly conveys, This is our address on the World Wide Web. People are used to looking for, and seeing, the WWW and that’s sufficient reason for many to stick to the convention  
- 
					
					
					
					
 Personally, I'd dump yahoo hosting and have my stuff hosted elsewhere. For less than $40/mo you can get hosting and have access to edit the .htaccess file to your heart's content. 
- 
					
					
					
					
 I spoke with Yahoo, apparently they only offer the 301 redirect for the higher cost hosting plans that run about $40. Any ideas? 
- 
					
					
					
					
 
- 
					
					
					
					
 Ok, does anyone know how to do a proper 301 redirect in yahoo web hosting? 
- 
					
					
					
					
 As long as your consistent, but it just comes down to which have the higest ranksing if on an existing site. I tend to prefer non-www for new sites as its less typing and un-necessary. There is a moment for non-www http://no-www.org/ 
- 
					
					
					
					
 There is no better method they do not affect rankings, it is purely personal preference. However you must implement proper redirect rules to resolve http://mysite.com to http://www.mysite.com or vice versa which ever one you choose. I tend to always go for www. as it just looks better to me. 
- 
					
					
					
					
 I prefer www, because folks will generally tend to use that version when they link to you. It's reflex. But you can check this. Run Open Site Explorer for both versions of your domain. If more people link to you using 'www' than non-www, use www and 301 redirect the non-www to www. If more people use non-www, do the reverse. 
- 
					
					
					
					
 If you do choose to keep the www, make sure you have redirects in place so when a user doesn't enter the www, he or she will get to your home page. Just FYI, www.domain.com is a subdomain of domain.com, so if your site can be access through both, search engines view these as two different pages and possibly split rankings. 
- 
					
					
					
					
 Neither one is better, but whichever one you choose, make sure you remain consistent for your entire site. As for me, I use the www because that's what google uses. 
Browse Questions
Explore more categories
- 
		
		Moz ToolsChat with the community about the Moz tools. 
- 
		
		SEO TacticsDiscuss the SEO process with fellow marketers 
- 
		
		CommunityDiscuss industry events, jobs, and news! 
- 
		
		Digital MarketingChat about tactics outside of SEO 
- 
		
		Research & TrendsDive into research and trends in the search industry. 
- 
		
		SupportConnect on product support and feature requests. 
Related Questions
- 
		
		
		
		
		
		Solved Should I consolidate my "www" and "non-www" pages?
 My page rank for www and non-www is the same. In one keyword instance, my www version performs SO much better. Wanting to consolidate to one or the other. My question is as to whether all these issues would ultimately resolve to my chosen consolidated domain (i.e. www or non-www) regardless of which one I choose. OR, would it be smart to choose the one where I am already ranking high for this significant keyword phrase? Thank you in advance for your help. Technical SEO | | meditationbunny0
- 
		
		
		
		
		
		Bing Webmaster Shows Domain without WWW
 One of our sites shows thousands of 301 redirects due to domain without www in Bing Webmaster under crawl Information page. It’s been like this for a long time. None of the internal pages have domain without www, it was tested through Screaming Frog. We do have www preference set in google webmaster, but unfortunately bing doesn’t have this option. We also specify URL with www preference through structural data, but that still doesn’t help. Did anyone have similar problems with Bing, and how did you resolve it? Technical SEO | | rkdc1
- 
		
		
		
		
		
		Discrepancy in actual indexed pages vs search console
 Hi support, I checked my search console. It said that 8344 pages from www.printcious.com/au/sitemap.xml are indexed by google. however, if i search for site:www.printcious.com/au it only returned me 79 results. See http://imgur.com/a/FUOY2 https://www.google.com/search?num=100&safe=off&biw=1366&bih=638&q=site%3Awww.printcious.com%2Fau&oq=site%3Awww.printcious.com%2Fau&gs_l=serp.3...109843.110225.0.110430.4.4.0.0.0.0.102.275.1j2.3.0....0...1c.1.64.serp..1.0.0.htlbSGrS8p8 Could you please advise why there is discrepancy? Thanks. Technical SEO | | Printcious0
- 
		
		
		
		
		
		Duplicate Content Issue WWW and Non WWW
 One of my sites got hit with duplicate content a while ago because Google seemed to be considering hhtp, https, www, and non ww versions of the site all different sites. We thought we fixed it, but for some reason https://www and just https:// are giving us duplicate content again. I can't seem to figure out why it keeps doing this. The url is https://bandsonabudget.com if any of you want to see if you can figure out why I am still having this issue. Technical SEO | | Michael4g1
- 
		
		
		
		
		
		Robots.txt on http vs. https
 We recently changed our domain from http to https. When a user enters any URL on http, there is an global 301 redirect to the same page on https. I cannot find instructions about what to do with robots.txt. Now that https is the canonical version, should I block the http-Version with robots.txt? Strangely, I cannot find a single ressource about this... Technical SEO | | zeepartner0
- 
		
		
		
		
		
		Meta Description VS Rich Snippets
 Hello everyone, I have one question: there is a way to tell Google to take the meta description for the search results instead of the rich snippets? I already read some posts here in moz, but no answer was found. In the post was said that if you have keywords in the meta google may take this information instead, but it's not like this as i have keywords in the meta tags. The fact is that, in this way, the descriptions are not compelling at all, as they were intended to be. If it's not worth for ranking, so why google does not allow at least to have it's own website descriptions in their search results? I undestand that spam issues may be an answer, but in this way it penalizes also not spammy websites that may convert more if with a much more compelling description than the snippets. What do you think? and there is any way to fix this problem? Thanks! Technical SEO | | socialengaged
 Eugenio0
- 
		
		
		
		
		
		Subdomain vs Main Domain Penalties
 We have a client who's main root.com domain is currently penalized by Google, but the subdomain.root.com is appearing very well. We're stumped - any ideas why? Technical SEO | | Prospector-Plastics0
- 
		
		
		
		
		
		Root vs. Index.html
 Should I redirect index.html to "/" or vice versa? Which is better for duplicate content issues? Technical SEO | | DavetheExterminator0
 
			
		 
			
		 
			
		 
			
		 
			
		 
			
		 
			
		 
			
		 
					
				 
					
				 
					
				 
					
				 
					
				 
					
				 
					
				