A slug is the readable part of a URL — the how-to-generate-a-slug in this page's address. A good slug is lowercase, uses hyphens, and strips out accents and punctuation, which keeps links clean, shareable and friendly to search engines.
What makes a good slug
- Lowercase only — some servers treat
/Aboutand/aboutas different pages. - Hyphens between words, not spaces or underscores — Google reads hyphens as word separators.
- No accents or symbols —
cafébecomescafe, and&,?, quotes and slashes are removed.
How to generate one
- Open the slug generator and paste your title.
- It lowercases, swaps spaces for hyphens and strips anything unsafe.
- Copy the slug into your CMS or link.
Keep it short and stable
Trim filler words so the slug stays short and keyword-focused — tips-for-writing-slugs beats 10-amazing-tips-for-writing-the-best-slugs-ever. And once a page is published and linked, avoid changing its slug: old links will break unless you set up a redirect.