WordInstant

SEO Slug Best Practices.

A complete guide to creating clean, search-friendly URL slugs — plus a free downloadable PDF cheat sheet to keep by your desk.

GuideSEOFree PDF

Download the cheat sheet

4-page PDF — print it, pin it, share it with your team.

Download PDF ↓
§ Basics

What is a URL slug?

A slug is the human-readable part of a URL that identifies a specific page. In wordinstant.com/word-counter, the slug is word-counter. It sits between the domain and any query string, and it’s usually the first thing both humans and search engines read to decide what a page is about.

Slugs matter for three reasons at once. They’re a ranking signal — Google reads the words in the slug as a hint about page content. They’re a usability signal — a readable URL tells a visitor what they’re clicking before they click. And they’re a trust signal — a clean slug looks like a real page; a string of random characters looks like a tracking link.

Get the slug right once and you rarely need to touch it again. Get it wrong and you pay for it for years, because changing a live slug breaks every inbound link unless you set up a redirect.

§ Rules

The 10 golden rules.

  1. Use lowercase onlySearch engines treat /About-Us and /about-us as different URLs. Lowercase avoids duplicate content.
  2. Use hyphens, not underscoresGoogle treats hyphens as word separators. seo-slug-guide = three words; seo_slug_guide = one word.
  3. Keep it short (3–5 words)Shorter slugs are easier to read, share, and remember.
  4. Remove stop wordsDrop “the”, “a”, “an”, “of”, “and”, “to”, “for”. guide-to-the-best-seo-practices seo-best-practices.
  5. Include the target keywordPut your primary keyword in the slug. word-counter-tool, not our-amazing-text-utility.
  6. No special charactersOnly a–z, 0–9, and -. Remove accents, ampersands, question marks.
  7. No trailing slashes or extensionsUse /about, not /about/ or /about.html.
  8. No consecutive hyphensmy--slug looks broken. Collapse to a single hyphen.
  9. Make it evergreenAvoid dates or version numbers. seo-slug-guide ages better than seo-slug-guide-2026.
  10. Never change a live slug without a redirectChanging an indexed slug without a 301 redirect destroys link equity.
§ Reference

Do vs don't.

✓ Do
  • seo-slug-guide
  • word-counter
  • case-converter-tool
  • blog-post-length
  • remove-extra-spaces
✗ Don't
  • SEO_Slug_Guide
  • the-best-word-counter-tool-online-free
  • page?id=42&ref=home
  • blog-post-length-2026-updated
  • remove--extra--spaces.html
§ Examples

Before & after.

Page titleSlugRule applied
How to Count Words in Any Document (Fast!)count-words-documentRemove stops, parens, punctuation
Title Case vs. Sentence Case: When to Use Eachtitle-case-vs-sentence-caseKeep meaningful structure words
The Ultimate Guide to Lorem Ipsum Alternativeslorem-ipsum-alternativesRemove “the”, “ultimate”, “guide to”
10 Best Free Online Text Tools for Writersfree-text-tools-writersRemove number, “best”, “online”, “for”
What Is a URL Slug? (And Why It Matters)what-is-url-slugRemove parens and trailing clause
Our New Feature: Bulk Case Conversion!bulk-case-conversionRemove “our new feature”, punctuation
§ Process

The slug formula.

  1. Start with the page title or target keyword.
  2. Lowercase everything.
  3. Remove stop words.
  4. Remove special characters (punctuation, accents, symbols).
  5. Replace spaces with hyphens.
  6. Collapse consecutive hyphens into one.
  7. Trim leading and trailing hyphens.
  8. Review: 3–5 words? Contains keyword? Human-readable out loud?
§ Pitfalls

Common mistakes.

  • Keyword stuffing. Cramming seo-slug-seo-guide-seo-url-seo into a slug looks like spam to Google and worse to humans. One primary keyword is enough.
  • Auto-generated CMS slugs. WordPress, Ghost, and Shopify will happily turn “How to Count Words—10 Tricks!” into how-to-count-words-10-tricks. Review the auto-slug before publishing; don’t let the CMS ship a bad URL on your behalf.
  • Using IDs or hashes. URLs like /p/42891 or /post/abc123 carry no SEO value. Database IDs belong in the database, not the URL.
  • Changing slugs without redirects. Switching /old-slug to /new-slug without a 301 redirect kills every backlink pointing at the old URL. If you rename, always redirect.
  • Inconsistent transliteration. café becomes cafe in most toolchains but caf%C3%A9 in others. Pick one transliteration rule site-wide so café-menu never ships twice with two different encodings.

Take it with you

Download the PDF cheat sheet — 4 pages, printable, shareable.

Download PDF ↓

Generate slugs automatically

Paste any title into the Slug Generator and get a clean, SEO-ready slug instantly.

Open Slug Generator →
§ FAQ

Frequently asked.

The seven questions we hear most about slugs.

What is a URL slug?

A URL slug is the part of a web address that comes after the domain name and identifies a specific page. For example, in wordinstant.com/slug-generator, the slug is "slug-generator". Good slugs are short, descriptive, lowercase, and use hyphens to separate words.

Why do URL slugs matter for SEO?

Search engines use slugs to understand what a page is about. A slug like "seo-slug-best-practices" tells Google the page is about SEO slug best practices. Clean slugs also improve click-through rates in search results because users can see the topic directly in the URL.

Should I use hyphens or underscores in slugs?

Always use hyphens. Google treats hyphens as word separators, so 'seo-slug-guide' is read as three separate words. Underscores are treated as joiners, meaning 'seo_slug_guide' would be interpreted as a single token. This has been confirmed by Google's Matt Cutts and remains the standard.

How long should a URL slug be?

Aim for 3 to 5 words. Shorter slugs are easier to read, share, and remember. Google displays roughly 60 characters in search result URLs before truncating, so keeping slugs concise ensures the full path is visible.

Should I remove stop words from slugs?

Yes, in most cases. Words like "the", "a", "an", "of", "to", "for", and "and" add length without adding SEO value. However, keep stop words if removing them changes the meaning — for example, keep "the" in "the-who-band-history" to distinguish from "who-band-history".

Can I change a URL slug after publishing?

You can, but you must set up a 301 redirect from the old URL to the new one. Without a redirect, the old URL returns a 404 error, and you lose all the link equity (backlinks, ranking power) that the original URL had accumulated. Only change slugs when absolutely necessary.

How do I generate SEO-friendly slugs automatically?

Use WordInstant's free Slug Generator tool. Paste any title or phrase, and it instantly produces a clean, lowercase, hyphenated slug with stop words removed. No sign-up required — it runs entirely in your browser at wordinstant.com/slug-generator.