Why URL Slugs Matter for SEO
A URL slug is the part of a web address that comes right after the domain name. For example, in www.yoursite.com/how-to-bake-a-cake, the slug is "how-to-bake-a-cake". Creating clean, readable slugs is one of the most fundamental yet overlooked aspects of On-Page SEO.
Good Slug
/best-running-shoes-2026
It is short, descriptive, uses hyphens to separate words, and includes the primary keyword. Humans and search engines can instantly understand what the page is about.
Bad Slug
/index.php?id=8472&cat=shoes
It contains random parameters, no keywords, and provides zero context. It looks spammy to users sharing the link and offers no SEO value to Google.