Duplicate content for www & non-www results
-
why would my campaign show duplicate content entries for www & non-www versions of my url?
Here's an example
I have a page called 'mydomain.com/resources/', and the campaign analysis shows it as being duplicate content, with the duplicate being 'www.mydomain.com/resources'.
I don't know where I can adjust this or if it is perhaps related to some other setting, like Google Analytics or something else.
/G
-
Are you on a Microsoft or Apache server? The instructions are a little different for each, but you'll want to redirect your non-www to your www (or vice versa). You don't want two different URLs for the same content, which is what is happening right now.
-
Hi Andy,
I do use a CMS on this site (my own site) however, it doesn't create duplicate pages.
I don't force or restrict the www prefix at all.
/G
-
Thanks Maurizio,
I suspect it's a setting within Google Analytics account that is the route cause in this case.
While pages themselves load with or without www specified, the sitemap.xml and all internally linking do not use the www prefix at all.
I'm aware of forcing it using .htaccess, but looking to see if there's some underlying configuration that I can adjust.
/G
-
Hi Gregory,
Is this the only kind of instance of duplicated content? I only ask as some platforms (Wordpress, Joomla) can create duplicate pages which require a bit of work to sort out. These don't tend to be www / non-www issues though.
Andy
-
i think that you can use webmaster tools of google, and decide to use you domain with www or without www
you can also redirect with .htacces (linux) - IIS (Windows) to www.domain.com ----> domain.com
or
domain.com------>www.domain.com
after some days the crawler understand that you have only one domain and so you can avoid duplicate content.
Ciao
Maurizio
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
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
-
Price for SEO Audit & Strategy
Hello, I am a part-time SEO and own a few web properties, in addition to owning other small businesses. I do the best I can in my spare time to grow my site's traffic and try to create decently valuable content. However, I feel like I am not getting the best results possible, so I am wondering if anyone on here would be interested in helping me with a site audit and strategy. I can do the grunt work myself, I just want someone with a fresh perspective to weigh in and guide me on what I should focus on to achieve my goals. Please let me know if you're interested and how much it may cost. A range is fine. Here are the specs on my site & niche: About 20 pages of content, most of which have 96-100 page optimization scores on Moz. DA of 19, home PA 32 Most competitive KW is 22 difficulty, 83 opp and 67 potential. Thanks so much, any insight is much appreciated. Please respond here or DM me directly. Best, Ricardo
Competitive Research | | myriad_ricardo1 -
What keywords & phrases are my competitors targeting?
I wanted to compare our keyword focus, to my competitors. What is the best way to audit what type of content / keywords - my competitors are using?
Competitive Research | | jwochna0 -
Why is razorservers.com the #1 result on Google for dedicated server hosting?
Why is razorservers.com the #1 result on Google for dedicated server hosting? The site also ranks well on Google for the keyword dedicated server. It outranks sites with a PageRank of 7 and 100k+ back-links. Thanks
Competitive Research | | stevenbond0 -
The starter crawl is going on 2 days and no results
Does the starter crawl work in the first 30 days? Mine has been going 2 days and still no results, has finished yet??
Competitive Research | | WalterW0 -
What do the following metrics in the SEOMoz toolbar stand for: PA, mR, MT & DA?
I just downloaded the SEOmoz toolbar and found out several metrics that I need help to understand: PA mR mT DA Can anyone help with this?
Competitive Research | | amtnezschez0 -
What is the difference between "external backlinks" & "referring domains" on Majestic SEO?
According to Majestic SEO's glossary, a "Referring domain, also known as "ref domain", is a domain from which a backlink is pointing to a page or link." Given this definition, I'm not sure what an external backlink is?
Competitive Research | | nicole.healthline0 -
How to Safely Scrape Google Results?
I've built a couple of small tools that I use personally, maybe 2 or 3 times per day. Both tools scrape the top 10 results from Google and provide more details about each domain (like the SEOMoz Keyword Difficulty Tool). Google seem to have banned my IP address for automated searches... can anyone tell me a safe way of scraping the google results? Is there a suitable API for this? How do SEO Moz do this on such a huge scale?
Competitive Research | | cmaddison0 -
Government Sites Cluttering Results?
Hi Guys, Have you ever come across government sites that are cluttering up SERP's that you're trying to rank for? For a new site that I'm working on one of the keyword terms is "driving test cancellations" and is in the UK. 3 of the top 4 results are government related sites which have verry little (if not nothing) to do with the keywords. Whilst these government sites are (very) loosley related to the keyword terms, and understandably have high pa/da, what would be the best way to try and rrank higher than these sites. I'm in the process of building links and social profiles - I'm really just wondering if there's something I'm missing that is an "easy fix" for jumping ahead of these sites - or getting them removed due to their lack of relevence. Gary...
Competitive Research | | perfectweb0