// SEO
A URL slug is the part of a URL that identifies a specific page in a human-readable format, usually appearing after the domain and any path segments. For example, in `/blog/seo-guide`, the slug is `seo-guide`. A good slug is short, descriptive, and uses hyphens to separate words.
Why it matters: Use short, descriptive slugs with hyphens (not underscores). Avoid special characters, dates, numbers, or parameters when possible. A clean slug helps users and search engines understand what a page is about before clicking. Keep slugs stable — changing them breaks existing links and bookmarks unless you set up proper redirects.