How do I create an SEO-friendly URL?

In my understanding,

  • Create a human readable URL
  • Shorten the URL, like 60 words, including location.origin
  • Only - punctuation is preferred

Some questions remain unanswered, or unsureā€¦

  • Is unidecode necessary, especially for non-ASCII scripts, such as CJK or Thai?
  • Is extending with short strings problematic, such as with nanoid, just like in

As a matter of fact, I have already create a package as per my need.