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 useful | More useful | Why |
|---|---|---|
| /Page_Two.html?id=48213 | /page-two | Readable words, hyphens and one letter case |
| /products?cat=7&sort=asc | /products/kitchen-knives | The words describe the content, not the query |
| /Guides/Robots_TXT/ | /guides/robots-txt | Hyphens 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
- Use words that describe the content, separated by hyphens.
- Write every URL in one letter case, usually lowercase, and confirm how your server handles case.
- Remove parameters that only change the view, and keep the rest to a minimum.
- Give each section one pattern, and write it down for the team.
- 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
- URL structure best practices for Google Search, Google Search Central. Accessed 24 November 2026
- Redirects and Google Search, Google Search Central. Accessed 24 November 2026
Further reading
-
Choosing between 301, 302, 307 and 308 redirects
Use a permanent code when an old address should be retired, and a temporary one only when the original address is meant to return.
-
Canonical URLs when one page has many addresses
A canonical URL is the address you want search engines to treat as the main version, and you signal it with redirects, rel=canonical and your sitemap.
-
Moving a site without losing search traffic
Map every important old URL to its new equivalent, redirect it permanently, then update links and sitemaps and watch the results for weeks.
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