We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Case sensitive URLs

Development and Programming

Andy Williamson's avatar
Andy Williamson
16 posts
14 years ago
Andy Williamson's avatar Andy Williamson

Hi, I have a problem that the Bing search engine indexes my category pages all in lowercase. The categories generate an upper case C in the url, for example mydomain.com/weblog/cat/C65

Because Bing and some other sites drop the uppercase C to lowercase c when people click the link they don’t go to the page.

I contacted EngineHosting about this and they suggested writing 301 redirects for all categories because all Unix boxes are case sensitive. I’m not convinced this I’m presuming expressionengine.com runs on a unix box with enginehosting and I’ve noticed it is case insensitive.

Is this something I can do in Expression Engine to make URLs case insensitive or is it something that can be done via apache rather than writing a 301 redirect for each of our categories.

Thank You

       
Dan Decker's avatar
Dan Decker
7,338 posts
14 years ago
Dan Decker's avatar Dan Decker

Hi Andy,

I can’t speak form experience, but you may also be able to accomplish the same result using mod_rewrite in a .htaccess. I’m not sure of the syntax, but you would want a rule that rewrites lowercase “c”s (matching the pattern of your category URLs) to upper-case “C”s.

I’m going to move this over into Development and Programming to see if the Community there can offer any further insight.

Best,

       
the3mus1can's avatar
the3mus1can
426 posts
14 years ago
the3mus1can's avatar the3mus1can

If you are concerned with SEO and urls I would switch over to using category url title instead of the C1 format. This setting in under Admin > Global Channel Preferences > Use Category URL Titles In Links?. There are some things that you will need to think about if you make this change like putting in 301 redirects for the old category urls to the new urls with the category url title in them.

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.