Welcome to WebmasterWorld Guest from 54.159.214.250

Duplicate content with WordPress URLs both lowercase and Capitalized?

   
4:52 am on Dec 13, 2012 (gmt 0)



Any Wordpress pros out there that can tell me why I am seeing duplicate content issues in my GWT account due to one url being in lowercase and the other having capitalization? This is happening on several pages.

Example:

/page-one-subject/
/Page-One-Subject/

How does that even happen and why is Google saying duplicate content?
Both links take me to the proper page - but the lower urls are all that have
ever been created? Where are these capitalized versions coming from?

Thanks in advance. Appreciate the help.

*Frost Angel*
12:48 pm on Dec 13, 2012 (gmt 0)

WebmasterWorld Senior Member themadscientist is a WebmasterWorld Top Contributor of All Time 5+ Year Member Top Contributors Of The Month



I don't use WP, but my guess would be it happens because MySql is case-insensitive, so when the URLs with uppercase characters are rewritten to WP it's finding the info it's supposed to and serving the content.

Personally, I'd use a PHP redirect (rather than mod_rewrite) to correct it by sending visitors requesting URLs with Caps in them to the lowercase version.
2:04 pm on Dec 13, 2012 (gmt 0)

5+ Year Member



Also you can use canonical metatag
10:39 pm on Dec 14, 2012 (gmt 0)



I don't think it's canonical - because I have the canonical tag on every page.

And I'm getting weird duplicates with tags like this:
/?order=asc
/?order=desc&sort=posts&pp=30
/?order=omfjguegse
/?p=deqnvbytd
/?s
/?t=10059&pagenumber&p=0
 

Featured Threads

My Threads

Hot Threads This Week

Hot Threads This Month