www vs no-www duplicate which should I use
-
site is no-www
I caught this in archives.
Will this by my fix?
Mike Davis Online Marketing Manager at McKesson
- May 22, 2013
Easy fix:
in your .htaccess file, use this
RewriteEngine On
RewriteCond %{HTTP_HOST} !^domain.com
RewriteRule (.*) http://domain.com/$1 [R=301,L]Remember to replace domain.com with your domain name.
Enjoy! -
touristips
You can use either without any negative effects whatsoever. The .htaccess above is correct for non www. Also, in GWMT go in and select a preferred domain as a backup. So, since you are using non www, go to GWMT and top right corner you will see the tools wheel. Click it and go to site settings. Then select the non www.
This will insure all is correct.
Best
-
I would go for www. There are some technical reasons why you would want www's.
I don't know the full reason, but the way some hosts configure their caching, and cpanel cloudflare integration you may be forced to use www's if you want to take advantage of that. Take a popular host like Siteground for instance, if you wanted to use their supercacher and cloudflare you must use www's.
Sorry I cannot provide clear technical reasons, as I don't fully understand it, but I have had to deal with this in the past. Prior to running into these issues, I used to think it didn't matter and had all my sites with the non-www's. Its not a problem on the whole, but you should be aware in a very small number of cases it might be (of course you can just avoid any problems by avoiding that particular configuration, it just might be annoying thats all).
-
doesnt matter which one you go for so long as you stick with it to be consistent
most people these days seem to be going for non www option
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Can I use £ character in title tag?
Hi - Can you use something like "save £££s" in the title tag. Have looked but can't see an answer. Thanks.
On-Page Optimization | | StevieD0 -
"?inline=true" Duplicate Page
I have a new Drupal client and am getting a duplicate page error and indicates "?inline=true" after the domain as the culprit. Google comes up empty 😞
On-Page Optimization | | JimCoarse0 -
Duplicating content on multiple domains
Hey guys, I've started working with a new client recently called Resource Investing News. I'm more a Social Media person, though I do have SEO experience. RIN has about 40 URLs all of which have original news content published on them. One SEO-related issue that I can see here though is that the primary domain re-publishes all of the original content that the other URLs do. In other words: resourceinvestingnews.com will have an article on it that is also published on goldinvestingnews.com with the same date stamp and a link out to the original article. E.g. http://resourceinvestingnews.com/42539-molybdenum-goes-far-beyond-steelmaking.html http://molyinvestingnews.com/5301-molybdenum-steelmaking-vehicle-demand-electronics-lubricant.html Does anyone have an idea if this is something that should be reviewed and/or whether the content is being negatively affected in search? Many thanks!
On-Page Optimization | | blahblahblah20150 -
Duplicate Page Title
Wordpress Category pagination causes duplicate page title errors (ie. when there are so many posts in the category, it paginates them), is this a problem? Your tool is reporting it as a problem... but ProPhoto (my Wordpress provider say it is not a problem). Here are the 2 URL's with the same page title: http://www.lisagillphotography.co.uk/category/child-photography/ http://www.lisagillphotography.co.uk/category/child-photography/page/2/
On-Page Optimization | | LisaGill0 -
Using a more relevant brand title for blog
I'm a newbee here so I appologize in advance for asking a question that might already be aswered ( i looked I promise). The question is this, I've been fiddling with the title tags and came upon the need to make a decision about separating our blog brand to be more specific to it's content. We're a moving company, our primary website talks about services and is branded with our name (%page_name% | 2 Brothers Moving & Delivery Portland Oregon), our blog is a work in progress "Moving Guide" (%post_title% | Portland Moving Guide). Should I stick with the standard brand name on the blog or call it something keyword specific like above? As a side question what do you all think about my titles in the first place? In case you'd like to take a look: www.2brothersmoving.net www.2brothersmoving.net/blog
On-Page Optimization | | r1200gsa0 -
Duplicate page content,
Hi, in my campaign crawls diagnostic, I have a lot of Duplicate page content, but we use canonicalization and I used webmastertool to make sure the campaign parameters are not consider by the Google bot. Can you see what could be my problem, or do you have a tip for me or things to look at ? Thank You VB
On-Page Optimization | | Vale70 -
Correct use of Canonical link vs 301 redirect
Hi All, Seeking yet more advice. SEOMOZ tools have told me I have duplicate content on one of my sites and I am keen to clean this up. I am not to familiar with the following so thought I would ask. The duplicate content is shown on : www.mysite.com www.mysite.com/index.html Obviously I only see index.html when I check the code so what is the best method of resolving the duplicate content, Canonical or 301? Can you give me an example 🙂 Thanks all
On-Page Optimization | | wedmonds0 -
Is the www and non www isue realy seen by Google as duplicate content?
I realy don't understand how Google could posibly devaluate a link because the site displays the same content with www and without www. I mean did somebody recently saw a devaluation of a domain because of this isue? I somehow can not belive this because it is the standard when geting a new webspace that the new website display the same content with and without www. Is a redirect realy necessary?
On-Page Optimization | | MichaelJanik0