Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I work on a web site where we are having a major re architecture. There is a point which may be a little persnickety but I can't see a standard one way or another.

When you are using real words in a URL with a / as a separator should you use a singular or a plural of the type. So




SO seems to use "questions", "users", etc. but I was wondering if there is any authoritative advice either way.

PS. I couldn't work out if this belonged on SO SU or SF. Please feel free to move if you can work out which bucket it should go in.

share|improve this question

5 Answers 5

up vote 4 down vote accepted

I've always heard that it doesn't matter as long as you're internally consistent.

That being said, in *nix system architecture it's always singular. (e.g "user", "home", "mnt", etc (or should that be "etc"?)), so that might be a better default since it's already common?

share|improve this answer
That explains why I think that singular makes more sense. –  Jeremy French Oct 12 '09 at 15:20

Either way, it's probably a good idea to set up a 301 redirect from the wrong one to the canonical version. That way, when someone types a link instead of copy-pasting it, they get a 301 instead of a 404.

Personally, I'd have /users/ as the page with a list of users on (if there is one) and /user/fred/ as fred's home page. But that's messy to make work, especially if you want to use 301 redirects, so on a real system, I'd pick one and stick to it.

share|improve this answer
+1 for 301 redirects, good idea! –  Josh Oct 12 '09 at 18:02

I personally prefer the plural, it indicates that there is a collection of Users, in which you are looking for fred.

share|improve this answer

I prefer the singular /user/fred because it's more grammatically correct to the layman: you're looking at a user profile, for the user fred. However if /users/ shows all users, then /users/fred makes more sense.

Ultimately @Satanicpuppy is correct, what matters is that you're consistent.

share|improve this answer

I prefer plural. If you imagine your site not being dynamic, and you had to create the site just using folders and files that was served by apache. Then the folder would be plural. For example documents rather than document.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.