What Is a URL Slug

Learn what URL slugs are and how to create SEO-friendly ones.

A URL slug is the part of a URL that identifies a specific page.

Example

In example.com/blog/how-to-code, the slug is how-to-code.

Best Practices

  • Lowercase only
  • Hyphens, not underscores
  • Short and descriptive
  • Include keywords

Convert Instantly

Use a browser-based tool — no data sent anywhere.

FAQ

Can I change a slug later?

Yes, but set up a redirect to avoid broken links.

Should slugs include dates?

Only for news sites — otherwise keep them evergreen.