SEO & AEO
URL Structure for Business Websites: Clean URLs and Parameters
How to build URLs Google can crawl cleanly: readable words, hyphens, parameters, case, fragments and duplicate URL traps, with a planning checklist.
A URL is the only part of a page that is also an address, an identifier and a label in search results. Most URL problems are not dramatic; they are accumulations: a parameter added by a filter, a case difference, an ID where a word would do. Each is cheap to prevent at design time and expensive to fix later.
The short answer: use short, readable, lowercase words separated by hyphens; keep one URL per page; avoid IDs, session identifiers and pointless parameters; never use fragments to change content; and plan redirects for any URL you change. Decide the rules before the build, not after the crawl.
A disclosure: Biply designs, builds and migrates websites and offers SEO. The points below come from Google’s URL structure documentation; the planning checklist is our own practice.
What Google documents
- Use readable words rather than long ID numbers.
- Use hyphens, not underscores, to separate words.
- Shorten URLs by trimming parameters that do not change the content, and avoid session IDs.
- Percent-encode characters in the non-ASCII range.
- Google treats uppercase and lowercase paths as different URLs.
- Common causes of duplicate URLs include additive filtering, irrelevant parameters such as referral, sort and session IDs, infinite calendars and broken relative links, which can create infinite spaces; the page suggests crawl management for faceted navigation.
- Do not use fragments to change what a page shows; Google generally does not support them.
- A recommended style for parameters:
category=dresses&sort=low-to-high&sid=789, using standard key-value pairs.
A planning checklist
| Decision | A safe default | Why |
|---|---|---|
| Words | Short, lowercase, hyphen-separated | Readable and consistent |
| Folder depth | Shallow, only where it helps people | Easier to maintain and link |
| IDs | Avoid in public URLs | Google recommends words |
| Parameters | Only where content changes | Fewer duplicates |
| Case | Lowercase only, with a redirect for variants | Case creates distinct URLs |
| Trailing slash | Choose one form and redirect the other | Avoids duplicates |
| Fragments | For in-page jumps only | Not for content |
| Changes | Avoid unless necessary | Each change needs a redirect |
Where problems come from
Filters and sorting. A listing page with filters can generate endless combinations. Decide which are meant to be found and which are conveniences. See canonical tags.
Tracking parameters. Campaign tags create URLs for the same content; make sure canonicals point to the clean URL.
Platform defaults. Some systems add dates, IDs or category folders. Set the pattern before importing content; see moving between platforms.
Single-page apps. If content changes under fragments, search engines may not see it; see JavaScript SEO basics.
Why stability beats cleverness
The W3C’s classic note “Cool URIs don’t change” argues that a good URI is one that does not change, that people, not HTTP, cause URIs to change, and that designing mostly means leaving information out. It suggests leaving out author names, topics that may change, status words such as “old” or “draft”, file extensions and software mechanisms, and says a webmaster should allocate URIs they can stand by in years. The note is from 1998 and aimed at the web in general, but the logic holds for business sites: a URL that includes /new/ or .php is a future redirect. Pick patterns that will survive a redesign.
Examples: weak and strong
| Weak | Why | Stronger |
|---|---|---|
/Services/Page?id=42 |
Mixed case, ID, parameter | /services/warehouse-safety-audits |
/blog/2026/11/24/post_final_v2 |
Date folders, underscores, status word | /blog/how-to-choose-a-safety-auditor |
/products?sort=price&sid=789 |
Session ID creates endless variants | /products with sorting that does not change the URL |
/about#team-history used to load content |
Fragments do not change content for Google | /about/history as a real page |
/news/OLD-draft-copy.html |
Status and extension in the path | /news/product-launch-announcement |
The strong versions are short enough to read aloud, which is a decent final test: if you cannot say a URL to a colleague on the phone, simplify it.
Questions for your developer
- Which URL patterns does the platform generate by default, and can we change them before launch?
- How are tracking parameters handled in canonicals and internal links?
- Which filter or sort combinations create new URLs?
- What happens when a URL is requested in the wrong case or with a trailing slash?
- Can we export a full URL list from the live site and the new build to compare?
If you must change URLs
- List every URL with traffic or links; see content audit and pruning.
- Map each old URL to its closest new one; see how to build a redirect map.
- Test the redirects before launch.
- Update internal links and the sitemap; see sitemaps and robots.txt.
- Monitor Search Console for errors.
A hypothetical clean-up
A consultancy’s services live at /Services/Page?id=42&utm_source=news. The redesign gives each service a short lowercase URL such as /services/warehouse-safety-audits, makes the old paths redirect to it and strips tracking parameters from canonical URLs. The change is only worth it because the old pattern produced duplicates and could not be read by a person; if it had been tidy, leaving it alone would have been better.
Next steps
If you are planning a redesign or migration and want the URL plan checked, see our SEO + AEO service and contact us.
Sources
- Google Search Central, URL structure best practices for Google Search
- W3C, Cool URIs don’t change
FAQ
Frequently asked questions
What makes a good URL for SEO?
Google recommends readable words rather than long ID numbers, hyphens instead of underscores to separate words, and shortening URLs by trimming parameters that do not change the content.
Does case matter in URLs?
Google says it treats /APPLE and /apple as distinct URLs, so pick one form and use it consistently, with redirects if both exist.
Should I use session IDs in URLs?
Google advises avoiding session IDs in URLs and considering cookies instead, because they create many URLs for the same content.
Can I use # fragments to load different content?
Google says not to use URL fragments to change the content of a page, because Google Search generally does not support fragments.
Should I change URLs on a redesign?
Only with a reason. Every changed URL needs a redirect and a test; see our redirect map guide. Where the old structure was fine, keeping it is the lowest-risk choice.
Keep reading
- SEO & AEOXML Sitemaps and robots.txt: A Checklist That Prevents Costly MistakesWhat sitemaps and robots.txt are for, what Google says about each, the mistakes that hide whole sites from search, and a checklist for before and after launch.
- SEO & AEOCanonical Tags and Duplicate Content: A Guide for Site OwnersWhat canonical tags do, when duplicate URLs happen, which signals Google treats as strong or weak, and what Google says about duplicate content and penalties.
- SEO & AEO'Crawled - Currently Not Indexed': What It Means and What to DoWhat Search Console's 'Crawled - currently not indexed' and related statuses mean, when they are normal, and how to diagnose important pages that stay out.
