Welcome to WebmasterWorld Guest from

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

Case Sensitive Urls and Internal Navigation

10:28 am on Jun 6, 2011 (gmt 0)

Full Member

10+ Year Member

joined:Jan 9, 2007
votes: 1

Okay, by default my urls structure is in mixed case, e.g domain.com/Green-Blue-Widgets.html and Google for some reasons is indexing two versions of my urls domain.com/Green-Blue-Widgets.html and domain.com/green-blue-widgets.html . Now i want to 301 redirect all urls to lowercase, but my internal navigation is all mixed case e.g the category page domain.com/Green has all the products listed in the page with mixed case.

I know its bad programming, but i will really appreciate if any one can look into the matter for me and usggest a solution.
7:15 am on June 10, 2011 (gmt 0)

Full Member

10+ Year Member

joined:June 21, 2007
posts: 316
votes: 0

You could just try using the canonical tag for duplicate content issues as a quick solution
7:28 am on June 10, 2011 (gmt 0)

Senior Member

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

joined:July 3, 2002
votes: 0

Solution 1:

Redirect the incorrectly cased URL requests to all lower case and fix the internal navigation. Do this one section of a time for the site.

Solution 2:

Add code to the start of the PHP (or whatever) scripts that run the site to compare the URL request with what is in the database for that page. Issue a redirect if it is not an exact match. This retains your mixed case site but fixes non-valid requests.

Solution 3:

As per solution 2 but add canonical tag to the page header instead of redirecting.

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members