How do I fix these duplicate URLs?
-
HI guys, I ran a report on my site and it shows some duplicate titles (example below).
Do I need to add something to the htaccess file or another file to fix this? I understand that the search engines should only see 1 URL for the page.
2 pages have "Bikes for sale | used bikes | second hand bicycles" title
paulswebsite.com/bikes/index.asp
Thanks
-
You have two changes I think you need to do. As Woj Kwasi says, you have URLs with and without "www.".
I would most definately redirect the non-www traffic to www-URLs. Add the redirect in your .htaccess:
RewriteEngine On
RewriteCond %{HTTP_HOST} ^thegorillafirm.com [NC]
RewriteRule ^(.*)$ http://www.thegorillafirm.com/$1 [L,R=301]
Furthermore you need to set canonical links:
http://thegorillafirm.com/bikes/">
This should be set in the index.asp file header. In a similar way you should set this for:
http://thegorillafirm.com/surf/
http://thegorillafirm.com/snow/This should help you remove the duplicate content warnings.
Best regards,
Rasmus
-
As Autobytel mentioned, specifying the canonical would be the way to go.. considering you also have www & non www versions:
-
Agree
-
Set your canonical tags
http://googlewebmastercentral.blogspot.com/2009/02/specify-your-canonical.html
-
One take on this would be to add a 301 redirect one of the URLs onto to the other. As Vjay mentioned this would look after any inbound links to the page.
this post has some good info also
http://www.seomoz.org/blog/301-redirect-or-relcanonical-which-one-should-you-use
-
hello, it depends,
1. what is the site built on, if its something like wordpress its an easy fix. you may want to think about the links coming in.
2. Use the on page optimiser to get more insight - pro tools .
hope this helps, I am by no means a know it all but there is my take on it.
best,
Vijay
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
-
URL is invalid: Why?
Hello everyone, I am currently listing my company on business directories. For some websites however when I add my website URL, it comes up as URL is invalid. What could be the reason for this? I have tried different variations like www., http:// and https://. Kind Regards,
Technical SEO | | SMCCoachHire
Aqib0 -
Which URL would you choose?
1 – www.company.com/subfolder/subfolder/keyword-keyword-product (I’m able to keyword match with this url) or 2. www.company.com/subfolder/subfolder/product (no url keyword match) What would you choose? A url which is "short" but still relevant, or, a url which is more descriptive allowing “keyword” match? Be great to get your feedback guys. Many thanks Gary
Technical SEO | | GaryVictory0 -
Content Duplication - Zencart
Hi Guys !!! Based on crawler results, it shows that I have 188 duplicate content pages, out of which some are those in which I am not able to understand where the duplication is ??? The page created is unique. All the URL's are static, all titles, metat tags are unique. How do I remove this duplication !!! I am using Zencart as a platform. Thanks in advance for the help !!! 🙂
Technical SEO | | sidjain4you0 -
Special characters in URL
Will registered trademark symbol within a URL be bad? I know some special characters are unsafe (#, >, etc.) but can not find anything that mentions registered trademark. Thanks!
Technical SEO | | bonnierSEO0 -
Duplicate Content Reports
Hi Dupe content reports for a new client are sjhowing very high numbers (8000+) main of them seem to be for sign in, register, & login type pages, is this a scenario where best course of action to resolve is likely to be via the parameter handling tool in GWT ? Cheers Dan
Technical SEO | | Dan-Lawrence0 -
Marketing URL
Hi, I need a bit of advice on marketing URL's. The destinations URL is http://www.website.com/by-development.php?area=Isle Of Wight&development=developmentname. If we wanted to use www.website.com/developmentname on literature to send people to the ugly URL above, what would we do? Would we need to rewrite the ugly URL to the neat and then 301 the ugly to the neat? Currently, the team are using a new domain of neatandrelevant.info and 301 redirecting it to ugly URL but there are lots of different developments they want to send people to so a new domain is bought for each development which seems a bit unnecessary. They point to different pages on the ugly URL website. Assuming canonical tag would not be needed then because the ugly URL page would be redirected. Also, as the website has ugly URL's anyway, would it not be best practice to use rewrites anyway so that the URL's read www.mywebsite.com/region/development? Would it confuse things to then have extra short marketing URL's missing out /region? Hope that makes sense....
Technical SEO | | Houses0 -
Keywords in Vanity URL
If I set up a vanity URL that just 301's to the main site, do the search engines look at the keywords in the vanity URL when determing how to rank the site. For example, if I set up a vanity URL of www.coolnewtechgear.com, and redirect it to www.company.com/products/, would the search engines view the keywords of cool, new, tech, and gear and associate that with the page it's getting redirected to? Or does it ignore the vanity URL and only look at the content of the page itself?
Technical SEO | | ryanwats0 -
URL Rewrite
We are trying to convince a client to do a massive rewrite from all URL's looking like this: "www.company.com/category/categoryId=82374" to something like "www.company.com/womens/jackets/rain" How would you describe the importance and impact of doing URL rewrites to an ecommerce site? What evidence/research can we share with them to convince them it is worth the time and effort to do?
Technical SEO | | Hakkasan0