Aller au contenu
SEO Fundamentals

SEO-Friendly URLs: Best Practices

6 min

An SEO-friendly URL is short, descriptive, lowercase, with hyphens as separators, and without unnecessary parameters. It should reflect the site structure and contain the page's main keyword. Avoid numeric IDs, dates in evergreen page URLs, and session parameters.

The URL is the permanent address of your content on the web. It influences ranking (slightly), comprehension by bots, and user trust even before they click. A poor URL structure is hard to fix without a risky migration.

Anatomy of an SEO-optimized URL

An ideal URL follows this structure: protocol + domain + thematic path + descriptive slug. Each component has its role: the domain carries authority, the path signals thematic structure, the slug identifies the page.

Hyphens (-) are the only accepted word separators in URLs. Underscores (_) are interpreted differently by Google and can merge two words into one in the algorithm's view.

  • All lowercase: uppercase in URLs creates technical duplicates.
  • Hyphens only as word separators, never underscores.
  • Remove stop words (the, a, of, and) to shorten the slug.
  • Main keyword present in the slug, as close to the domain as possible.
  • Recommended maximum depth: 3 levels of subfolders.

What hurts URLs in SEO

Dynamic parameters (?cat=12&sort=asc&page=3) generate thousands of unique URLs for the same content, multiply duplicate content problems, and waste the crawl budget.

Numeric IDs in URLs (example.com/product/45821) give no information about content to Google or users. Prefer a descriptive slug even if a technical reference is maintained in the database.

URLs and migrations: managing change

Changing the URL structure of an existing site is a high-risk operation requiring exhaustive 301 redirects, a sitemap update, and close monitoring for 6 to 12 weeks.

If your current structure is functional but imperfect (for example, dates in URLs), it is often better not to migrate to avoid the risk of traffic loss. The benefit of a perfect URL is rarely greater than the cost of a poorly executed migration.

Poorly executed URL migrations (incomplete redirects, sitemap not updated) cause an average drop of 20 to 50% in organic traffic in the first 30 days.

Sector studies 2025-2026 on SEO migrations

FAQ

Should the keyword be included in every URL?

Yes, ideally. The keyword in the URL is a mild but real relevance signal. It also improves readability for the user who sees the URL in search results before clicking.

Are dates in URLs (/2026/01/article) bad for SEO?

Not inherently bad, but constraining. Dates make evergreen content appear old even after updates. If you are creating a site from scratch, prefer date-free URLs for timeless articles.

Should file extensions (.html, .php) be included in URLs?

No, it is unnecessary and visually cluttered. Modern servers handle extension-free URLs perfectly. Clean URLs without extensions are the standard in 2026.