# URL slugs for product pages: how to write SEO-friendly URLs

> What Google documents about URL structure, a rules table with good and bad slugs, umlauts, variants, category paths, redirects and 10 worked examples.

Source: https://central.to/guides/url-slugs-for-product-pages · Updated 2026-11-23 · Published by Central (https://central.to)

## In short

- Google recommends readable words rather than long ID numbers in URLs, words in the audience's language and hyphens instead of underscores to separate words.
- Google states no maximum length for a URL path; its only sentence on length is to shorten URLs by trimming unnecessary parameters.
- Google's SEO Starter Guide says keywords in the domain name or URL path have hardly any effect beyond appearing in breadcrumbs.
- Google asks that each product variant can be identified by a separate URL, as a path segment such as /t-shirt/green or a query parameter such as /t-shirt?color=green.
- When a URL changes, Google recommends a permanent server-side redirect such as 301 or 308 and keeping it for generally at least 1 year.
- Non-ASCII characters such as umlauts should be percent-encoded in links, according to Google; transliterated words are the other option it names.

Free tool: [Slug and file name generator](https://central.to/tools/slug-generator). Turn product names into clean URL slugs and image file names, with umlauts and accents handled and duplicates numbered.

## The rules in one table

A product URL should be readable, unique and stable. The slug is the part you write: the last path segment, such as `trail-runner-2-forest-green`. The rules below come from Google's [URL structure page](https://developers.google.com/search/docs/crawling-indexing/url-structure) and its [URL design page for ecommerce sites](https://developers.google.com/search/docs/specialty/ecommerce/designing-a-url-structure-for-ecommerce-sites), read on November 23, 2026.

| Rule | Good | Bad | What Google says |
| --- | --- | --- | --- |
| Readable words, not ID numbers | `/products/beam-400-headlamp` | `/products/3243` | "use readable words rather than long ID numbers" |
| Hyphens between words | `/rain-jacket` | `/rain_jacket`, `/rainjacket` | Hyphens instead of underscores: they "clearly signal a word boundary" |
| One case | `/trail-runner-2` | `/Trail-Runner-2` next to `/trail-runner-2` | Google treats `/APPLE` and `/apple` as distinct URLs; convert all text to the same case |
| The audience's language | `/regenjacke-stormline` on a German page | `/rain-jacket-stormline` on a German page | "Use words in your audience's language in the URL" |
| Umlauts and accents | `/gemuese` or `/gem%C3%BCse` | `/gemüse` typed raw into a link | Transliterated words where applicable; non-ASCII characters percent-encoded |
| No fragments for content | `/trail-runner-2?color=green` | `/trail-runner-2#green` | "Google does not use fragment identifiers in indexing" |
| Parameters as key and value | `?color=green&size=42` | `?green,42` | "Use `?key=value` URL parameters rather than `?value`, where possible" |
| No temporary parameters in internal links | `/camp-blanket` | `/camp-blanket?sessionid=6EE2` | Avoid linking internally to session IDs and tracking codes |
| One URL per page | The same URL in links, sitemap and canonical tag | `/product/black-t-shirt` and `/product?sku=1234` both live | "Minimize the number of alternative URLs that return the same content" |

The slug generator at the top of this page applies the first five rules to a list of product names: lowercase, hyphens, umlauts transliterated, accents dropped.

## What Google documents, and what it does not

Three points are often stated more firmly than the documentation does.

- **Length.** Google gives no maximum for a URL path and no character count. Its one sentence on length: "Whenever possible, shorten URLs by trimming unnecessary parameters." The 80-character cut of the slug generator is the tool's own choice, not a Google limit.
- **Keywords.** Two Google pages put it differently. The ecommerce page says: "The words in URLs may help Google better understand the page." The [SEO Starter Guide](https://developers.google.com/search/docs/fundamentals/seo-starter-guide) lists keywords in the URL among the things not to focus on: they "have hardly any effect beyond appearing in breadcrumbs". Both fit one practice: describe the product once, in plain words, and stop.
- **Lowercase.** Google does not require lowercase. It asks for one case when the server treats both the same, so that it can tell the URLs reference one page.

For syntax, Google supports URLs as defined by IETF STD 66, which is [RFC 3986](https://www.rfc-editor.org/rfc/rfc3986). The RFC's unreserved characters are "uppercase and lowercase letters, decimal digits, hyphen, period, underscore, and tilde". A slug of lowercase letters, digits and hyphens stays inside that set and never needs encoding.

Bing's [Webmaster Guidelines](https://www.bing.com/webmasters/help/webmaster-guidelines-30fba23a) add one rule of their own: "Avoid unnecessary URL changes."

## Umlauts and accents: transliterate or percent-encode

Both work; transliteration is simpler to live with. Google names both in one section: use words in the audience's language "and, if applicable, transliterated words", and percent-encode non-ASCII characters. Its example marks `https://example.com/gem%C3%BCse` as recommended and `https://example.com/gemüse` as not recommended in a link.

| Option | "Größe L" becomes | What you get |
| --- | --- | --- |
| Transliterate | `groesse-l` | Plain ASCII. The slug reads the same in a browser, an email, a feed and a spreadsheet |
| Keep and percent-encode | `gr%C3%B6%C3%9Fe-l` | The correct spelling for the reader where software decodes it, and `%C3%B6` where it does not |
| Drop the dots | `grosse-l` | A different word in German. Use ae, oe, ue and ss |

A raw umlaut does not stay raw in transit. The [URL Standard](https://url.spec.whatwg.org/) has the parser convert code points above U+007F to percent-encoded bytes, and RFC 3986 describes the encoding: the character becomes UTF-8 bytes first, then each byte is percent-encoded. The request carries `%C3%B6` whether you typed it or not; the question is only what people see and copy.

What the slug generator does:

- ä, ö, ü and ß become ae, oe, ue and ss. The letters æ, ø, å, œ, ł and đ become ae, o, a, oe, l and d.
- Other accents are dropped: é becomes e, ñ becomes n, č becomes c, ż becomes z.
- An ampersand becomes "and"; every other character that is not a letter or digit becomes a hyphen. That includes apostrophes and decimal points: "Men's" turns into `men-s` and "0.75 L" into `0-75-l`.
- Letters outside the Latin alphabet, such as Greek or Cyrillic, are removed. Transliterate such names first, or use native-script slugs with percent-encoding: one of Google's own examples of an audience-language URL is in Japanese script.

Each language version of a product gets a slug in its own language. Google's multilingual guidance accepts localized words in URLs and asks for UTF-8 encoding; [hreflang for online shops](https://central.to/guides/hreflang-for-online-shops) shows how to connect the versions.

## Product name, SKU or ID in the URL

Use the product name; add a model number when it is what buyers type. Google's ecommerce page marks `/product/black-t-shirt-with-a-white-collar` as recommended and `/product/3243` as not recommended.

| In the slug | Example | Readable | Changes when |
| --- | --- | --- | --- |
| Product name | `/products/trail-runner-2-mens-trail-running-shoe` | Yes | The product is renamed |
| Name plus model number | `/products/beam-400-headlamp-np-b400` | Yes | The product is renamed |
| SKU only | `/products/np-tr2-fg-42` | Only to people who know the code | Your SKU scheme changes |
| Database ID only | `/products/3243` | No | Rarely |

An ID is the most stable choice and the least readable, which is why Google advises against it. A name is readable and changes when marketing renames the product, so pair it with redirects (see below). If you put SKUs in URLs, they have to be stable first: [how to create SKU numbers](https://central.to/guides/how-to-create-sku-numbers) covers a scheme that does not need renumbering.

Two products with the same name need different slugs. The slug generator numbers repeats (`trail-mix-50-g`, `trail-mix-50-g-2`); a distinguishing fact such as flavor or pack size says more than a number.

## Variants: parameters or paths

Google accepts both and asks for one thing: "make sure that each variant can be identified by a separate URL". Its two recommended structures:

| Aspect | Path segment | Query parameter |
| --- | --- | --- |
| Google's example | `/t-shirt/green` | `/t-shirt?color=green` |
| Canonical URL | Each variant page has its own; no single URL represents the product group | "use the URL with the query parameter omitted as the canonical URL" |
| In Google's variant markup | Multi-page site: variants "are accessible on different pages" | Single-page site: variants are selectable on one page, "usually through query parameters" |

Whichever you choose, the variant URL has to open the page with that variant selected. Google's [variant markup page](https://developers.google.com/search/docs/appearance/structured-data/product-variants) describes this as "showing the right image, price, and availability". A fragment such as `/t-shirt#green` does not qualify, because Google does not use fragments in indexing. How to model the variants behind the URLs is in [product variants](https://central.to/guides/product-variants).

## Category paths

A category in the path reads well and costs stability. Compare:

| Structure | Example | When the product moves or sits in two categories |
| --- | --- | --- |
| Flat | `/products/camp-blanket` | Nothing changes |
| Category in the path | `/camping/blankets/camp-blanket` | The URL changes and needs a redirect, or two URLs show the same product |

Two URLs for one product are what Google's ecommerce page asks you to minimize; where they exist, Google [picks one as canonical](https://developers.google.com/search/docs/crawling-indexing/canonicalization) and you should name your choice in the canonical tag. The category does not have to live in the URL to be understood. For breadcrumb markup, Google recommends "breadcrumbs that represent a typical user path to a page, instead of mirroring the URL structure". Filter and sort parameters on category pages are a separate matter, handled in [robots.txt for online shops](https://central.to/guides/robots-txt-for-online-shops).

## When a slug changes

Redirect the old URL to the new one, permanently and on the server. Google documents the steps for site moves; a renamed product is the same move at the size of one URL.

1. **Decide whether the change is needed.** A new title does not require a new slug.
2. **Map old to new.** One line per URL.
3. **Use a permanent redirect.** Google recommends "HTTP permanent redirects if possible, such as `301` and `308`", and treats them as a signal that the target should be canonical ([redirects](https://developers.google.com/search/docs/crawling-indexing/301-redirects)). Bing says to use 301 for permanent changes, 302 only for changes of less than 2 days, and redirects instead of canonical tags.
4. **Redirect straight to the final URL.** Googlebot can follow up to 10 hops, but Google advises redirecting directly and, where a chain cannot be avoided, keeping it short: "ideally no more than 3 and fewer than 5".
5. **Update what points to the old URL:** internal links, the sitemap, canonical tags, hreflang entries and the link in your product feed.
6. **Keep the redirect.** Google says "generally at least 1 year", and to consider keeping redirects indefinitely for users.
7. **Do not send old product URLs to the home page.** Google says many old URLs redirected to one irrelevant destination "might be treated as a soft 404 error".

Google's [site move page](https://developers.google.com/search/docs/crawling-indexing/site-move-with-url-changes) tells you to expect temporary ranking fluctuation while it recrawls and reindexes. The title shown with the URL in a result is a separate setting; see [meta title and description length](https://central.to/guides/meta-title-and-description-length).

## Image file names

Name image files the way you name pages. Google's image SEO page says `my-new-black-kitten.jpg` is better than `IMG00023.JPG`, asks that the file extension match the file type and, for localized images, that file names are translated too. Image URLs move like page URLs: Google includes embedded images in a site move.

The slug generator writes an image file name next to each slug, as the slug plus `.jpg`: `beam-400-headlamp-400-lm-usb-c.jpg`. Add the view when a product has several photos (`-front`, `-side`, `-detail`). Formats, sizes and image sitemaps are in [image SEO for product pages](https://central.to/guides/image-seo-for-product-pages).

## Ten worked examples: from product name to slug

Each slug is what the slug generator returns for the name on the left.

| Product name | Slug | What happened |
| --- | --- | --- |
| Trail Runner 2 Mens Trail Running Shoe, Forest Green | `trail-runner-2-mens-trail-running-shoe-forest-green` | Lowercase; spaces and the comma become hyphens |
| Trail Runner 2 Men's Trail Running Shoe, Forest Green | `trail-runner-2-men-s-trail-running-shoe-forest-green` | The apostrophe becomes a hyphen. Remove it from the name first if you want `mens` |
| Beam 400 Headlamp, 400 lm, USB-C | `beam-400-headlamp-400-lm-usb-c` | Digits stay; the existing hyphen stays |
| Daunenschlafsack Driftdown 2, Größe L, für Körpergröße bis 195 cm | `daunenschlafsack-driftdown-2-groesse-l-fuer-koerpergroesse-bis-195-cm` | German: ö to oe, ü to ue, ß to ss |
| Réchaud à gaz Ember, 2 800 W | `rechaud-a-gaz-ember-2-800-w` | French: accents dropped |
| Fjellkjøkken Sæt, blå | `fjellkjokken-saet-bla` | Scandinavian letters: ø to o, æ to ae, å to a |
| Kurtka przeciwdeszczowa Stormline, żółta | `kurtka-przeciwdeszczowa-stormline-zolta` | Polish: ż to z, ó to o, ł to l |
| Camp Stove & Windshield Set | `camp-stove-and-windshield-set` | The ampersand becomes "and" |
| Water Bottle 0.75 L | `water-bottle-0-75-l` | The decimal point becomes a hyphen. Write "750 ml" in the name to avoid it |
| Northpeak Stormline Women's Waterproof Rain Jacket, Slate Blue, Size M, 2.5-Layer Recycled Nylon, Packable | `northpeak-stormline-women-s-waterproof-rain-jacket-slate-blue-size-m-2-5-layer` | Longer than 80 characters: cut at the last whole word that fits |

The last row shows why a title is not a slug. A slug needs the words that identify the page, not every attribute: `stormline-womens-rain-jacket-slate-blue` is enough.

## Common mistakes

- **A new slug with every title edit.** Each one needs a redirect, and chains build up.
- **Raw umlauts in links, feeds or sitemaps.** Encode them or transliterate.
- **Two cases live.** `/Camp-Blanket` and `/camp-blanket` are two URLs to Google.
- **Tracking parameters in internal links.** Google asks you to avoid them; use long-term, persistent URLs.
- **Words repeated for search engines.** `rain-jacket-rain-coat-waterproof-jacket` helps no reader, and Google says URL keywords have hardly any effect.
- **Variants on fragments.** Google does not index `#green` as a page.

URLs are one row of the [product page SEO checklist](https://central.to/guides/product-page-seo), next to titles, descriptions, images and structured data.

## Where Central helps

Central researches the facts behind a product page (name, model, variant attributes, identifiers) in your own data, on the open web and in verified databases, and backs every value with sources you can check. It writes titles, descriptions and attributes from that one record and holds back what the sources do not support. When a fact behind a text changes, Central flags the text.

## Questions

### What is an SEO-friendly URL?

A URL a person can read: lowercase words that describe the page, separated by hyphens, in the language of the audience, without session IDs or tracking parameters, and stable over time. Google recommends readable words rather than long ID numbers.

### Should a product URL contain keywords?

It should contain the words that describe the product, because people read URLs. Do not expect a ranking effect from them: Google's SEO Starter Guide says keywords in the domain name or URL path have hardly any effect beyond appearing in breadcrumbs.

### Hyphens or underscores in URLs?

Hyphens. Google recommends separating words with hyphens instead of underscores, because hyphens clearly signal a word boundary. Joined words such as greendress are also not recommended.

### How do I handle umlauts and accents in a URL?

Either transliterate them (ä to ae, ö to oe, ü to ue, ß to ss) or keep them and percent-encode them in links, as in gem%C3%BCse. Google names both options. Transliteration gives a plain ASCII slug that reads the same everywhere.

### What happens when I change a product URL?

The old URL has to redirect to the new one with a permanent server-side redirect, such as a 301. Google treats that as a signal that the new URL should be canonical, expects temporary ranking fluctuation while it recrawls, and recommends keeping redirects for generally at least 1 year.

## Sources

1. [URL structure best practices for Google Search](https://developers.google.com/search/docs/crawling-indexing/url-structure), checked 2026-11-23
2. [Designing a URL structure for ecommerce sites](https://developers.google.com/search/docs/specialty/ecommerce/designing-a-url-structure-for-ecommerce-sites), checked 2026-11-23
3. [Search Engine Optimization (SEO) Starter Guide](https://developers.google.com/search/docs/fundamentals/seo-starter-guide), checked 2026-11-23
4. [Redirects and Google Search](https://developers.google.com/search/docs/crawling-indexing/301-redirects), checked 2026-11-23
5. [Site moves with URL changes](https://developers.google.com/search/docs/crawling-indexing/site-move-with-url-changes), checked 2026-11-23
6. [What is canonicalization](https://developers.google.com/search/docs/crawling-indexing/canonicalization), checked 2026-11-23
7. [Product variant structured data (ProductGroup, Product)](https://developers.google.com/search/docs/appearance/structured-data/product-variants), checked 2026-11-23
8. [Breadcrumb (BreadcrumbList) structured data](https://developers.google.com/search/docs/appearance/structured-data/breadcrumb), checked 2026-11-23
9. [Google image SEO best practices](https://developers.google.com/search/docs/appearance/google-images), checked 2026-11-23
10. [Managing multi-regional and multilingual sites](https://developers.google.com/search/docs/specialty/international/managing-multi-regional-sites), checked 2026-11-23
11. [Bing Webmaster Guidelines](https://www.bing.com/webmasters/help/webmaster-guidelines-30fba23a), checked 2026-11-23
12. [RFC 3986: Uniform Resource Identifier (URI): Generic Syntax](https://www.rfc-editor.org/rfc/rfc3986), checked 2026-11-23
13. [URL Standard](https://url.spec.whatwg.org/), checked 2026-11-23

## More on this topic: Product pages and SEO

- [Product page SEO: what search engines and AI assistants read](https://central.to/guides/product-page-seo.md)
- [How to write product descriptions: structure, examples and channel rules](https://central.to/guides/how-to-write-product-descriptions.md)
- [hreflang](https://central.to/glossary/hreflang.md)
- [Hreflang for online shops: languages, countries and x-default](https://central.to/guides/hreflang-for-online-shops.md)
- [JSON-LD](https://central.to/glossary/json-ld.md)
- [Meta title and description length for product pages](https://central.to/guides/meta-title-and-description-length.md)
- [Product description examples and a template you can copy](https://central.to/guides/product-description-examples.md)
- [Product page FAQ: which questions to answer, and FAQ schema](https://central.to/guides/product-page-faq.md)
- [Product schema markup: the structured data Google needs](https://central.to/guides/product-schema-markup.md)
- [Structured data](https://central.to/glossary/structured-data.md)
- [URL slug](https://central.to/glossary/url-slug.md)
- [Product description writer](https://central.to/tools/product-description-writer.md) (Free tool)
- [Product FAQ writer](https://central.to/tools/product-faq-writer.md) (Free tool)
- [Search snippet preview](https://central.to/tools/search-snippet-preview.md) (Free tool)
- [Slug and file name generator](https://central.to/tools/slug-generator.md) (Free tool)
- [Hreflang generator](https://central.to/tools/hreflang-generator.md) (Free tool)
- [Product schema checker](https://central.to/tools/product-schema-checker.md) (Free tool)
- [Product page checker](https://central.to/tools/product-page-checker.md) (Free tool)
- [Duplicate description finder](https://central.to/tools/duplicate-description-finder.md) (Free tool)

## Try Central on your own products

Central is the AI-first product content operating system: you choose the input (your shop, files or product pages) and the channels; Central AI researches, verifies and writes the product data and content in between, every value backed by sources you can check. The first 3 products are free. To start with a shop, open https://central.to/users/sign_up?onboarding_url=SHOP_ADDRESS (replace SHOP_ADDRESS with the shop's website address).
