A page’s address is easy to treat as a technical detail, set once by the content system and never looked at again. But addresses appear in search results, in shared links and in the browser bar, and they are expensive to change once a site is live, because every change needs a redirect. A little thought before pages are published saves a lot of repair later.
This post sets out the practices Google recommends for URLs, how to apply them to a small site, and the patterns that cause problems.
Use readable words
Google’s guidance on URL structure recommends readable words rather than long ID numbers wherever possible. An address such as /services/boiler-repair/ tells a reader, and a search engine, what the page is about before it loads. An address such as /index.php?id=4721 tells them nothing.
Readable addresses also help people trust a link they see in an email or a message, and they are easier to read aloud, type and remember.
Separate words with hyphens
Google recommends hyphens rather than underscores to separate words in addresses. Its reasoning is that underscores are often used to join words into a single concept, as in programming names, so boiler_repair can read as one term. Use boiler-repair.
The URL slug generator turns page titles into addresses that follow these rules: lowercase, accents folded to plain letters, hyphens between words, and cut at a word boundary under a length you choose.
Keep everything lowercase
Google treats the path of an address as case sensitive, so /Services/ and /services/ are different addresses as far as it is concerned. Its guidance says that if your server treats upper and lower case the same, you should convert all text to the same case. Lowercase everywhere is the simplest rule, and it avoids duplicates when someone types or links to an address with different capitals.
Keep folders shallow and meaningful
Folders in an address should reflect how the site is organised, and stop there:
| Too deep or vague | Clear |
|---|---|
| /en/site/pages/services/heating/boilers/repair/ | /services/boiler-repair/ |
| /p/2026/11/14/post-123/ | /blog/how-to-bleed-a-radiator/ |
| /category/products/all/tables/oak/ | /dining-tables/oak/ |
Two or three levels are enough for most small sites. Every extra folder makes addresses longer and ties the address to a structure that may change.
Leave dates and changing words out
A year or a date in an address dates the page. If the article will be updated next year, an address containing 2026 will look stale, and changing it means a redirect. Keep the year in the title, which can change freely. The same goes for words like “new” or “latest”, which stop being true.
Use parameters sparingly
Parameters, the part after a question mark, are useful for genuinely variable views such as search results. Google’s guidance recommends trimming unnecessary parameters wherever possible. Parameters that only reorder or filter a list can multiply into thousands of near-identical addresses, and session IDs in addresses create a new address for every visitor; Google suggests avoiding session IDs in URLs and using cookies instead.
Where parameters are needed, keep them consistent: the same names, in the same order, on every link.
Do not use fragments for content
The part of an address after a # is called a fragment. Google’s guidance says not to use fragments to change the content of a page. If a page shows different content with JavaScript, it should use real addresses through the browser’s History API, so each view has an address search engines can crawl.
Encode special characters
Some characters have special meanings in addresses and must be percent-encoded, and Google’s guidance says characters outside the basic set should be encoded too. In practice, the easiest way to avoid problems is to keep addresses to lowercase letters, digits and hyphens. Accents, spaces and symbols in a page title should not carry through into its address.
Pick a trailing slash convention and stick to it
/services/boiler-repair and /services/boiler-repair/ are different addresses. Neither form is better, but a site should use one consistently and redirect the other to it. Mixed use creates duplicate addresses and splits links between them.
One address per page
Every page should be reachable at one preferred address. Common sources of duplicates:
- with and without www;
- http and https;
- with and without a trailing slash;
- upper and lower case;
- the same page reached through two different folders.
Choose one version of each, redirect the others to it permanently, and point canonical tags and sitemap entries at the chosen version.
Changing addresses later
Sometimes an address has to change: a rebrand, a restructure, a slug that was badly chosen. When it does, the old address must redirect permanently to the new one, or every link and search result pointing at it breaks. The 301 redirect generator writes the rules for common servers, and the full process, including updating internal links and the sitemap, is in how to change a URL without losing SEO.
After any change, the sitemap should list only the new addresses; the XML sitemap generator builds one from a list.
A structure for a typical small business site
| Page | Address |
|---|---|
| Home | / |
| Services overview | /services/ |
| A service | /services/boiler-repair/ |
| An area served | /areas/leeds/ |
| About | /about/ |
| Contact | /contact/ |
| Blog | /blog/ |
| A post | /blog/how-to-bleed-a-radiator/ |
Short, readable and predictable: a visitor could guess most of these addresses without looking.
Addresses for categories and filters
Shops and directories face a particular choice: whether a filtered view, such as red shoes or plumbers in one town, gets its own address. If people search for that combination, a clean, permanent address with its own heading and description can rank for it. If they do not, the view is better left as a parameter that search engines are kept away from. Decide deliberately, because each permanent address is a page you have to keep worthwhile.
Language and region in addresses
A site with versions in several languages needs a way to tell them apart in the address. The common patterns are a folder, such as /fr/, a subdomain, such as fr.example.com, or a separate domain for each country. Folders are the simplest for a small site: one domain, one set of settings, and addresses that make the language obvious. Whichever you choose, use it consistently, and connect the versions with hreflang annotations.
Addresses that last
The best address is one you never have to change. A few questions before publishing help:
- Will this page still be about the same thing in three years?
- Does the folder it sits in reflect something stable, such as a service, rather than something that changes, such as a campaign?
- Would the address still make sense if the page title were rewritten?
If the answer to any of them is no, a shorter, more general address is usually safer.
What a content system does by default
Many content systems create addresses automatically, and their defaults are not always good: addresses with dates, with numeric IDs, with every word of a long title, or with a category folder that changes when the post is recategorised. Check the permalink or address settings once, before the site has many pages, and choose a pattern that produces short, readable, stable addresses. Changing the pattern later changes every address at once, which is a site move.
Short is better, within reason
There is no fixed limit on how long an address can be, but shorter addresses are easier to read, share and type, and they are less likely to be cut off where they are displayed. Removing filler words such as “a”, “the” and “and” usually shortens an address without losing meaning. Stop short of making it cryptic: /boiler-repair-leeds/ is better than /br-lds/.
Audit an existing site
For a site that already has pages, list every address, from the sitemap or a crawler, and sort them. Patterns jump out quickly: a folder used inconsistently, addresses with capital letters, duplicates with and without a trailing slash, leftover test pages, parameters in internal links. Fix what causes duplicates first, with redirects and canonical tags, because those split signals between addresses. Leave addresses that are merely untidy alone unless the page is being reworked anyway; every change needs a redirect, and a redirect is not free.
A checklist before publishing a page
- The address uses readable words that describe the page.
- Words are separated by hyphens, and everything is lowercase.
- No dates or words that will stop being true.
- No unnecessary parameters or session IDs.
- It follows the site’s trailing slash convention.
- It is the only address the page can be reached at.
Sources, read November 14, 2026:
- Google Search Central, URL structure best practices for Google Search: readable words rather than ID numbers, hyphens rather than underscores, trimming parameters, percent encoding, not using fragments to change content, case-sensitive paths, and avoiding session IDs in URLs.