What Is a URL Slug?
A URL slug is the part of a web address that comes after the domain and identifies a specific page — in example.com/glossary/url-slug/, the slug is url-slug.
Best Practices for SEO
Keep slugs short, descriptive, and readable — ideally including the page’s primary keyword. Use hyphens to separate words rather than underscores or spaces, stick to lowercase letters, and avoid unnecessary stop words, dates, or filler that add length without adding clarity.
Why It Matters
A clean, descriptive slug helps both users and search engines understand what a page is about at a glance, and it’s one of the more stable elements of a URL — changing slugs later requires redirects to preserve any SEO value the original URL had built up, so getting it right from the start avoids unnecessary rework.


