Turn any title or phrase into a clean URL slug.
A URL slug is the part of a web address that identifies a specific page. For example, in https://example.com/how-to-build-a-website, the slug is how-to-build-a-website.
Good slugs are all lowercase, use hyphens between words, remove special characters, and are as short as possible while remaining descriptive.
Google treats hyphens as word separators, making hyphenated slugs better for SEO. Underscores cause Google to treat "build_a_website" as one word rather than three separate words.
Remove short words like "a", "the", "and", "of" to keep slugs concise — e.g. "how-to-build-website" instead of "how-to-build-a-website".