# Translate slugs

- Check 25.04 · Translating SEO elements · Important
- Source: https://checklist-seo-geo.com/en/translating-seo-elements/translate-slugs
- Produce the translated slugs of each page: transliteration rules, tracking sheet, bulk entry in WordPress, Shopify, Magento or Laravel, and redirects.
- Updated on 2026-11-25
- Licence: CC BY 4.0. Credit “Checklist SEO & GEO” with a link to https://checklist-seo-geo.com/en/translating-seo-elements/translate-slugs.
- Plugin checklist-seo-geo: 1.3.1 · https://github.com/maximegaul/checklist-seo-geo

## In short

Once you have decided that slugs are translated (see [translate slugs if relevant](https://checklist-seo-geo.com/en/international-architecture/translate-slugs-if-relevant)), the page-by-page work remains: writing for each version a short slug, in the language, with the local keyword, and without characters that become unreadable once encoded. This guide covers production, bulk entry and checking. Once this check is done, every page published in a language has a slug in that language, compliant with the transliteration rules you decided on, and every modified slug redirects to the new one.

## Why it matters

Google recommends using words in URLs that your audience understands, in its language, and accepts localized words. The URL appears in results, in shares, in the sources cited by AI assistants and in the links other sites make to you: `/de/tees/gruener-tee/` is understandable, `/de/thes/the-vert/` looks like a forgotten page.

The effect on rankings remains small. The real issue is execution: a slug translated automatically by the CMS can contain badly transliterated characters (`grner-tee`), a keyword nobody searches for, or change every time the title is revised. Every change after publication requires a redirect; a forgotten redirect means a lost page, along with its links.

## What it improves

- **Readability** of URLs in results, in shares and in AI answers that cite their sources.
- **Consistency** between the URL, title and H1 of each language.
- **Click-through rate**: a possible effect, not measured in general.
- **Rankings**: a small effect.
- **Stability**: slugs decided once, with written rules, no longer change with each revision.

## How to check

In a crawl or a sitemap, find the slugs identical to those of the source version (the command is given in [translate slugs if relevant](https://checklist-seo-geo.com/en/international-architecture/translate-slugs-if-relevant)), then check the form of the slugs of one language:

```bash
curl -s https://example.com/sitemap-de.xml | grep -o '<loc>[^<]*</loc>' | sed -E 's#</?loc>##g' \
  | grep -E '%[0-9A-F]{2}|[A-Z]|_|--' 
```

The lines displayed contain an encoded character, an uppercase letter, an underscore or a double hyphen: review them one by one. For a language with a non-Latin alphabet written in its native script, encoded characters are expected; in that case, only check that the rule is applied consistently.

Also check the slugs modified after publication: each old URL must return a `301` to the new one, in a single hop.

```bash
curl -sI https://example.com/de/tees/gruner-tee/ | grep -i -E "^(HTTP|location)"
```

In a spreadsheet, `=DETECTLANGUAGE(SUBSTITUTE(B2,"-"," "))` gives an indication of the language of a slug, useful for spotting slugs left in French in a long list. On two-word slugs, detection is often wrong.

## How to implement

### Before you start

Write the rules once, for every language, and pass them on to the translators:

- **Where the word comes from**: the main keyword of the page in the language, taken from the keyword map of that language, not the translation of the French slug.
- **Short**: generally two to five words, without stop words when they add nothing (`gruener-tee`, not `der-gruene-tee-aus-japan-kaufen`). It is a readability convention, not a ranking rule.
- **Lowercase, hyphens between words**, no spaces or underscores.
- **Language prefix unchanged** (`/de/`), and template segments translated consistently (`/de/tees/` everywhere).
- **Brand names and product references** in their original form.
- **Stability**: a published slug never changes without a redirect.

Common transliteration rules for languages with a Latin alphabet:

| Language | Characters | Form in the slug | Example |
|---|---|---|---|
| French | é, è, ê, à, ç, ô | e, e, e, a, c, o | `the-a-la-menthe` |
| French | œ, æ | oe, ae | `oeufs` |
| German | ä, ö, ü, ß | ae, oe, ue, ss | `gruener-tee`, `strasse` |
| Spanish | á, é, í, ó, ú, ñ | a, e, i, o, u, n | `te-verde-a-granel` |
| Danish, Norwegian | æ, ø, å | ae, oe, aa | `groen-te` |
| Polish | ą, ć, ę, ł, ń, ó, ś, ź, ż | a, c, e, l, n, o, s, z, z | `zielona-herbata` |

Replacing ä with ae follows German usage when umlauts are not available; `gruner-tee` is understandable but less natural. For Russian, Arabic, Japanese or Chinese, choose between encoded native script and transliteration, then apply the same rule to the whole language.

Tracking sheet, to keep during translation (fictitious example):

| ID | Source URL | Target keyword (de) | Translated slug | Old published slug | Redirect | Status |
|---|---|---|---|---|---|---|
| 128 | `/fr/thes/the-vert/` | grüner tee lose | `gruener-tee` | `gruner-tee` | 301 in place | Published |
| 342 | `/fr/guides/choisir-the-vert/` | welcher grüne tee | `gruenen-tee-waehlen` | — | — | To publish |
| 57 | `/fr/marque/notre-histoire/` | über uns | `ueber-uns` | — | — | To review |

To suggest a slug from a German title in Google Sheets (title in column B):

```txt
=REGEXREPLACE(REGEXREPLACE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(LOWER(B2),"ä","ae"),"ö","oe"),"ü","ue"),"ß","ss"),"[^a-z0-9]+","-"),"^-|-$","")
```

Then shorten it by hand: the formula produces a clean slug, not a short one.

### WordPress

Versions: WordPress 6.4 to 7.1; WPML 4, Polylang 3, TranslatePress or Weglot, and Redirection.

Each translation is a separate post with its own slug, entered in the translation's editor (post panel, permalink field) or in the WPML translation editor.

- **Transliteration**: WordPress removes accents when generating the slug and applies German rules (ä to ae) when the active language is German. Depending on your multilingual plugin and the admin language at the time of saving, the slug of a translation may be generated with other rules: review it before publishing.
- **In bulk**: WPML lets you send translations to an agency or a translation service as XLIFF files; TranslatePress and Weglot translate slugs with an option or an add-on, depending on the plan.
- **Redirects**: WordPress often redirects the old slug of a modified post, but not in every case. Test, and create the redirect with the Redirection plugin or at server level if it is missing.

### Shopify

Versions: Shopify, Translate & Adapt app, November 2026.

In Translate & Adapt, open the product, collection, page, blog or blog post, choose the language and enter the translated slug in the URL handle row. Shopify's machine translation does not handle handles: they are entered by hand. Fixed segments (`/products/`, `/collections/`) are not translated.

According to the Shopify Help Center, when you add a translated handle, redirects are created from the default language URL to the translated URL, and the sitemap is updated. If you later change a translated handle that is already published, check the old URL and, if needed, add the redirect in `Content > Menus`, `View URL redirects` button, then `Create URL redirect`.

For a large catalog, the CSV export of translations (`Settings > Languages > Export`) lets you prepare handles in a spreadsheet before reimporting the file; check that the handle rows are included in your export.

### PrestaShop

Versions: PrestaShop 8 and 9.

The `Friendly URL` field in the SEO tab of a product page, a category or a CMS page is multilingual: choose the language with the selector and enter the slug. PrestaShop suggests a slug based on the name; correct it according to your rules. Default URLs contain the item's identifier: test the old URL after a change to confirm that it does lead to the new one.

### Magento

Versions: Magento Open Source and Adobe Commerce 2.4 (2.4.6 to 2.4.9).

Switch the page's scope to the store view of the language (`Scope` at the top left), open the `Search Engine Optimization` section, clear `Use Default Value` on `URL Key` and enter the translated slug. Leave the `Create Permanent Redirect for old URL` option selected when making a change: Magento then creates the 301 rewrite from the old URL. Check the result in `Marketing > SEO & Search > URL Rewrites`.

### Drupal

Versions: Drupal 10 and 11; Pathauto and Redirect 8.x-1.x.

With Content Translation, each translation of a node has its own URL alias. The Pathauto module generates aliases from a pattern per content type and per language; the Redirect module can automatically create a redirect when an alias changes. Check this setting in the Redirect configuration before any bulk change.

### Webflow

Versions: Webflow Localization, November 2026 interface.

With Webflow Localization, the slug is localized in the settings of the page or CMS item for each secondary locale. Webflow's machine translation does not cover the slug: enter it yourself. After changing a published slug, add the 301 redirect in the site settings, Publishing section.

### Wix

Versions: Wix Editor and Wix Multilingual, November 2026.

Wix Multilingual lets you change the slug of a page in the SEO settings of the secondary language, according to Wix documentation. What is possible varies by page type (pages, products, blog posts): check in the editor, language by language.

### Laravel

Versions: Laravel 10 to 13, with spatie/laravel-translatable 6.

Store the slug per language, for example in a JSON column with laravel-translatable, generate it with the rules of the language, and keep the old slugs so you can redirect:

```php
use Illuminate\Support\Str;

$product->setTranslation('slug', 'de', Str::slug('Grüner Tee', '-', 'de'));
$product->save();
```

`Str::slug()` transliterates according to the language passed as the third argument: `gruener-tee` in German.

```php
// app/Http/Controllers/ProductsController.php
public function show(string $locale, string $slug): View|RedirectResponse
{
    $product = Product::where("slug->{$locale}", $slug)->first();

    if ($product === null) {
        return $this->redirectFromOldSlug($locale, $slug);
    }

    return view('products.show', ['product' => $product]);
}

private function redirectFromOldSlug(string $locale, string $slug): RedirectResponse
{
    $oldSlug = OldSlug::where('locale', $locale)->where('slug', $slug)->firstOrFail();

    return redirect()->route('products.show', [
        'locale' => $locale,
        'slug' => $oldSlug->product->getTranslation('slug', $locale),
    ], 301);
}
```

Save a row in the old slugs table each time a published slug is modified, for example in a model observer.

### Next.js

Versions: Next.js 15 and 16 (App Router), next-intl 4.

For dynamic content, request the content by slug and locale, and redirect permanently if the slug matches an old value:

```ts
// app/[locale]/tees/[slug]/page.tsx
import { notFound, permanentRedirect } from 'next/navigation';
import { findTeaBySlug, findCurrentSlug } from '@/lib/teas';

export default async function TeaPage({
  params,
}: {
  params: Promise<{ locale: string; slug: string }>;
}) {
  const { locale, slug } = await params;
  const tea = await findTeaBySlug(locale, slug);

  if (!tea) {
    const currentSlug = await findCurrentSlug(locale, slug);

    if (!currentSlug) {
      notFound();
    }

    permanentRedirect(`/${locale}/tees/${currentSlug}`);
  }

  return <h1>{tea.name}</h1>;
}
```

Translated fixed segments (`/tees/`, `/teas/`) are declared in next-intl's routing configuration, as explained in the guide on deciding whether to translate slugs.

## Common mistakes

- **Slug generated automatically and never reviewed**: `gruner-tee` instead of `gruener-tee`, or a fifteen-word slug taken from the full title.
- **Literal translation of the French slug** instead of the local keyword.
- **Slug changed every time the title is revised**, with an extra redirect each time, or none at all.
- **Redirect chains**: old French slug, then first German slug, then corrected slug.
- **Different rules from one translator to another**: `ueber-uns` on one page, `uber-uns` on another.
- **Internal links, hreflang and sitemap not updated** after the change: they point to redirected URLs. See [check redirects and old translated URLs](https://checklist-seo-geo.com/en/multilingual-indexing-sitemaps/check-redirects-old-translated-urls).
- **Uppercase letters or underscores** in slugs entered by hand.

## Frequently asked questions

### How should German umlauts be written in a URL?

The most widespread convention is to replace them the way German does when umlauts are not available: ä becomes ae, ö becomes oe, ü becomes ue and ß becomes ss. So you write gruener-tee rather than grüner-tee, which would be percent-encoded, or gruner-tee, which is less natural. Laravel applies this rule with Str::slug and the de language, and WordPress does when the active language is German.

### Can slugs be translated automatically?

Yes, to get a first suggestion, but review each slug before publishing. A slug generated from the translated title is often too long, may transliterate accented characters badly and does not necessarily use the keyword searchers look for. Some tools, such as Shopify's or Webflow's machine translation, do not handle slugs at all: they are entered by hand.

### What should you do if a translated slug that is already indexed is bad?

Fix it only if the gain is real, for example a typo or an incomprehensible word. Then set up a 301 redirect from the old URL to the new one, in a single hop, and update internal links, hreflang annotations, the canonical and the sitemap. Record the old slug in the tracking sheet. Avoid changing that slug again: each change adds a redirect.

### Should product page slugs be translated?

Yes, if your products have generic names that customers search for in their language, such as green tea or cast iron teapot. Keep brand names, model names and references in their original form, however. On a large catalog, prepare the slugs in bulk in a spreadsheet from the translated names, with the transliteration rules of each language, then import them.

## Resources

- [Google Search Central: URL structure best practices](https://developers.google.com/search/docs/crawling-indexing/url-structure?hl=en)
- [Google Search Central: Managing multi-regional and multilingual sites](https://developers.google.com/search/docs/specialty/international/managing-multi-regional-sites?hl=en)
- [Shopify Help Center: Translating and adapting your store](https://help.shopify.com/en/manual/markets/languages/translate)
- [Shopify: Translate URL handles (changelog)](https://changelog.shopify.com/posts/translate-resource-url-handles-for-different-languages)
- [Laravel: String helpers, Str::slug](https://laravel.com/docs/strings#method-str-slug)
- [Next.js: permanentRedirect function](https://nextjs.org/docs/app/api-reference/functions/permanentRedirect)

Next steps: [translate ALT text and captions](https://checklist-seo-geo.com/en/translating-seo-elements/translate-alt-text-captions) and [check redirects and old translated URLs](https://checklist-seo-geo.com/en/multilingual-indexing-sitemaps/check-redirects-old-translated-urls).
