Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

I looked all over the web, but I could not find an answer to this. We all know that Google treats different capitalization of Urls as potentially duplicate content.

My question is, what about querystring parameters? For example, will Google treat this as duplicate content?

http://www.example.com/forum?thread=first

and

http://www.example.com/forum?Thread=first

Here, the url has the same capitalization. However, the querystring parameter "Thread" and "thread" have different capitalization for the letter "T".

How does Google treat querystring parameter capitalization? Does it ignore querystring parameter capitalization or will different querystring parameter capitalization lead to duplicate content penalties from Google?

share|improve this question
add comment

1 Answer 1

This isn't really about Google, it's about the specification for URLs - lower and uppercase are different URLs. This applies to query string parameters as well.

If Google knows of 2 different URL variants, it treats them initially as 2 separate URLs. However, if it turns out they have the same content, Google is generally smart enough to count them as the same page.

The best solution is to add the canonical meta tag with the "perfect" version of the URL (e.g. all lowercase). This will make it perfectly clear to all search engines what URL they should use.

share|improve this answer
    
Thanks DisgruntledGoat! Do you also know if different capitalization of variables leads to duplicate content? For instance, example.com/forum?thread=first and example.com/forum?thread=First. Here the variable is spelt with "first" and "First". Would different capitalization of variables also cause duplicate content? –  Programmer Joe Aug 12 '12 at 16:00
    
@ProgrammerJoe Yes it would be duplicate, exactly the same as above. –  DisgruntledGoat Aug 13 '12 at 8:25
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.