Www.xyz.com v/s xyz.com creating duplicate pages
-
I just put my site in moz analytics. The crawl results says I have duplicate content. When I look at the pages it is because one page is www.xyz.com and the duplicate is xyz.com. What causes this and how can it be fixed. I'm not a developer, so be kind and speak a language I can understand.
Thanks for your help
-
Hi Viresh,
The 301 redirect option is perfect, and so is using the canonical tag to point one "version" of the site to the other if you would rather do that - instructions for doing that are here. Just make sure, as you would with the redirect, the the canonical tag points on a page-by-page basis. That is, xyz.com/page31.html has a canonical tag on it pointing to www.xyz.com/page31.html, not to www.xyz.com/.
Cheers,
Jane
-
Yes, when you setup a website normally, this will usually be a default issue that needs to be addressed. It's an overall problem (though easy to fix) that has yet to be addressed. So, no, it's not your fault -- but it's on you and every other site owner to fix it.
-
The 'default' setup will be for no redirects to be in place. It's not that something was done incorrectly, but rather, a best practice for SEO was overlooked. It's not something your average Joe or webmaster with no SEO experience is likely going to.
-
I don't currently know which one is linked to more often. I will look into that. Thanks for that little tip and your fast response.
-
I get that!! Does this happen when a site is built? Does it just happen by default, or was something not done correctly when the site was built?
Thanks for your quick response
-
In your scenario, you will want to choose one or the other, and setup a force WWW (or non-WWW) 301 redirect. If your site is on a linux-based platform, that is accomplished with an htaccess file. If you are on a Windows-based server, you will need to use IIS (I think). A simple Google search for "force www redirect windows server" will likely return tons of solutions.
If you're on Wordpress or a similar CMS, it is usually very easy to do from within the backend. If you have no idea what server you're on, or what platform your site is built on, use builtwith.com to find out
How do you choose between www.example.com or just example.com? You'll want to go with the one that's linked to more often, and then work on sticking with that as often as possible in the future. The majority of the link juice that's pointing towards example.com will be transfered to www.example.com with the 301 redirect, so it's not like those links without WWW will be worthless. They only lose a very tiny amount of their value through the redirect. The good news is, you're fixing a big issue so it isn't going to get worse for you.
Let me know if you have more questions.
-
I hope this isn't too technical, but just do a 301 redirect from either www.xyz.com to xyz.com or vice versa (your choice) for all pages on your website. That should solve the issue! (You can and should also set one of those as the canonical domain in Google Webmaster Tools.)
If that doesn't make sense, just reply!
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
-
Create Page Titles from H1 using Yoast?
I'm working on a site that has 280 blog posts that have either been migrated from an old CMS site or created on the Dev version of the new WordPress site. We've written 280 unique meta descriptions so they don't truncate but it there a quick way I can export the current H1s and then import them into Yoast so they are set as the Page Titles? I've written unique Page Titles and meta descriptions for all the Service and Products page and just want a way to speed up the blog posts as their H1s are really good and what I would use as Page Titles anyway. Any help, greatly appreciated!
Technical SEO | | Marketing_Today0 -
Http v https Duplicate Issues
Hello, I noticed earlier an issue on my site. http://mysite.com and https://mysite.com both had canonical links pointing to themselves so in effect creating duplicate content. I have now taken steps to ensure the https version has a canonical that points to the http version but I was wondering what other steps would people recommend? Is it safe to NOINDEX the https pages? Or block them via robots.txt or both? We are not quite ready to go fully HTTPS with our site yet (I know Google now prefers this) Any thoughts would be very much appreciated.
Technical SEO | | niallfred0 -
My beta site (beta.website.com) has been inadvertently indexed. Its cached pages are taking traffic away from our real website (website.com). Should I just "NO INDEX" the entire beta site and if so, what's the best way to do this? Please advise.
My beta site (beta.website.com) has been inadvertently indexed. Its cached pages are taking traffic away from our real website (website.com). Should I just "NO INDEX" the entire beta site and if so, what's the best way to do this? Are there any other precautions I should be taking? Please advise.
Technical SEO | | BVREID0 -
Can Not Save the SEO Settings on Attachement/Media Page
I am trying to save SEO settings to a wordpress gallery attachment page for a picture. When I fill up all info and hit save all the writing disappear from from the form. Is it a software bug or there is a solution for it??
Technical SEO | | ExpertSolutions0 -
I am trying to correct error report of duplicate page content. However I am unable to find in over 100 blogs the page which contains similar content to the page SEOmoz reported as having similar content is my only option to just dlete the blog page?
I am trying to correct duplicate content. However SEOmoz only reports and shows the page of duplicate content. I have 5 years worth of blogs and cannot find the duplicate page. Is my only option to just delete the page to improve my rankings. Brooke
Technical SEO | | wianno1680 -
Duplicate Page Titles and Content
I have a site that has a lot of contact modules. So basically each section/page has a contact person and when you click the contact button it brings up a new window with form to submit and then ends with a thank you page. All of the contact and thank you pages are showing up as duplicate page titles and content. Is this something that needs to be fixed even if I am not using them to target keywords?
Technical SEO | | AlightAnalytics0 -
Duplicate page content issue needs resolution.
After my last "crawl" report, I received a warning about "duplicate page content". One page was: http://anycompany.com and the other was: http://anycompany.com/home.html How do I correct this so these pages aren't competing with each other or is this a problem?
Technical SEO | | JamesSagerser0 -
Duplicate Page Title
First i had a problem with duplicate title errors, almost every page i had was double because my website linked to both www.funky-lama.com and funky-lama.com I changed this by adding a code to htaccess to redirect everything to www.funky-lama.com, but now my website was crawled again and the errors were actually doubled. all my pages now have duplicate title errors cause of pages like this www.funky-lama.com/160-confetti-gitaar.html funky-lama.com/160-confetti-gitaar.html www.funky-lama.com/1_present-time funky-lama.com/1_present-time
Technical SEO | | funkylama0