What is a slug?
The human-readable, URL-safe portion of a URL that identifies a specific page, usually a lowercased, hyphenated version of the page title.
In https://www.context.dev/blog/how-to-scrape-a-website, the slug is how-to-scrape-a-website. Slugs are generated by lowercasing a title, replacing spaces with hyphens, stripping punctuation and non-ASCII characters, and de-duplicating against existing slugs.
Slugs matter for SEO because they're the most visible piece of a URL after the domain. Search engines use them as a ranking signal, and humans use them to decide whether to click a link in a SERP. A descriptive slug (/blog/clearbit-logo-api-shutdown) outperforms a numeric one (/blog/12345) on both fronts.
For CMS implementation, treat the slug as a stable identifier. Renaming a published article should not change the slug, set up a redirect from the old slug if the title actually needs to change.
In the wild
https://www.context.dev/glossary/web-crawler, slug isweb-crawlerhttps://example.com/products/wireless-headphones, slug iswireless-headphones