In short
The slug is the readable part of the URL: tarifs in example.com/fr/tarifs/. Translating slugs means giving each language version words from its own language: /de/preise/, /en/pricing/. It is recommended for a new site, and a trade-off to weigh for an existing site whose URLs are already indexed and linked. Once the task is done, the rule is decided per language and per page type, applied by the CMS or framework, and every changed URL redirects to the new one.
Why it matters
Google advises using words in the audience's language in URLs, and accepts localized words just as it accepts internationalized domain names. A /de/preise/ URL is readable for a German speaker; /de/tarifs/ looks like a forgotten page. The URL is displayed in search results, in shared links and in the sources cited by AI assistants: understandable words reassure people before they click.
The effect on rankings is small. Words in the URL are a minor signal, and Google ranks untranslated URLs very well. The real gain is consistency and trust. The real risk lies elsewhere: translating the slugs of a site that is already indexed changes its URLs, which requires redirects, resets part of the signals during the transition and breaks links if a redirect is missing.
Non-Latin scripts raise a separate question: write the slug in the language's own script (Cyrillic, Arabic, Japanese) or transliterate it into Latin characters. Google accepts both; for non-ASCII characters, it recommends percent-encoding them in links.
What it improves
- Readability of URLs in search results, shares and the sources cited by generative engines.
- Click-through rate A possible effect, but not measured in general; a URL in the right language avoids the impression of a poorly translated page.
- Consistency URL, title and H1 in the same language.
- Rankings Small or no effect.
- Risk None on a new site; real on an existing site if redirects are forgotten.
How to check
Export each language's URLs from the sitemap or a crawl, then spot the slugs identical to those of the source language:
curl -s https://example.com/sitemap-de.xml | grep -o '<loc>[^<]*</loc>' | sed -E 's#<loc>https?://[^/]+/de/##; s#</loc>##' | sort > de.txt
curl -s https://example.com/sitemap-fr.xml | grep -o '<loc>[^<]*</loc>' | sed -E 's#<loc>https?://[^/]+/##; s#</loc>##' | sort > fr.txt
comm -12 fr.txt de.txt
The lines displayed are slugs that stayed identical in both languages. Some should (brand names, product references); the others are oversights or a deliberate choice not to translate, to be confirmed.
Also check:
- Encoding: a non-Latin slug must appear percent-encoded in the HTML (
href="/ru/%D1%86%D0%B5%D0%BD%D1%8B/") and return 200. - Redirects: each old slug must return a
301to the new one, in a single hop.
curl -sI https://example.com/de/tarifs/ | grep -i -E "^(HTTP|location)"
How to implement
Before you start
Decide per language and per page type using this grid:
| Situation | Decision |
|---|---|
| New site or new language | Translate slugs from launch |
| Language already published, URLs indexed and linked | Keep them, unless a redesign is planned; then translate with 301 redirects |
| Brand names, product names, references | Do not translate |
| Language with a non-Latin script | Encoded native script, or transliteration if your audience also searches in Latin characters |
| CMS unable to translate slugs | Keep the source slugs: it is not a blocker |
Writing rules:
- Words people search for, taken from keyword research by language (opens in a new tab), not a literal translation.
- Lowercase and hyphens between words, as in all URLs (see optimize URLs and slugs (opens in a new tab)).
- Accents in Latin-script languages: the most widespread convention is to remove them (
/fr/telechargement/rather than/fr/téléchargement/), because the accented URL becomes unreadable once encoded (t%C3%A9l%C3%A9chargement). WordPress removes them automatically. - The language prefix is not translated:
/de/, not/deutsch/. - Stability: a translated slug, once published, never changes without a redirect.
The translation work itself, page by page, is covered in translate slugs (opens in a new tab).
WordPress
Versions WordPress 6.8 and later; WPML 5, Polylang 3 (Pro for URL bases), TranslatePress 3 and Weglot, November 2026.
Each translation is a separate piece of content, with its own slug:
- WPML: enable slug translation in
WPML > Settings > URLs and SEO("Page URL" section, "Translate" option), then translate the slug in the Advanced Translation Editor. For custom post type bases (/produits/,/products/), tick "Translate base slugs of custom post types and taxonomies" in the same section, then, inWPML > Settings > Post Types Translation, click "Set different slugs in different languages" under the post type. - Polylang: each translation has its own slug in the editor. Translating URL bases (post types, taxonomies,
/category/) requires Polylang Pro. - TranslatePress: slug translation goes through its SEO Pack add-on, available only on paid plans.
- Weglot: URL translation is an option of the tool; check whether it is available on your plan.
After any change to a published slug, check the redirect: WordPress often redirects the old slug of an edited post, but not in every case, especially for post type bases. When in doubt, create the redirects with the Redirection plugin or at server level.
Shopify
Versions Shopify, all plans, Translate & Adapt app, November 2026.
Translations are managed with the Translate & Adapt app. According to Shopify's documentation, the URL handles of products, collections, pages and blog posts are among the translatable fields. Translate the handle at the same time as the title, then check the published URL in each language (/de/products/grüner-tee is encoded, prefer gruener-tee). When you change a handle that is already published, check that the old URL redirects to the new one and, if not, add the redirect in Shopify's URL redirects.
Laravel
Versions Laravel 11 to 13, mcamara/laravel-localization 2.
The Laravel Localization package (mcamara) translates route segments through language files:
// lang/fr/routes.php
return [
'pricing' => 'tarifs',
'product' => 'produits/{product}',
];
// lang/de/routes.php
return [
'pricing' => 'preise',
'product' => 'produkte/{product}',
];
// routes/web.php
use App\Http\Controllers\PricingController;
use App\Http\Controllers\ProductsController;
use Illuminate\Support\Facades\Route;
use Mcamara\LaravelLocalization\Facades\LaravelLocalization;
use Mcamara\LaravelLocalization\Middleware\LaravelLocalizationRoutes;
Route::group([
'prefix' => LaravelLocalization::setLocale(),
'middleware' => [LaravelLocalizationRoutes::class],
], function () {
Route::get(LaravelLocalization::transRoute('routes.pricing'), [PricingController::class, 'index']);
Route::get(LaravelLocalization::transRoute('routes.product'), [ProductsController::class, 'show']);
});
The middleware is referenced by its class: there is no need to declare the localize alias from the package documentation, which is registered in bootstrap/app.php since Laravel 11. LaravelLocalization::getLocalizedURL('de') returns the URL of the current page in German, which is useful for the switcher. The package is not compatible with php artisan route:cache: add its LoadsTranslatedCachedRoutes trait to AppServiceProvider as its documentation explains, then cache the routes with php artisan route:trans:cache. Content slugs (products, posts) are stored per language in the database, for example in a translated JSON column.
Symfony
Versions Symfony 6.4, 7 and 8.
Localized routes accept one path per language:
// src/Controller/PricingController.php
namespace App\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\Routing\Attribute\Route;
class PricingController extends AbstractController
{
#[Route(path: [
'fr' => '/tarifs',
'de' => '/preise',
'en' => '/pricing',
], name: 'pricing')]
public function index(): Response
{
return $this->render('pricing/index.html.twig');
}
}
Combined with the per-language prefix in config/routes.yaml, this produces /tarifs, /de/preise and /en/pricing. path('pricing', {_locale: 'de'}) generates the German URL.
Next.js
Versions Next.js 15 and 16 (App Router), next-intl 4.
With the next-intl library, declare the translated paths in the routing configuration:
// src/i18n/routing.ts
import { defineRouting } from 'next-intl/routing';
export const routing = defineRouting({
locales: ['fr', 'de', 'en'],
defaultLocale: 'fr',
pathnames: {
'/': '/',
'/tarifs': {
fr: '/tarifs',
de: '/preise',
en: '/pricing',
},
},
});
The files stay under app/[locale]/tarifs/page.tsx; the next-intl proxy (src/proxy.ts on Next.js 16, src/middleware.ts on Next.js 15) rewrites the URLs and its link components generate the right path for each language. Without a library, you can get the same result with rewrites in next.config.ts.
Nuxt
Versions Nuxt 3 and 4, @nuxtjs/i18n module 10.
The @nuxtjs/i18n module accepts one path per language for each page, declared in the page with definePageMeta():
<!-- pages/tarifs.vue -->
<script setup lang="ts">
definePageMeta({
i18n: {
paths: {
fr: '/tarifs',
de: '/preise',
en: '/pricing',
},
},
});
</script>
Dynamic parameters are written in square brackets (de: '/produkte/[slug]'). The old defineI18nRoute() macro is deprecated in version 10 of the module and will be removed in version 11: replace it when you upgrade. Content slugs are declared per language with useSetI18nParams().
Astro
Versions Astro 5 to 7.
The file name is the slug. Create src/pages/tarifs.astro, src/pages/de/preise.astro and src/pages/en/pricing.astro, or generate the paths from your content with getStaticPaths() and a slug field per language.
Apache
Versions Apache 2.4.
If you translate the slugs of an existing site, redirect each old URL to the new one, in the .htaccess file or the virtual host:
Redirect 301 /de/tarifs/ https://example.com/de/preise/
Redirect 301 /de/contact/ https://example.com/de/kontakt/
Redirect 301 /en/tarifs/ https://example.com/en/pricing/
Nginx
Versions Nginx 1.24 and later.
For a long list, a lookup table in the http context:
map $uri $translated_slug {
default "";
/de/tarifs/ /de/preise/;
/de/contact/ /de/kontakt/;
/en/tarifs/ /en/pricing/;
}
Then in the server block:
if ($translated_slug) {
return 301 $translated_slug;
}
Reload with sudo nginx -t && sudo systemctl reload nginx. At the same time, update internal links, hreflang annotations, canonicals and the sitemap, so that none of them points to a redirected URL (see check redirects and old translated URLs (opens in a new tab)).
Common mistakes
- Translating the slugs of an established site without redirects: broken links, pages lost for weeks.
- A literal translation of the slug instead of the words people actually search for in the language.
- Translating brand or product names that customers search for under their original name.
- Translating the language code (
/deutsch/,/espanol/) instead of keeping/de/,/es/. - Accents left in the slugs of Latin-script languages, which become unreadable once encoded.
- Non-Latin script pasted without encoding into links and the sitemap.
- Changing a translated slug several times as reviews come in: each change adds a redirect.
Frequently asked questions
Should you translate the URLs of a multilingual site?
Yes for a new site or a new language: Google recommends words in the audience's language, and translated URLs are more readable in search results and shares. For a language that is already indexed, weigh the benefit, small for rankings, against the cost of changing URLs with redirects. Brand and product names generally stay in their original form.
Does translating slugs improve rankings?
The direct effect is small: words in the URL are a minor signal, and pages with untranslated URLs rank very well. The benefit lies mainly in readability and trust, both in search results and in the links cited by AI assistants. On an existing site, a slug translation with poor redirects can lose traffic: only do it as part of a well-managed project.
Should French URLs contain accents?
It is not forbidden, but the most widespread convention is to remove them: an accented URL is percent-encoded as soon as it is copied, which makes it unreadable, and some tools handle it poorly. Write telechargement rather than téléchargement. WordPress automatically removes accents from slugs. For non-Latin scripts, Google still accepts the encoded native script.
How do you handle slugs in Russian, Arabic or Japanese?
Google accepts two options: the native script, percent-encoded in links and the sitemap, or a transliteration into Latin characters. Choose according to how your audience searches and shares links. In every case, use UTF-8, test that the encoded URL returns 200 and keep the same rule for every page in the language.
Resources
- Google Search Central: URL structure best practicesdevelopers.google.com
- Google Search Central: Managing multi-regional and multilingual sitesdevelopers.google.com
- Laravel Localization (mcamara): translated routesgithub.com
- Symfony: localized routessymfony.com
- next-intl: routing and localized pathnamesnext-intl.dev
- Astro: i18n routingdocs.astro.build
Updated on
Topic checklist (PDF)