Should I use title case in URLs?

Posted by Amadiere on Programmers See other posts from Programmers or by Amadiere
Published on 2012-02-28T09:52:43Z Indexed on 2012/11/13 23:22 UTC
Read the original article Hit count: 365

We are currently deciding on a consistent naming convention across a site with multiple web applications. Historically, I've been an advocate of the 'lowercase all the letters!' when creating URLs:

http://example.com/mysystem/account/view/1551

However, within the last year or two, specifically since I began using ASP.NET MVC & had more dealings with REST based URLs, I've become a fan of capitalizing the first letter of each section/word within the URL as it makes it easier to read (imho).

http://example.com/MySystem/Account/View/1551

We're not in a situation where people need to read or be able to understand the URLs, so that's not a driver per se. The main thing we are after is a consistent approach that is rational and makes sense.

Are there any standards that declare it good to do one way or another, or issues that we may run into on (at least realistically modern) setups that would choose a preference over another? What is the general consensus for this debate currently?

© Programmers or respective owner

Related posts about web-development

Related posts about coding-standards