Use lowercase words, hyphens, no stop words when possible, keep it under 60 characters, and never change it without a 301 redirect.
Designing a slug that ages well
Lowercase, always
URLs are case-sensitive on most servers.
Cacheandcacheare two different pages.Hyphens, not underscores
Google recommends hyphens. Underscores are invisible in underlined links.
Drop stop words when the meaning survives
how-to-write-a-slugreads better thanhow-to-write-a-slug-for-a-blog-in-2026.Under 60 characters
Longer slugs get truncated in search results and link previews.
Immutable unless you redirect
Changing a slug without a 301 breaks backlinks and search ranking.