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
-
Canonical for duplicate pages in ecommerce site and the product out of stock
I’m an SEO for an ecommerce site that sells shoes I have duplicate pages for different colors of the same product (unique URL for each color), Conventionally I have added canonical tags for each page, which direct to a specific product URL My question is what happens when a product which the googlbot is direct to, is out of stock but is still listed in the canonical tag ?
Technical SEO | | shoesonline0 -
Http://newsite.intercallsystems.com/vista-series/sales@intercallsystems.com
I keep getting crawl errors for urls that have email addresses on the end. I have no idea what these are. Here is an example: the-audio-visual-system/sales@intercallsystems.com Where would these be coming from, how are they created? How can i fix them? When I try to do a 301 redirect it doesn't work. Thanks for your help,
Technical SEO | | renalynd27
Rena0 -
How could i create sitemap with 1000 page and should i update sitemap frequently?
My website have over 1000 pages but the sitemap creator tools i knew only create maximum 500 pages, how could i create sitemap with full of my webpage?
Technical SEO | | magician0 -
Webmaster Tools/Time spent downloading a page
Hi! Is it preferable for the "time spent downloading a page" in Google webmaster tools to be high or low? I've noticed that this metric rapidly decreased after I moved my site to WP Engine and I'm trying to figure out if it's a good or bad thing. Thanks! Jodi QK8dp QK8dp
Technical SEO | | JodiFTM0 -
ECommerce site - Duplicate pages problem.
We have an eCommerce site with multiple products being displayed on a number of pages. We use rel="next" and rel="prev" and have a display ALL which I understand Google should automatically be able to find. Should we also being using a Canonical tag as well to tell google to give authority to the first page or the All Pages. Or was the use of the next and prev rel tags that we currently do adequate. We currently display 20 products per page, we were thinking of increasing this to make fewer pages but they would be better as this which would make some later product pages redundant . If we add 301 redirects on the redundant pages, does anyone know of the sort of impact this might cause to traffic and seo ?. General thoughts if anyone has similar problems welcome
Technical SEO | | SarahCollins0 -
Duplicate Pages Issue
I noticed a problem and I was wondering if anyone knows how to fix it. I was a sitemap for 1oxygen.com, a site that has around 50 pages. The sitemap generator come back with over a 2000 pages. Here is two of the results: http://www.1oxygen.com/portableconcentrators/portableconcentrators/portableconcentrators/services/rentals.htm
Technical SEO | | chuck-layton
http://www.1oxygen.com/portableconcentrators/portableconcentrators/1oxygen/portableconcentrators/portableconcentrators/portableconcentrators/oxusportableconcentrator.htm These are actaully pages somehow. In my FTP there in the first /portableconentrators/ folder there is about 12 html documents and no other folders. It looks like it is creating a page for every possible folder combination. I have no idea why you those pages above actually work, help please???0 -
How to Solve Duplicate Page Content Issue?
I have created one campaign over SEOmoz tools for my website. I have found 89 duplicate content issue from report. Please, look in to Duplicate Page Content Issue. I am quite confuse to resolve this issue. Can any one suggest me best solution to resolve it?
Technical SEO | | CommercePundit0 -
Switching ecommerce CMS's - Best Way to write URL 301's and sub pages?
Hey guys, What a headache i've been going through the last few days trying to make sure my upcoming move is near-perfect. Right now all my urls are written like this /page-name (all lowercase, exact, no forward slash at end). In the new CMS they will be written like this: /Page-Name/ (with the forward slash at the end). When I generate an XML sitemap in the new ecomm CMS internally it lists the category pages with a forward slash at the end, just like they show up through out the CMS. This seems sloppy to me, but I have no control over it. Is this OK for SEO? I'm worried my PR 4, well built ecommerce website is going to lose value to small (but potentially large) errors like this. If this is indeed not good practice, is there a resource about not using the forward slash at the end of URLS in sitemaps i can present to the community at the platform? They are usually real quick to make fixes if something is not up to standards. Thanks in advance, -First Time Ecommerce Platform Transition Guy
Technical SEO | | Hyrule0