# URL slug

A URL slug is the last part of a URL that identifies the page. On a small site it sets expectations and nudges clicks. Here is how to name, measure and change slugs without losing traffic.

Updated 2026-09-14 · Source: https://porteur.ai/glossary/url-slug

## Definition and why it matters

A URL slug is the last part of a URL that identifies the page: in /guides/what-is-a-url-slug, the slug is what-is-a-url-slug.

For a small site, the slug is a quick promise. It says what the page is about before the click. It also appears in link previews and in search results as part of the URL path.

The words in a slug are a small signal for search engines and a large one for people deciding to click. That is enough reason to name them with care.

## What a good slug looks like

- Lowercase: /pricing, not /Pricing
- Hyphenated words: /image-optimisation, not /image_optimisation or /imageoptimisation
- Short and focused: /seo-for-saas, not /seo-for-software-as-a-service-platforms
- Made of the page’s words: use the terms people search
- Stable: do not rename often
- No dates, IDs or noise unless they carry meaning: /changelog/may-2026 is fine if the date matters
- Skip stop words unless meaning changes: /how-to-fix-404-errors, not /how-to-fix-the-404-errors

Examples on yourproduct.com:

| Before | After | Why |
| --- | --- | --- |
| /Blog/My%20First%20Post | /blog/first-post | Lowercase, hyphens, readable |
| /GUIDES/ID?ref=menu | /guides/getting-started | Remove IDs, say what it is |
| /features/all-in-one-solution | /features/reporting | Name the feature, not fluff |
| /posts/how-to-write-a-good-and-effective-url-slug-for-seo | /guides/url-slug | Short, focused on the topic |

## How to read and measure the impact

You cannot split out a slug’s effect perfectly. Treat it as part of the page’s promise. Measure impressions and clicks for that URL and watch click-through rate.

1. **Check how the URL shows in search** Search your brand plus the page topic. Look at how the path appears. If it is long or messy, people may skip it.
2. **Use Search Console’s Performance report** Filter by Page contains the path, compare the last 28 days to the prior 28. Watch clicks and CTR. If the slug is clearer, CTR should not fall.
3. **Scan internal links** List key pages with anchor text and the linking URL. Links that show the clean slug in previews and tooltips build trust.

A fixed page looks like /guides/url-structures, with a matching title and h1 that confirm the same topic. Expect steadier clicks on matching queries like “url structure seo”.

## Changing a slug safely

1. **Pick the final slug** Do this once. Keep it short, lowercase and hyphenated, based on the page’s main terms.
2. **Create a 301 redirect** Map the old URL to the new one. Test it with a redirect checker so it goes direct, not via chains.
3. **Update internal links** Change navigation, footers, body links and images that link. Search your codebase for the old path.
4. **Update canonicals and sitemaps** Point rel=canonical to the new URL and refresh your XML sitemap so crawlers see it soon.
5. **Monitor for 404s and soft 404s** Watch logs or Search Console for errors. Fix any missed links or typos fast.

> If you change a slug, you must 301 from the old one and update all internal links.

## Traps and edge cases

- Auto-generated IDs: /post/ID adds nothing. Replace with words.
- Nested noise: /blog/articles/posts/slug wastes depth. Keep folders meaningful.
- Plural or singular: match the page. /features lists many, /feature/reporting is one.
- Language and accents: use plain ASCII slugs. Avoid encoded characters.
- Versioning: add v2 only if both versions must live. Prefer one canonical URL.
- Merging articles: pick the stronger slug, redirect the weaker and update anchors.

## Questions

### How to make a URL slug?

Write the page’s main words in lowercase, split with hyphens. Remove dates, IDs and filler. Keep it short and stable. Example: /pricing, /guides/getting-started.

### Can you give me an example of a URL slug?

In https://yourproduct.com/guides/what-is-a-url-slug, the slug is what-is-a-url-slug. In https://yourproduct.com/pricing, the slug is pricing.

### Is a slug the same as a URL?

No. The URL is the full address. The slug is just the last part that names the page, after the final slash. It should read like the topic.

### Does URL slug affect SEO?

It is a small ranking signal and a large human signal. Clear slugs help people choose your result, which can lift CTR. Do not expect ranking jumps from slugs alone.

### Should I include stop words or dates in a slug?

Leave them out unless they change meaning. Keep /how-to-fix-404-errors. Use dates only when the date is the point, like /changelog/may-2026.

### Can I change slugs on a live site?

Yes, but do it sparingly. Set a 301 from old to new, update every internal link, refresh canonicals and sitemaps, then monitor for 404s and traffic swings.

## Read next

- [Permalink](https://porteur.ai/glossary/permalink): A permalink is a permanent page URL. See what that means, how to set WordPress permalinks, how to change them safely, and structures that work.
- [Canonical URL](https://porteur.ai/glossary/canonical-url): A canonical URL names the original version of a page. Use it to handle parameters and duplicates, avoid split signals and keep the right page indexed.
- [Internal linking for a small site: which pages link to which](https://porteur.ai/guides/internal-linking-for-seo): Decide which pages rank. Build hubs, write clear anchors, fix orphans, and crawl your site to map links you control.
- [301 redirect](https://porteur.ai/glossary/301-redirect): A 301 redirect is a permanent move. Use it to send users and bots to a new URL, keep signals, avoid chains, and choose 308 when methods must persist.
- [How to fix 404 errors reported in Search Console](https://porteur.ai/guides/how-to-fix-404-errors-in-google-search-console): Decide which 404s to fix, find the ones with links or traffic, choose redirect, restore or 410, clean internal links and sitemaps, and revalidate.
- [Title tag length: what fits, what Google rewrites, and how to write one](https://porteur.ai/guides/title-tag-length): About 60 characters is a safe line. Learn pixels versus characters, why Google rewrites titles, and how to write titles that earn clicks.
- [URL](https://porteur.ai/glossary/url): A URL is a page’s address. Learn its parts, why variants split equity, what a good URL looks like, and what to fix on a small site.

Paste your homepage URL and get a free 30-second read of your site and rivals, with three findings that often start with messy URLs and unclear page targets. Free check: https://porteur.ai/
