Duplicate title tags being caused by upper case and lower case version of urls'
-
Hi
GWT is reporting lots of duplicate titles for a clients new site.
Mainly these are due to 2x different versions of the url, one with words starting with an upper case character and the other all lower case.
Clients dev saying this has something to do with windows server and is ok!
Is this correct or should i be telling them to delete and then 301 redirect all upper case versions to the lower case (since lower case better practice) and that will deal with the reported dupe titles ?
All Best
Dan
-
Hi Tom
Sorry to be a pain but please can you confirm re my latest question/comment reply to yours, i.e. does your advice still stand if client on a windows server (since i dont think have .htaccess files or do/can they?)
And if not then is there a similar course of action that can be taken ?
Cheers
Dan
-
Many Thanks Raymond !
All Best
Dan
-
That great Tom thanks alot for your advice !
Clients on a windows server, am i right in thinking they dont have htaccess files since they are just on apache ?
If so is principle/code the same and just done in a different file ? if so any ideas what that file is ? or am i mistaken and windows do have htaccess files ?
Cheers
Dan
-
Hi Dan
I wouldn't want to leave anything to doubt and would prefer to have 1 version of each URL available.
Fortunately, a fairly simple solution can be put in place in your htaccess file. As always, please backup and test before trying any implementation - I can't tell you how many times I've made a simple mistake in the htaccess file that causes big problems!
Anyway, the code you'd want to enter at the top of the file is:
RewriteEngine On
RewriteMap lc int:tolower
RewriteCond %{REQUEST_URI} [A-Z]
RewriteRule (.*) ${lc:$1} [R=301,L]That code will basically rewrite any URL containing uppercase letters to the same URL using only lowercase.
Redirects are quicker and more reliable than canonical tags in my experience and this doesn't take long to get implemented, so best not leave anything to chance.
Hope this helps.
-
GWT sometimes takes a while to register the change. It just actually happened on one of my clients pages where there was a bug in the code made by the developer and they got 30,000 duplicate title and description errors. It was fixed about 2 months ago and while the errors have dropped to 2000 or so, it is still not at zero yet, so it does take some time depending on how often Google crawls the site.
If the developer says they did it, I would recommend the first thing you do is simply check that they did it. Go to one of the pages in question, both one with capital and without, and do a view source on both to check that the rel="canonical" tag is there and is correct. Programmers don't always know much about SEO so they may be implementing them wrong.
-
Thanks Raymond
The developers are saying they have done this
Does that mean that if its showing in GWT it hasnt been done ?
Cheers
Dan
-
As a simpler solution, why don't you just add a rel="canonical" tag to each page specifying the one you want? That should take care of any duplicate content issues.
I hope this helps.
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
-
Online shop - Long Titles & URLs acceptable?
Hi guys, We have this new online shop with over 1000 products (very technical products), synchronised with the SAP system of the company. So basically the page URLs are generated based on the following structure: Domain Name / Language / Product Category / Subcategory-1 / Subcategory-2 / Subcategory-3 / Product Name and Model Sometimes the URLs are over 130 characters length. Would this harm the shop's ranking, so should we really fix this, or it's something that can be ignored, having in mind the technical products in the shop? I would really appreciate your advice! Thanks!
Technical SEO | | Andreea-M0 -
Google has deindexed a page it thinks is set to 'noindex', but is in fact still set to 'index'
A page on our WordPress powered website has had an error message thrown up in GSC to say it is included in the sitemap but set to 'noindex'. The page has also been removed from Google's search results. Page is https://www.onlinemortgageadvisor.co.uk/bad-credit-mortgages/how-to-get-a-mortgage-with-bad-credit/ Looking at the page code, plus using Screaming Frog and Ahrefs crawlers, the page is very clearly still set to 'index'. The SEO plugin we use has not been changed to 'noindex' the page. I have asked for it to be reindexed via GSC but I'm concerned why Google thinks this page was asked to be noindexed. Can anyone help with this one? Has anyone seen this before, been hit with this recently, got any advice...?
Technical SEO | | d.bird0 -
Duplicate Meta Titles and Descriptions Issue in Google Webmaster Tool
Hello All, We have one site named http://www.bargains-online.com.au/ & have some categories along with filter option on left side like filter by price & by brand, ect. We have already set rel canonical tags on all filtered pages, but still those all pages showing duplicate page titles and description warning in HTML Improvements section in Google Webmaster Tool. For Example: http://www.bargains-online.com.au/pressure-cleaners.html We've set rel canonical tag on below pages. http://www.bargains-online.com.au/pressure-cleaners/l/manufacturer:black-eagle.html http://www.bargains-online.com.au/pressure-cleaners/l/price:2,100.html http://www.bargains-online.com.au/pressure-cleaners/l/price:3,100.html Kindly request if anybody has any solutions for the same, please share with us. Thanks, Akshay
Technical SEO | | akshaydesai0 -
Site's IP showing WMT 'Links to My Site'
I have been going through, disavowing spam links in WMT and one of my biggest referral sources is our own IP address. Site: Covers.com
Technical SEO | | evansluke
IP: 208.68.0.72 We have recently fixed a number of 302 redirects, but the number of links actually seems to be increasing. Is this something I should ignore / disavow / fix using a redirect?0 -
Do I still need to fix duplicate titles even though they have canonicalized?
Well, what can I say question is on the title 😛
Technical SEO | | atakala
Do I still need to fix duplicate titles even though they have canonicalized?
Thank you mozzers.
I LOVE u guyz.0 -
Drupal SEO help - Duplicate content but very similar URLS?
Hi, This is a very strange problem and not sure how it has happened. I am adding packages to my website and a duplicate page & almost identical URL is being picked up by Google. E.g. the page I make is http://www.ukgirlthing.co.uk/hen-party/bristol-spa-rty-lunch-pampering-h... but then also appearing is http://www.ukgirlthing.co.uk/hen-party/bristol-spa-rty-pampering-hen-party. The node's are exactly the same, and if i edit one of them, the other also updates. You will notice that the URL's are almost exactly the same, except the words are re-organised slightly? Shall i just delete the URL alias of the duplicate entry or is there something else which is making this happen? These URL's are being picked up as duplicate content, although it's the same node! Hope you can help, Thank you!
Technical SEO | | Party_Experts0 -
URL Mixed Cases and Duplicate Content
Hi There, I have a question for you. I am working on a website where by typing any letter of the URL in lower or upper case, it will give a 200 code. Examples www.examples.com/page1/product www.examples.com/paGe1/Product www.examples.com/PagE1/prOdUcT www.examples.com/pAge1/proODUCt and so on… Although I cannot find evidence of backlinks pointing to my page with mixed cases, shall I redirect or rel=canonical all the possible combination of the cases to a lower version of them in order to prevent duplicate content? And if so, do you have any advice on how to complete such a massive job? Thanks a lot
Technical SEO | | Midleton0 -
Are URL's with trailing slash seen as two different URLs
Hello, http://www.example.com and http://ww.example.com/ Are these seen as two different URL's ? Just as with www or non www ? Or it doesn't make any difference ?
Technical SEO | | seoug_20050