Orofold Labs

Launching soon

Notes Get in touch

Search 4 min read Updated

URL structure that lasts

In short

A good URL uses readable words, hyphens and one letter case, and it changes as rarely as possible.

Readers look at an address before they click it, then share it and link to it. A good URL is therefore readable, stable and simple, and it roughly says what the page is about. The rules Google recommends keep those choices stable even as the site grows.

Readable words instead of identifiers

Google’s guidance on URL structure recommends readable words rather than long ID numbers wherever possible. A path such as /guides/robots-txt tells both the reader and the search engine more than a path made of numbers and parameters does.

Where it fits, keep the words in an address close to the words in the page title. A reader who sees the link can then predict what the page contains before opening it.

Hyphens and a single letter case

Google recommends hyphens rather than underscores to separate words in a URL. The reason is that a hyphen clearly signals a word boundary, whereas programming languages often use underscores to join terms.

Letter case also matters. If your server treats upper and lower case as the same, convert all text to a single case, so that Google can easily see that the URLs refer to the same page. Lowercase is the usual choice, and it should be used everywhere, including links and sitemaps.

Less usefulMore usefulWhy
/Page_Two.html?id=48213/page-twoReadable words, hyphens and one letter case
/products?cat=7&sort=asc/products/kitchen-knivesThe words describe the content, not the query
/Guides/Robots_TXT//guides/robots-txtHyphens separate words and the case is consistent

The examples are illustrative, not measurements.

Parameters and dynamic URLs

Google recommends shortening URLs by trimming unnecessary parameters whenever possible. Parameters that only change the order or the view of a list can create extra addresses for the same content.

Google also says that you can consider blocking crawling of dynamic URLs, such as URLs that generate search results, when they cause problems. That is a crawl management step, not a general rule against dynamic addresses.

Working on something similar in your own product? A few honest sentences are enough – we read every enquiry and reply by email. Apply with your idea

Keep the structure simple and consistent

Google recommends a simple URL structure. Choose one pattern for each section of the site, and use it everywhere. A consistent scheme makes redirects, sitemaps and internal links easier to write later, and it lowers the chance that two addresses lead to one page.

Plan the structure for content you expect to add later, not only for what exists today. A new section should follow the same pattern as the existing ones, so that nobody has to invent a new scheme for each addition. Simple, readable paths are also easier to check by eye, to type and to recognise in a shared link.

Changing URLs later

When an address changes, the old one needs a redirect to the new one, and internal links must be updated. Google’s guidance on redirects recommends a permanent server-side redirect whenever possible, such as 301 or 308, when a page has moved for good. Without a redirect, visitors and crawlers reach a dead end. For the steps, read redirects: 301, 302, 307, 308 and the guide to moving a site without losing search traffic.

Before you change an address, check which other pages, documents and external sites refer to it. You cannot edit every external link, so the redirect is what keeps those references working.

A checklist for new URLs

  1. Use words that describe the content, separated by hyphens.
  2. Write every URL in one letter case, usually lowercase, and confirm how your server handles case.
  3. Remove parameters that only change the view, and keep the rest to a minimum.
  4. Give each section one pattern, and write it down for the team.
  5. Record every planned change in a redirect map before launch.

Stable addresses also help with duplicates. If one page can be reached at several URLs, read about canonical URLs to decide which address should count.

Common questions

Do hyphens or underscores matter for search?
Google recommends hyphens instead of underscores to separate words in URLs, because a hyphen clearly signals a word boundary.
Should I always remove URL parameters?
Not always. Google recommends trimming unnecessary parameters whenever possible, so keep those that select different content and remove those that only change the view.
What should I do when a URL changes?
Google recommends a permanent server-side redirect, such as 301 or 308, from the old URL to the new one. Update internal links and sitemaps so that they point to the new address.

Sources

  1. URL structure best practices for Google Search, Google Search Central. Accessed 24 November 2026
  2. Redirects and Google Search, Google Search Central. Accessed 24 November 2026

Further reading

Have an idea that should exist? Or a working product that needs more customers, a new website or a complete rework? Bring us anything. Apply with your idea

All notes