URL Capitalization & SEO: Does It Really Matter?
In SEO, there are many long-running debates.
That’s why the term “it depends” gets thrown around so often in our industry when answering questions.
One such topic of debate: does URL capitalization really matter for SEO?
Read on as we try to clear up some of the confusion.
John Mueller Says URL Case Doesn’t Matter
While I think this is an oversimplification of matters, let’s take into consideration what Jennifer Slegg says:“So Google doesn’t consider letter case in itself as an SEO issue, but you should keep it consistent across individual URLs, because Google considers URLs to be case-sensitive. This means, if you have the same page accessible and indexable (without canonicals) as example.com/PAGE.html and example.com/page.html, Google could crawl both those URLs and the one you want to be ranked may not be the one Google chooses. You could also end up splitting ranking signals between the two pages.She has a point. If you use capitalizations in URLs across your site in addition to normal URLs, it can create a situation where you are self-creating duplicate content.
That being said, many feel that URLs that utilize upper case letters or all CAPS, with the exception of the domain name itself for style reasons, can look messy. And if it is a URL someone might type into a browser, most would default to entirely lower case, rather than using capital letters, something that might be important for those who do offline marketing too.”
And this duplicate content is what can hurt you.
This is especially true if you link to these URLs, and you don’t pay attention to your URLs when linking.
While doing so on a smaller scale cannot necessarily harm you, if done en masse on a large enough scale, it can cause significant damage to your SERP performance.
That’s why it’s important to consider different situations and how these URLs can create duplicate content issues through capitalization if you don’t handle them correctly.
Many SEO professionals agree that you should:
- Stick to one version: The lowercase pattern is recommended (because there will always be people who will link to this more traditional version).
- Use 301 redirects: If you see URLs with capital letters get into index (someone linked to it or you changed your content management system and it capitalized some URLs). Let people, search crawlers, and links go to non-capitalized URLs to avoid any problems.
“Case sensitivity in URLs only becomes an issue for SEO when (or if) multiple versions of your URLs get found by search engines. If the URL doesn’t automatically resolve to a version without capitals, and you have shared links that sometimes include capital letters and sometimes don’t, then you are going to start having a problem.As you can see, many situations exist where URL capitalization can interfere with your website’s performance in the SERPs.
Search engines crawl the individual pages of your website and assign trust and authority to each of these based on many factors (including links to your website). If, for example, you have two pages for every page of your website, you would be sharing the trust and authority assigned between two, rather than consolidating it all into the one version of each page.”
And while Mueller says you can pick whatever you want, this is what he is really saying:
- Pick whatever you want, but also use the same case throughout your site.
- Don’t mix and match cases, because then you can run into major issues.
- Google considers capitalization, but when these issues become too much.
There is another issue that abramillar.com brings up, and that is the issue of excessive 404s being created and generating many versions of a URL within Google Analytics:
“Along with the page authority of your pages and authority of your website as a whole, URLs including uppercase letters are also likely to be reported separately by Google Analytics and, as mentioned above, might end in 404 errors on the wrong server.”One discussion over at the Moz community talks about how using URL capitalization can be a problem on a site:
“I have multiple URLs that SEOMoz is reporting as duplicate content. The reason is that there are characters in the URL that may, or may not, be capitalized depending on user input.Marcus Miller suggests the following solution for handling these duplicate URLs:
A couple examples are:
www.websitedomain.com/Pennsylvania/Houses-for-sale
www.websitedomain.com/Pennsylvania/houses-for-sale
www.websitedomain.com/Pennsylvania/Houses-for-rent
www.websitedomain.com/Pennsylvania/houses-for-rent
There are currently thousands of instances of this on the site.
Is this something I should spend effort to try and resolve (may not be minor effort), or should I just ignore it and move on?”
This is definitely a funny way of addressing URLs and capitalization, but Mueller has a point – capitalized URLs won’t help you and can likely hurt you if you use them without discrimination and without careful consideration of what these URLs are really doing. Schwartz writes:
- Set up a rewrite rule to change all URLs to lowercase and 301 any non lowercase ones, something like this in your htaccess should do the job assuming you are using a LAMP environment.WARNING: ***DO NOT*** USE THIS CODE UNLESS YOU KNOW WHAT YOU ARE DOING. YOU CAN SERIOUSLY SCREW UP YOUR SITE. WE ARE NOT RESPONSIBLE FOR WHAT HAPPENS BY IMPLEMENTING THIS CODE IN YOUR HTACCESS FILE.
- RewriteEngine On RewriteMap lc int:tolower RewriteCond %{REQUEST_URI} [A-Z] RewriteRule (.*) ${lc:$1} [R=301,L]
- Add an automated lowercase canonical to all of these pages so they canonicalise to the lowercase version.
- Try to replace the links so they all use lowercase. If this is a dynamic site it should be easy but if not, you could still do a string replacement across multiple files. You could write a little script to automate this if it is a huge job from the sitemap (of lowercase URLs of course.
“Normally when people use CAPS in their communication, it is either (a) they want to be loud or (b) they have no idea how to turn off the caps lock.A discussion over at StackOverflow.com has some unique technical insights into the viability of URL capitalization and why it can cause serious issues with your SEO implementation:
Google doesn’t know that you want to be loud when you use caps in your URLs. In fact, I believe Google recommends lowercase URLs because case technically can make for a different URL.
But overall, lower case or upper case, it is all the same. When it comes to URLs, I’d stick to lower-case, but it won’t hurt you either way.”
“I’ve visited many sites that most of them used lowercase in URLs likeOther answers to this discussion said:
stackoverflow.com/questions
google.com/webmaster
bing.com/news
Why using uppercase isn’t more prevalent? Is there a problem using uppercase in URL? Is this a programming language problem?”
“It’s just convention. Capital letters are commonly used in Wikipedia, YouTube and Twitter URLs if the article/channel/username has capital letters. All caps are rarely used because it’s considered loud and harsh, but there is nothing technical preventing it.”One more answer writes:
“I’ve seen buggy bots convert URLs to lowercase. This caused a very special bug with code decompressing data encoded in the URL that wasn’t validated, first. Some websites (notably reddit) use base-36 encoded IDs to avoid this.”
“URLs are not case sensitive up to a point.
A URL of Foo.Bar will be treated the same as foo.bar and FOO.BAR. However, if a URL contains characters of a different case after the domain (.bar in my example), it is possible that changing the case of those characters will result in an error.
So, if a URL is provided as foo.bar/Baz, and you try to access foo.bar/baz, you risk accessing the wrong resource or encountering an error.
Remember that URLs with forward slash characters following the domain (as in foo.bar/baz) are treated (at least on the front end) as pointers to directories in a file system, and case sensitivity will be dependent on the file system the web server is using.”
URL Capitalization Does Matter in SEO, Just Not Directly
As the above evidence shows, URL capitalization definitely matters in SEO. It’s just not in the way you think.For example, you can’t change a URL to capitalized letters and expect it to immediately improve your rankings.
You can’t fix all URL capitalizations and expect an immediate improvement in your SERP performance overnight.
This is one of those fixes that helps your site indirectly, like W3C valid code is not a ranking factor. But well-optimized code conforming to W3C guidelines can help you in terms of site speed and creating a better user experience across different platforms.
That’s why it’s important to assess your situation and make changes as it is viable to do so – don’t just make these changes on the fly and expect that you will see significant improvement overnight.
However, implementing a strategic approach to fix URL capitalization issues across your site when they are significant will be a big help to improve your search performance.
Web Designing Company Durango, CO specializes in innovative web design and development.. To know more details please contact us in the comment section.
Hi,
ReplyDeleteI have been reading your content since last couple of weeks and I found you have some excellent articles.
Thanks for sharing such nice contents.
Specially this content will help me a lot.