This section describes rules for normally browser-visible URLs of the website. These rules do not apply to the Web API, see OurBigBook Web API standards for Web API URL standards.
It should be impossible to have upper case characters on any URL of the website. Words should be separated by hyphens
-
instead.Use the usual gramatical ordering for action object pairs, e.g.:instead of:The latter is tempting to group all "Discussion" actions under a prefix, but let's use the nice grammar instead.
new-discussion
edit-discussion
discussion-new
discussion-edit
GET parameters should always be alphabetically ordered by key, e.g.:rather than:
?ab=1&cd=2
?cd=2&ab=1