Welcome to WebmasterWorld Guest from 188.8.131.52
Forum Moderators: mack
I'm confused about capital letters in URL's. I thought they caused 404 errors, or some major problems.
Personally I like the way /Spring_Break.htm looks with capital letters. In a test site I have them "live" and they work in both Firefox and IE.
Please, tell me the "story" about "/Spring_Break.htm", should it be used or avoided?
That means that webmasters would have to be extra careful when creating links to the page.
Another thing to keep in mind is that for the average surfer it is more difficult to type in such an URL.
There also seems to be a general convention not to use uppercase letters in URLs - I hardly ever see any.
The exception to this rule is the part up to and including the domain extension
www.example.com is the same as www.ExAmPlE.com
But www.example.com/home.php is not the same as www.example.com/HoMe.php
*nix & Linux flavored Web servers DO differentiate between upper and lower case letters. Windows Web servers DO NOT, by default.
That is where the problem comes in.
yes but surely you could use htaccess to rewrite capitals as lower case and have the files themselves as lower case?
The average web surfer does not know this. They are most likely going to use lower case if typing in a URI.
On a side note, Joe Schmoe surfer is going to type things as they see them. How many times have you talked to an AOL user and they've given you their email address and they are specifying case as they read it to you? ;)
Now, when coding our ASP, we do use upper/lower case to help with clearly identifying functions, etc.