How to make a URL slug
- Paste the page title. Type the phrase you want in the address, or paste a page URL. A URL uses the last part of the path.
- Choose the length. Leave short words in, or turn them off when the slug is long. Set a max length if your site builder has a limit. The cut lands on a hyphen when it can.
- Copy the slug. Copy the slug, or add your site address and copy the full URL. The slug is built in your browser.
What the slug keeps
Letters and numbers stay. Accented letters are folded to the closest plain letter, so café becomes cafe. An apostrophe is dropped, so Smith's becomes smiths. An ampersand becomes the word and. Everything else becomes a hyphen, and extra hyphens are collapsed. The result is lowercase.
Short words you can remove are a, an, the, and, or, of, for, to, in, on, at, by, with, and from. They are only removed when you turn that option on.
After you publish the address
If you are rewriting an old query-string URL, the URL rewrite generator writes the Apache and nginx rules. The title and description that sit next to the slug belong in the meta tag generator. A link you share in a campaign, with its own tracking parameters, belongs in the UTM builder, not in the slug.