# Slug: definition

> A slug is the readable part of a URL that identifies a page, article or product, usually derived automatically from its title.

- Source canonique : [https://allaux.fr/en/glossaire/slug](https://allaux.fr/en/glossaire/slug)
- Langue : EN
- Dernière mise à jour : 2026-09-30

## A technical detail that affects SEO

When a product is called “Solid Wood Chair”, its slug typically becomes solid-wood-chair: the title is lowercased, accents removed, spaces replaced with hyphens. This mechanism shows up both in PrestaShop's product URL rewriting and in the slug field of a WordPress post, usually editable from the content editing screen.

The slug has a direct impact on SEO, since search engines use it to understand what a page is about: a clear slug containing relevant keywords is worth more than an opaque numeric identifier. Once a product is indexed with a given slug, changing it changes the full URL: useful for fixing a mistake, but it requires a redirect so the SEO value built up on the old address isn't lost.

## Uniqueness isn't enforced in the same place

> On WooCommerce, two products can't carry the same slug: the slug alone identifies the product, so WordPress automatically appends a numeric suffix (-2, -3) on save. On PrestaShop, two products can perfectly well share the same link_rewrite, with no error and no suffix: the default product URL contains the id_product (/12-solid-wood-chair.html), and that identifier is what makes the address unique. A duplicate is still worth avoiding for readability and SEO, but nothing in PrestaShop prevents it.

## FAQ

### Can the slug of a product already live be changed freely?

Technically yes, but it changes the URL: it's best to set up a redirect so links already shared or indexed don't break.

### Does the slug have to match the title exactly?

No, it can be shortened or reworded manually, particularly to drop unnecessary words and focus on the terms customers actually search for.

### Can a slug contain digits or capital letters?

Digits are allowed, but capital letters and accents are automatically converted to lowercase, plain characters to keep the URL clean.
