Cool URIs Don't Change (1998)
this is how I do URLs. My personal battle proven URL rules.<p>URL-rules<p>URL-Rule 1: unique (1 URL == 1 resource, 1 resource == 1 URL)<p>URL-Rule 2: permanent (they do not change, no dependencies to anything)<p>URL-Rule 3: manageable (equals measurable, 1 logic per site section, no complicated exceptions,
no exceptions)<p>URL-Rule 4: easily scalable logic<p>URL-Rule 5: short<p>URL-Rule 6: with a variation (partial) of the targeted phrase the page wants to get found for<p>URL-Rule 1 is more important than 1 to 6 combined, URL-Rule 2 is more important than 2 to 6 combines, … URL-Rule 5 and 6 are a trade-of. 6 is the least important. A truly search optimized URL must fulfill all URL-Rules.<p>My preferred URL structure is:<p><pre><code>    https://www.example.com/%short-namespace%/%unique-slug%
</code></pre>
<a href="https://" rel="nofollow">https://</a> – protocol<p>www – subdomain<p>example – brand<p>.com – general TLD or country TLD<p>%short-namespace% – one or two letter that identify the pagetype, no dependency to any site hierachy<p>%unique-slug% – only use a-z, 0-9, and – in the slug, no double — and no – or – at the end.<p>Only use “speaking slugs” if you have them under your total editorial control.<p>i.e.:<p><pre><code>  https://www.example.com/a/artikel-name

  https://www.example.com/c/cool-list

  https://www.example.com/p/12345 (does not fulfill the least important URL-Rule 6)

  https://www.example.com/p/12345-prouct-name</code></pre>