Mobile app version of vmapp.org
Login or Join
Correia994

: How to handle URLs that differ in case-sensitivity and show same content For to the following URLs: http://mydomain.com/page http://mydomain.com/Page I'm showing the same content. Can this hurt

@Correia994

Posted in: #CaseSensitive #Seo #Url

For to the following URLs:
mydomain.com/page mydomain.com/Page

I'm showing the same content. Can this hurt SEO? I understand that theoretically it can, but does Google really penalize such cases and categorize it as duplicate content?

If so, would you advise on doing a 301/302 redirect or adding a rel="cannonical" to the lower case?

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @Correia994

2 Comments

Sorted by latest first Latest Oldest Best

 

@Ann8826881

I agree with Zistoloen’s answer in that you should use rel-canonical or 301-redirects. However, I don’t agree that rel-canonical is the best practice.

If possible, you should use 301-redirects.

rel-canonical only works for search engines that support this link type keyword (which are not all search engines).

301-redirects work for everything and everyone. All search engines, all users, all tools.

Think, for example, of bookmarking services: if you’d use rel-canonical, some users might bookmark the uppercase variant, some the lowercase variant. If you 301-redirect, everyone would bookmark the same URL. Think of caches. Think of archives. Think of the "visited link" decoration. There are countless examples why it’s better to have a "forced" canonical URL (= 301 redirect) for a resource than just a recommendation (= rel-canonical).



Search engines need to differentiate upper and lower case in URLs, as there can be different pages whose URLs only differ in case. Now, if you have several URLs for the same page, search engines won’t "penalize" you. Assuming that they recognize that it’s duplicate content, they‘ll simply choose one of these URLs. But better be explicit here. Use 301-redirects, if possible; if not, use rel-canonical.

10% popularity Vote Up Vote Down


 

@BetL925

Same URLs with lower case and upper case are two different URLs for search engines (thus Google). Therefore, it can be cause duplicate content issues which is very bad for SEO.

A good practice is to use the rel="canonical" tag to tell to search engines which version of your page (=which URL) is the one to follow (how to use this tag on Google support).

However, 301 redirecting upper case URL to corresponding lower case URL can be a good approach if you use a Linux server because Linux servers are case-sensitive and generate 404 errors.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme