What is a URL slug?
A URL slug is the part of a web address that identifies a specific page in a human-readable form. For example, in example.com/blog/my-awesome-post, the slug is "my-awesome-post". Good slugs are short, descriptive, and use hyphens to separate words. They improve SEO by giving search engines clear signals about the page content.
Best practices for slugs
Keep slugs lowercase to avoid duplicate-content issues on case-sensitive servers. Use hyphens as word separators (Google treats hyphens as word separators but not underscores). Remove special characters, accents, and unnecessary words (stop words) to keep the slug concise and readable.
Transliteration
The transliterate option converts accented and special characters to their ASCII equivalents — for example, "café" becomes "cafe" and "über" becomes "uber". This ensures your slugs work reliably across all systems and browsers.