Glossary · On-page and content
URL Structure for SEO: Clean, Readable and Stable Addresses
A URL is the address of a page. Google's advice is simple: use readable words, keep it tidy and do not change it without a reason.
URL structure is the way a page's web address is built, including its domain, folders, words and parameters. Google recommends simple, readable URLs with hyphens between words and minimal parameters. Keywords in a URL have hardly any effect on ranking, but a clean structure helps users and crawlers.
Key Takeaways
- Google recommends readable words, hyphens instead of underscores and as few parameters as possible.
- Paths are case-sensitive. Pick lowercase and stay consistent.
- Google says keywords in the URL path have hardly any effect on ranking beyond breadcrumbs.
- Changing a live URL needs a 301 redirect. Only do it when the gain is clear.
Somebody sends you a link that looks like site.com/index.php?id=3827&cat=12&sessionid=a8f3b. You do not click it, and you are not alone.
URLs are shown in results, pasted into messages and read by crawlers. A tidy one is a small courtesy that pays back quietly.
What a URL is made of
A URL has a protocol, a domain, a path and sometimes parameters or a fragment. In https://example.com/blog/link-building?page=2, https is the protocol, example.com is the domain, /blog/link-building is the path and page=2 is a parameter. The RFC that defines URIs treats each of these parts differently, which is why small details matter.
Paths are case-sensitive. /Blog/Post and /blog/post are two different addresses to a server and to Google, so mixed case can create accidental duplicates. Choose lowercase, enforce it with a redirect and move on.
What Google recommends
Google's URL structure guide asks for readable words over long IDs, hyphens rather than underscores to separate words, as few parameters as possible and no session IDs in the URL. It adds that URLs should be consistent, so the same page is not reachable through many addresses. Google's SEO starter guide says descriptive URLs with words useful to users, such as /pets/cats.html, beat random identifiers, and that keywords in the path have hardly any effect on ranking beyond breadcrumbs.
Parts of the URL appear as breadcrumbs in search results, and for sites with more than a few thousand URLs, grouping similar topics in directories helps Google learn how often each section changes. So a good structure helps in small ways, none of which require stuffing words into addresses.
Are messy URLs creating duplicates on your site?
Send your domain. We crawl for duplicate addresses, parameters and inconsistent forms.
Good and bad, side by side
| Bad | Better | Why |
|---|---|---|
| /p?id=3827&c=12 | /services/seo-audit | Readable and stable |
| /Services/SEO_Audit | /services/seo-audit | Lowercase and hyphens |
| /blog/2026/10/23/how-to-do-keyword-research-for-beginners-in-2026-complete-guide | /blog/keyword-research | Short and timeless |
| /page?sessionid=a8f3b | /page | No session IDs in URLs |
| /category/shoes/running/mens/trail/waterproof/black | /shoes/trail-running | Shallow where possible |
Examples written for illustration.
Keep dates out of URLs for evergreen content, since a post updated in 2028 with 2026 in its address looks stale. Our evergreen content entry explains why timeless addresses age better.
Parameters, filters and tracking
Parameters are the part after the question mark. They are useful for sorting, filtering and tracking, and dangerous when they multiply. A category with ten sort options and five filters can generate thousands of URLs that show nearly the same list. Crawlers waste time on them and duplicate pages compete with the real one.
Google's guidance for such pages is to keep parameter URLs from being crawled or indexed where they add no value, using noindex or robots.txt rules, and to rely on canonical tags where duplicates exist. Marketing parameters such as utm tags should not appear in internal links, since each tagged link creates another address. Our pagination SEO entry covers the paging side.
Changing URLs safely
- Ask whether you need to. If the URL works and is readable, leave it. Every change risks lost value.
- Map old to new. List every old URL and its replacement.
- Redirect with 301. Google treats it as a strong signal that the new URL is canonical. See HTTP status codes.
- Update internal links, canonicals and the sitemap. Point them to the new URL so crawlers skip the redirect.
- Monitor. Watch 404s and indexing in Search Console for several weeks.
Keep the redirects live for at least a year. The link equity entry explains what you protect by doing so.
How URLs show up beyond the address bar
A URL appears in more places than people expect. Search results show it, often as a breadcrumb trail. Social platforms show it in link previews. Email clients, chat apps and printed material show it in full. Analytics tools list it in every report, and a messy structure turns those reports into a puzzle of near-identical rows.
Think of the URL as a label you will read hundreds of times. If a colleague cannot guess what lives at an address by reading it, the address is too cryptic. That simple test catches most problems, long before a crawler does.
Canonical tags and the duplicates they clean up
Even a tidy site ends up with several addresses for one page: with and without www, http and https, trailing slashes, tracking parameters. The canonical tag tells search engines which version you prefer. The HTTP Archive's Web Almanac 2024 found canonical tags on about 65% of pages, which shows how common the fix is and how many sites still skip it.
Set a self-referencing canonical on each page, redirect the non-preferred hostname and protocol with 301 redirects and keep tracking parameters out of internal links. Then check Search Console's Page Indexing report for pages Google chose a different canonical for. When Google disagrees with you, the cause is nearly always inconsistent internal links or a redirect that points somewhere else.
A naming convention your team can follow
Write a one-page convention and keep it where editors work. Lowercase only. Hyphens between words. No dates in evergreen content. No stop words unless the meaning needs them. Two or three words for most pages, and a folder that matches the site section. Add an example for each content type: service, guide, glossary entry, case study.
A convention removes debates and prevents the slow drift that creates messy addresses. New hires follow it from day one, and your next crawl shows far fewer surprises. Review it once a year, and change it only when you can afford a proper redirect plan.
Folders, depth and structure
A path that mirrors your site structure helps people understand where they are. Group related pages under a common folder, such as /services/ or /guides/, and keep the depth to what the content needs. A page buried five folders deep is harder to link to, remember and share.
Do not rename folders casually. If your structure changes, redirect everything and update links. Our site architecture entry explains how folders, navigation and internal links fit together.
Mistakes to avoid
Stuffing keywords into the path. Using underscores. Letting a CMS generate long, date-heavy URLs for every post. Changing URLs during a redesign without a redirect map. Serving the same page on http and https, with and without www, with and without a trailing slash. Letting parameters multiply unchecked.
Pick one canonical form for the whole site, and enforce it with redirects. Check it quarterly with a crawl. For a full review of addresses and the rest of your technical setup, see our technical SEO checklist or our SEO service.
FAQ
URL Structure: questions people ask
What is a good URL structure for SEO?
Short, readable words, hyphens between them, lowercase letters and as few parameters as possible.
Do keywords in URLs help rankings?
Google says keywords in the URL have hardly any effect on ranking beyond breadcrumbs. Readability matters more.
Should I use hyphens or underscores?
Google recommends hyphens to separate words.
Should I change my URLs?
Only with a clear reason. If you do, use 301 redirects and update internal links, canonicals and your sitemap.
Are URLs case-sensitive?
Paths are. Pick lowercase and redirect other versions to avoid duplicates.
Planning a URL change? Do it without losing traffic.
We build the redirect map and check it after launch.
How we wrote this page
Chenthil Kumar wrote this entry from the sources listed below and from audit work on client sites, and the Digimarketlabs Editorial Team checked it against our editorial guidelines. Figures carry a source and a date, and where a study shows correlation only, we say so. Search features change often, so check the linked documentation before you act on a detail. Last updated October 23, 2026.
Sources & further reading
Keep reading