# Create short, stable and descriptive URLs

- Check 02.09 · Architecture and navigation · Critical
- Source: https://checklist-seo-geo.com/en/architecture-navigation/create-short-stable-descriptive-urls
- Set a scheme for short, readable, lasting URLs, configure it in your CMS or framework and redirect every URL you have to change.
- Updated on 2026-11-25
- Licence: CC BY 4.0. Credit “Checklist SEO & GEO” with a link to https://checklist-seo-geo.com/en/architecture-navigation/create-short-stable-descriptive-urls.
- Plugin checklist-seo-geo: 1.3.1 · https://github.com/maximegaul/checklist-seo-geo

## In short

A good URL can be read and understood without clicking (`/guides/infusion-the-vert/`), stays short, and does not change for the whole life of the page. The task is to set a URL scheme for each page type, configure it in the CMS or framework, then adopt a simple rule: a published URL only changes when it is essential, and always with a 301 redirect. Once done, new pages are born with a clean URL and old ones no longer break.

## Why it matters

**Readability.** Google recommends using readable words rather than long ID numbers, and hyphens to separate words. Its SEO Starter Guide states that a URL made only of identifiers is less helpful to users, and that part of the URL may be displayed as breadcrumbs in search results.

**Limited effect on rankings.** The same guide states that keywords in the domain name or the URL path have hardly any effect beyond appearing in breadcrumbs. A descriptive URL serves people first: they read it in search results, in a share, in an AI assistant's answer.

**Stability.** This is the most important point. Every URL change forces search engines to discover the new address and transfer the old one's signals; without a redirect, external links, bookmarks and citations end in a 404 error. The W3C summed it up as early as 1998 in “Cool URIs don't change”: a good URL is one that does not change.

Generative engines add another reason. ChatGPT, Perplexity, Copilot and AI Overviews display links to their sources. A URL changed without a redirect turns a citation into a dead link. Stable URLs are also easier for AI agents to work with. See [keep URLs stable](https://checklist-seo-geo.com/en/ai-agent-compatibility/keep-urls-stable).

**Case and duplicates.** Google treats URLs as case-sensitive: `/The-Vert/` and `/the-vert/` are two URLs. The scheme must therefore enforce a single form. See [standardize letter case and trailing slashes](https://checklist-seo-geo.com/en/architecture-navigation/standardize-letter-case-trailing-slashes).

## What it improves

- **Click-through rate**: a readable URL in search results and shares inspires trust. A plausible effect, not measured by search engines.
- **Preserved signals**: external links, history and citations stay attached to the same address.
- **Crawling**: fewer redirects and duplicates to process.
- **Citations in AI answers**: links to your pages stay valid over time.
- **Maintenance**: a predictable scheme makes redirects, analyses and report filters easier.
- **Rankings**: a negligible direct effect of keywords in the URL, according to Google.

## How to check

**Export all URLs** (crawl or sitemap) and spot problems with formulas (Google Sheets, URLs in column A):

```txt
Path length:
=LEN(REGEXREPLACE(A2,"^https?://[^/]+",""))

Uppercase letters:
=IF(REGEXMATCH(A2,"[A-Z]"),"Uppercase","")

Accented or encoded characters:
=IF(REGEXMATCH(A2,"%[0-9A-Fa-f]{2}|[À-ÿ]"),"Accents or encoding","")

Underscore or space:
=IF(REGEXMATCH(A2,"_|%20"),"Separator to review","")

Parameters:
=IF(REGEXMATCH(A2,"\?"),"Parameters","")

Year in the URL:
=IF(REGEXMATCH(A2,"/20[0-9]{2}/|-20[0-9]{2}"),"Date","")
```

**Check the history**: in Search Console, [Page indexing report](https://search.google.com/search-console/index), the “Not found (404)” and “Page with redirect” reasons reveal changed URLs. A URL that appears in external links (Links report) and returns a 404 is a URL changed without a redirect.

A compliant result: lowercase paths, words separated by hyphens, no encoded accents or parameters for indexable pages, no dates except for genuinely dated content, and no old URL returning a 404.

## How to implement

### Before you start

**1. Write the URL scheme**, one per page type:

| Page type | Scheme | Example |
|---|---|---|
| Section or category | `/{rubrique}/` | `/the-vert/` |
| Subcategory | `/{rubrique}/{sous-rubrique}/` | `/the-vert/sencha/` |
| Product | `/produits/{nom-produit}/` | `/produits/sencha-kagoshima-bio/` |
| Local service | `/{service}-{ville}/` | `/entretien-chaudiere-nantes/` |
| Guide or article | `/guides/{sujet}/` | `/guides/infusion-the-vert/` |
| Feature page (SaaS) | `/fonctionnalites/{fonction}/` | `/fonctionnalites/planning-interventions/` |

**2. Apply the slug writing rules**:

| Rule | Good | Avoid |
|---|---|---|
| Readable words, in the audience's language | `/guides/infusion-the-vert/` | `/p?id=4812` |
| Hyphens between words | `entretien-chaudiere` | `entretien_chaudiere`, `entretienchaudiere` |
| Lowercase | `/the-vert/` | `/The-Vert/` |
| No accents (French-language convention) | `/the-vert/` | `/thé-vert/`, shown as `/th%C3%A9-vert/` once copied |
| Short: the core of the topic | `/guides/choisir-the-vert/` | `/guides/comment-bien-choisir-son-the-vert-quand-on-debute/` |
| No unnecessary stop words | `/livraison-retours/` | `/la-livraison-et-les-retours/` |
| No date or year, except for dated content | `/guides/meilleur-the-vert/` | `/guides/meilleur-the-vert-2026/` |
| Nothing that may change | `/produits/sencha-kagoshima-bio/` | `/promo-ete/sencha-kagoshima-bio/` |
| No technical extension | `/contact/` | `/contact.php` |

Google accepts non-ASCII characters, percent-encoded, as well as transliterated words: accents are not an error. Removing them is a readability convention, because an accented URL becomes unreadable once copied.

Google sets no maximum length; the sitemaps protocol limits URLs to fewer than 2,048 characters. Three to five words in the slug is a rule of thumb from practice.

**3. Set the stability rule**: a published URL only changes to fix a real error (typo, changed topic, merger), never to “optimize” a keyword. Each change comes with a 301 redirect from the old URL to the new one, on the same day, and an update of internal links. See [use 301/308 for permanent moves](https://checklist-seo-geo.com/en/http-redirects/use-301-308-permanent-moves).

Do not rewrite existing URLs that work just to shorten them: the gain is small, the risk real. Apply the scheme to new pages and redesigns.

### Apache

Versions: Apache 2.4.

For a changed URL, in the `.htaccess` file at the root or in the virtual host configuration:

```apache
Redirect 301 /guides/comment-infuser-le-the-vert/ https://example.com/guides/infusion-the-vert/
```

For a set of URLs, with `mod_rewrite`. Example of a PHP site without a framework: the old `/contact.php` addresses redirect to `/contact/`, which still serves the `contact.php` file:

```apache
RewriteEngine On

RewriteCond %{THE_REQUEST} \s/([^.?\s]+)\.php[\s?] [NC]
RewriteRule ^ /%1/ [R=301,L]

RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{DOCUMENT_ROOT}/$1.php -f
RewriteRule ^(.+?)/?$ /$1.php [L]
```

Reload with `sudo apachectl configtest && sudo systemctl reload apache2` if you edit the server configuration.

### Nginx

Versions: Nginx 1.24 and later.

In the site's `server` block:

```nginx
location = /guides/comment-infuser-le-the-vert/ {
    return 301 /guides/infusion-the-vert/;
}
```

For many redirects, declare a `map` table in the `http` context, then add the `if` block to the site's existing `server` block:

```nginx
map $uri $redirect_target {
    /guides/comment-infuser-le-the-vert/  /guides/infusion-the-vert/;
    /produits/sencha-bio-ete/             /produits/sencha-kagoshima-bio/;
}

server {
    if ($redirect_target) {
        return 301 $redirect_target;
    }
}
```

Test, then reload: `sudo nginx -t && sudo systemctl reload nginx`.

### WordPress

Versions: WordPress 6.4 to 7.1; Redirection plugin 5, or Rank Math 1.0 (Redirections module).

- **Structure**: `Settings > Permalinks`, choose “Post name” (`/%postname%/`) or a custom structure with a section base (`/guides/%postname%/`). Changing this structure on an existing site changes every post URL: plan the redirects first.
- **Slug**: in the editor, in the post settings panel, the link or slug field. WordPress generates it from the title, often too long: shorten it before first publication.
- **Redirects**: WordPress automatically redirects the old slug of a published post when you change it, but not that of a page, nor structure changes. Use a redirect plugin (Redirection, or Rank Math's Redirections module) for the rest.
- **Category and tag bases**: set in the same screen; do not change them after going live.

### Shopify

Versions: Shopify admin, all plans, November 2026.

The prefixes are fixed and cannot be changed: `/products/`, `/collections/`, `/pages/`, `/blogs/{blog}/`. Only the last part, the handle, can be edited: on the product, collection or page, in the “Search engine listing” section, click the edit button and change the URL handle field. When you change it, Shopify offers to create a redirect from the old URL: leave the option checked, then check that the redirect exists in `Content > Menus > View URL redirects`. Choose lowercase handles without accents before first publication.

### PrestaShop

Versions: PrestaShop 8 and 9.

`Shop Parameters > Traffic & SEO`, URL setup section: enable friendly URLs, leave accented URLs disabled and set the redirect to the canonical URL to 301. The URL schema section on the same page defines the route for each type; by default, the product route contains the `{id}` identifier and ends in `.html`. Removing the identifier requires a third-party module and a carefully managed migration; on an existing site, keep it. Each product's friendly URL is edited in the SEO tab of the product page. As long as the identifier is in the URL, an old address is generally redirected to the new one thanks to the canonical redirect: test it.

### Magento

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

`Stores > Settings > Configuration > Catalog > Catalog > Search Engine Optimization`:

- “Use Categories Path for Product URLs” set to No: the product URL does not depend on the category and does not change if the product moves to another category;
- “Create Permanent Redirect for URLs if URL Key Changed” set to Yes: every URL key change creates a permanent redirect;
- “Product URL Suffix” and “Category URL Suffix”: `.html` by default. Do not change them on an existing site.

Each product's URL key is set in the Search Engine Optimization section of the product page.

### Drupal

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

Install Pathauto (and Token) to generate aliases, then define a pattern for each content type in `Configuration > Search and metadata > URL aliases > Patterns` (`/admin/config/search/path/patterns`), for example `guides/[node:title]`. Also install the Redirect module: Pathauto can then create a redirect when an alias changes. The system URLs `/node/123` remain accessible; the canonical tag points to the alias.

### Wix

Versions: Wix Editor and Wix Studio, all plans, November 2026.

Each page's slug is edited in the page's SEO settings (URL slug field). The prefixes of product pages (`/product-page/`) and blog posts are customized in the site's SEO settings. After any change, check the redirect in the URL Redirect Manager of the SEO dashboard. For dynamic pages, an item's old URL is only redirected if a domain is connected.

### Squarespace

Versions: Squarespace 7.1, all plans, November 2026.

The slug is edited in the page settings (gear icon, URL slug field). Add the redirect in the URL Mappings of the site settings, in this form:

```txt
/guides/comment-infuser-le-the-vert -> /guides/infusion-the-vert 301
```

### Webflow

Versions: Webflow, all site plans, November 2026.

The slug is set in the page or collection item settings. Redirects are declared in `Site settings > Publishing > 301 redirects`; publish the site to activate them.

### Laravel

Versions: Laravel 10 to 13.

Generate the slug only once, at creation, with `Str::slug()`, and keep the old slugs so you can redirect:

```php
// app/Models/Guide.php
namespace App\Models;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\HasMany;
use Illuminate\Support\Str;

class Guide extends Model
{
    protected static function booted(): void
    {
        static::creating(function (Guide $guide): void {
            $guide->slug ??= Str::slug($guide->title, '-', 'fr');
        });

        static::updating(function (Guide $guide): void {
            if (! $guide->isDirty('slug')) {
                return;
            }

            $guide->slugRedirects()->create(['old_slug' => $guide->getOriginal('slug')]);
        });
    }

    public function slugRedirects(): HasMany
    {
        return $this->hasMany(GuideSlugRedirect::class);
    }
}
```

```php
// routes/web.php
use App\Http\Controllers\GuidesController;
use App\Models\GuideSlugRedirect;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Route;

Route::get('/guides/{guide:slug}', [GuidesController::class, 'show'])
    ->name('guides.show')
    ->missing(function (Request $request) {
        $redirect = GuideSlugRedirect::query()
            ->where('old_slug', $request->route('guide'))
            ->firstOrFail();

        return redirect()->route('guides.show', $redirect->guide, 301);
    });
```

`Str::slug('Thé vert : le guide', '-', 'fr')` returns `the-vert-le-guide`. The `guide_slug_redirects` table contains `guide_id` and `old_slug`, and the `GuideSlugRedirect` model has a `guide()` relationship.

### Next.js

Versions: Next.js 15 and 16 (App Router).

The URL structure follows the folder structure of `app/`. For a changed slug, declare a permanent redirect in `next.config.js` (308 status code):

```js
// next.config.js
module.exports = {
  async redirects() {
    return [
      {
        source: '/guides/comment-infuser-le-the-vert',
        destination: '/guides/infusion-the-vert',
        permanent: true,
      },
    ]
  },
}
```

For slugs managed in a CMS, redirect from the page with `permanentRedirect()`:

```tsx
// app/guides/[slug]/page.tsx
import { notFound, permanentRedirect } from 'next/navigation'
import { findGuideBySlug, findRedirectForSlug } from '@/lib/guides'

export default async function GuidePage({ params }: { params: Promise<{ slug: string }> }) {
  const { slug } = await params
  const guide = await findGuideBySlug(slug)

  if (!guide) {
    const newSlug = await findRedirectForSlug(slug)

    if (newSlug) {
      permanentRedirect(`/guides/${newSlug}`)
    }

    notFound()
  }

  return <article><h1>{guide.title}</h1></article>
}
```

> **Warning:** the 301 and 308 codes are both permanent redirects, which Google treats the same way. What matters is never letting an old URL return a 404 or redirect to the home page.

## Common mistakes

- **Rewriting URLs that work** to add a keyword: a negligible ranking effect, a real risk of loss.
- **Changing a URL without a redirect**: external links, bookmarks and citations in AI answers end in a 404.
- **Putting the year in the slug** of content updated every year: the URL becomes wrong, then has to change.
- **Making the product URL depend on the category**: every catalog reorganization changes the URLs.
- **Slugs generated from long titles** and never shortened: `/comment-bien-choisir-son-the-vert-quand-on-debute-guide-complet/`.
- **Mixing uppercase and lowercase**: two URLs for the same page.
- **Keeping session or tracking identifiers** in navigation URLs. See [control URL parameters](https://checklist-seo-geo.com/en/architecture-navigation/control-url-parameters).
- **Changing the permalink structure** of a live site without a redirect table.

## Frequently asked questions

### Should you change existing URLs to shorten them?

Generally not. According to Google, keywords in the URL have hardly any effect on rankings, whereas every address change requires a redirect, makes signals move over and can break external links or citations. Only fix URLs that are genuinely wrong or misleading, with a 301 redirect and an update of internal links. Apply the new scheme to new pages and during a redesign.

### Should a French-language site use accents in its URLs?

Google accepts accented characters, percent-encoded, so it is not an error. French-language practice, however, is to remove them: a URL like /thé-vert/ becomes /th%C3%A9-vert/ once copied into an email or a document, which makes it unreadable. Choose a rule, preferably without accents, and apply it across the whole site to avoid two versions of the same address.

### Does putting the keyword in the URL improve SEO?

Very little. Google's SEO Starter Guide states that keywords in the domain name or the URL path have hardly any effect beyond appearing in the breadcrumbs of search results. A descriptive URL mainly serves the people who read it in search results, a share or an AI assistant's answer. Choose clear words that describe the page, without repeating them.

### What is the maximum length for a URL?

Google sets no limit for ranking purposes; the sitemaps protocol accepts URLs of fewer than 2,048 characters. In practice, aim for a slug of three to five words that describes the topic, with no stop words or dates. A short URL can be read in full in search results, is easy to share and has fewer reasons to change when you update the page.

## Resources

- [Google Search Central: URL structure best practices](https://developers.google.com/search/docs/crawling-indexing/url-structure?hl=en)
- [Google Search Central: SEO Starter Guide](https://developers.google.com/search/docs/fundamentals/seo-starter-guide?hl=en)
- [W3C: Cool URIs don't change](https://www.w3.org/Provider/Style/URI)
- [WordPress: Permalinks Settings screen](https://wordpress.org/documentation/article/settings-permalinks-screen/)
- [Shopify: creating and managing URL redirects](https://help.shopify.com/en/manual/online-store/menus-and-links/url-redirect)
- [Adobe Commerce: catalog and product URLs](https://experienceleague.adobe.com/en/docs/commerce-admin/catalog/catalog/catalog-urls)
- [Drupal: Pathauto module](https://www.drupal.org/project/pathauto)
- [Next.js: redirects](https://nextjs.org/docs/app/api-reference/config/next-config-js/redirects)

Next steps: [separate words with hyphens](https://checklist-seo-geo.com/en/architecture-navigation/separate-words-hyphens) and [standardize letter case and trailing slashes](https://checklist-seo-geo.com/en/architecture-navigation/standardize-letter-case-trailing-slashes).
