This article is part of our Complete SEO Guide, which shows how on-page and off-page SEO fit together and links to every topic in the series.
Key takeaways
- Hyphens, not underscores. Google's URL guidance, updated on 23 October 2026, says hyphens clearly mark word boundaries, while underscores are used in programming to join concepts (like
format_date). - URLs are case-sensitive to Google.
/APPLEand/appleare different URLs; if your server treats them the same, pick one case. - Fragments don't make pages. Google generally ignores
#fragments for changing content; use the History API instead. - Keep parameters few. Remove ones that don't change content, such as session IDs and sort orders, from crawlable links.
- Interest grew fast. Google Trends interest in "url structure" averaged 39.1 over the last 12 months, up from 8.2 the year before.
What is URL structure?
URL structure is how the addresses of a website's pages are organised: the domain, the folders (such as /services/), the slug (the readable last part, such as /seo-audit/) and any parameters (such as ?page=2). A good URL structure is readable, consistent, crawlable and stable. It helps people understand where they are, helps Google discover and group pages, and makes links and shares look trustworthy.
URLs aren't a big ranking factor on their own. Google has said for years that keywords in URLs carry only a small weight. But bad URLs cause real problems: duplicate pages, crawl waste, broken links after changes and results that look like spam.
URL choices connect to most other technical topics. Our canonical tags guide covers duplicates, our hreflang guide covers country and language folders, and our JavaScript SEO guide covers routing in web apps.
What the 2026 data shows
Google's October update was a clarification, but it's part of a wider push to explain crawlability in plain terms.
URL structure in four numbers
The heart of the October change is an explanation rather than a new rule. Google has long recommended hyphens over underscores; now it says why. In code, an underscore joins words into one concept (format_date), so a URL like /red_running_shoes may read as a single token, while /red-running-shoes clearly reads as three words.
The rest of Google's guidance is worth restating:
- Parameters: use
=for key-value pairs and&to add more; use a comma for several values under one key. Keep parameters to a minimum. - Non-ASCII words: use your audience's language in URLs (Hindi, Tamil, Arabic), but percent-encode those characters in
hrefattributes. - Reserved characters must be percent-encoded.
- Problem parameters that create endless URL variations can be blocked with robots.txt.
Search interest: Google Trends, 2025 to October 2026
We compared "url structure" and "url slug" in Google Trends (worldwide, web search, data to 18 October 2026). We also checked "seo friendly url", but it was too rarely searched to chart.
- A big year-on-year rise. The 12-month average for "url structure" was nearly five times the year before.
- Peaks around site rebuild season. Interest was highest in late spring and early summer 2026, when many businesses plan redesigns.
- The late-September drop. Almost every marketing term we follow fell in the same week at the end of September 2026, so I'd read the October lows as a Trends data change.
Good URLs and bad URLs
A quick comparison makes the principles concrete.
| Problem | Bad example | Better |
|---|---|---|
| Underscores | /red_running_shoes | /red-running-shoes |
| IDs instead of words | /product.php?id=4471 | /shoes/trail-runner-x/ |
| Mixed case | /Services/SEO-Audit | /services/seo-audit/ |
| Hash routing | /#/pricing | /pricing/ |
| Session and sort parameters | /shoes?sessionid=a9f&sort=price | /shoes/ (sort handled without new crawlable URLs) |
| Dates in evergreen URLs | /2023/05/seo-tips | /blog/seo-tips/ |
How Google reads a URL
Google uses URLs to discover pages, group duplicates and understand site sections.
How to build SEO-friendly URLs: 9 steps
These apply to new sites and to new pages on existing sites.
-
Use readable words in slugs
Describe the page in a few words:
/seo-audit/, not/page?id=12. Drop filler words like "and", "the" and "of" if the slug stays clear. -
Separate words with hyphens
Follow Google's October 2026 guidance: hyphens, not underscores or spaces.
-
Use lowercase only
Pick lowercase and redirect any uppercase variants to it. Google treats different cases as different URLs.
-
Keep folders shallow and logical
/services/seo-audit/is clear./en/main/services/category/seo/seo-audit-page/isn't. Use folders that reflect how people browse. -
Avoid unnecessary parameters
Session IDs, tracking codes and sort orders shouldn't appear in internal links. Use clean URLs in navigation and canonicals for variants.
-
Don't use fragments for content
Single-page apps should use the History API so each view has a real path. Fragments are fine for jumping within a page.
-
Pick a trailing slash convention
Either
/pricing/or/pricing, consistently, with the other redirecting. -
Use local language where it helps
For non-English audiences, readable local-language slugs are fine; percent-encode them in links.
-
Make URLs permanent
Choose slugs you won't need to change, and avoid dates or prices in evergreen URLs.
URL checklist
Check new pages and templates against this.
URL design check
- Readable words describe the page
- Hyphens separate words
- Lowercase only
- Shallow, logical folders
- No session or tracking parameters in links
- No hash routing for separate pages
- Consistent trailing slash
- Reserved and non-ASCII characters encoded
- No dates in evergreen slugs
- Old URLs redirected if anything changes
Examples by site type
A clear pattern for each kind of site.
Service businesses
/services/seo-audit/, /locations/pune/, /blog/what-is-an-seo-audit/. Short, logical, easy to say on the phone.
Online stores
/shoes/trail-running/ for categories and /products/trail-runner-x/ for products. Keep products out of category folders if they belong to several categories, to avoid duplicate URLs.
Publishers
/news/ and /guides/ sections with descriptive slugs. Dates in URLs suit news but age badly on evergreen guides.
Multi-country sites
Country or language folders such as /in/ and /uk/ keep everything on one domain and pair well with hreflang.
Should you change existing URLs?
Usually not just for neatness. Changing URLs means redirects, a temporary wobble in rankings and the risk of broken links. It's worth it when URLs cause real problems: duplicate content, crawl waste from parameters, hash routing that hides pages, or a site migration that's happening anyway. If you do change them, map every old URL to its new one, use permanent 301 redirects, update internal links and sitemaps to the new URLs directly, and keep the redirects in place for at least a year. Then watch Search Console's indexing and performance reports for the affected pages.
Handling parameters without creating chaos
Parameters are where most URL problems begin, because they multiply quietly. A category page with five filters, three sort orders and pagination can produce thousands of combinations, most of which nobody searches for. Google's guidance is to keep parameters to a minimum and remove any that don't change the content, such as referral tags, session IDs and sort orders.
In practice, sort the parameters on your site into three groups. Content parameters change what the page shows in a way people search for, such as a colour filter that matches "black leather sofas". These can earn their own clean, indexable URLs. Presentation parameters change order or layout but not the content, such as sort by price or grid view. These shouldn't appear in crawlable links; a canonical back to the main URL handles any that leak. Tracking parameters such as UTM codes and session IDs should never appear in internal links at all. Keep UTM tags for links from emails, ads and social posts, where they belong.
Write the rules down for your developers and content team. A one-page URL style guide (lowercase, hyphens, trailing slash choice, allowed folders, how filters work) prevents most problems before they reach the live site.
URLs during a redesign or platform move
Redesigns are when URL structures get changed, often without anyone deciding to change them. A new platform may use different folder names (/products/ instead of /shop/) or add IDs to product URLs by default. Before launch, export every URL that gets traffic or links from Search Console and your analytics, and map each one to its new address. Test the redirects on the staging site, check there are no chains (old URL to interim URL to new URL), and update the XML sitemap so it lists only the new URLs. After launch, compare the Page Indexing report and top landing pages weekly for the first two months. A redesign that keeps the same URLs, where possible, is the safest redesign of all.
How long should a URL be?
There's no limit that matters for most sites, and Google doesn't reward short URLs for being short. But shorter, readable URLs are easier to share, remember and read in a search result. Three to five words in a slug is usually plenty. Drop words that add nothing, like "and", "the" or the year, and avoid repeating the folder name in the slug (/shoes/shoes-trail-running/).
A 90-day URL plan
Fix the patterns that create duplicates first, then tidy the rest.
From messy URLs to a clean structure in three phases
Audit
- Crawl for parameters, case and underscores
- Find duplicate URL patterns
- Decide conventions
Fix
- Clean internal links
- Add redirects and canonicals
- Set rules for new pages
Monitor
- Watch indexing reports
- Check redirects for chains
- Document the URL style guide
URL mistakes
These create problems that last for years.
- Changing URLs without redirects. Every link and ranking the old URL had is lost.
- Keyword-stuffed slugs.
/best-seo-services-seo-company-seo-agency/looks like spam. - Several URLs for one page. Case variations, trailing slashes and parameters create duplicates.
- Hash-based routing. Content behind
#/paths may never be indexed as separate pages. - Dates in evergreen URLs. A 2023 date makes a 2026 update look stale.
Frequently asked questions
Should I use hyphens or underscores in URLs?
Hyphens. Google's guidance, updated on 23 October 2026, explains that hyphens clearly separate words, while underscores are used in programming to join concepts into one term.
Are URLs case-sensitive for Google?
Yes. Google treats /APPLE and /apple as different URLs. If your server returns the same page for both, standardise on one case, usually lowercase, and redirect the other.
Do keywords in URLs help rankings?
Only slightly. Readable URLs with relevant words help people understand the page and may help Google a little, but they're a minor signal compared with content and links.
Should I change old URLs to make them SEO-friendly?
Only if they cause real problems such as duplicates or crawl issues, or if you're migrating anyway. If you change them, use 301 redirects and update internal links.
Can I use non-English words in URLs?
Yes. Google recommends using your audience's language. Non-ASCII characters should be percent-encoded in href attributes.
The bottom line
Good URLs are boring on purpose: lowercase, hyphenated, readable, shallow and stable. Google's October 2026 update just explained what it has recommended for years. Set your conventions before you build, keep parameters out of your links, and when you must change URLs, redirect every one of them. Our website development team can plan URL structures for new sites and clean up existing ones. Book a free consultation before your next redesign.
Sources
- Google Trends, worldwide web search for "url structure", "url slug" and "seo friendly url", data to 18 October 2026.
- Google Search Central, "URL structure best practices for Google Search" (updated 23 October 2026). developers.google.com
- Google Search Central, "Latest documentation updates" (23 October 2026). developers.google.com
- Search Engine Roundtable, "Reminder: Google on case sensitivity for URLs". seroundtable.com
- Google Search Central, "Redirects and Google Search". developers.google.com
This article is for general information only and is not professional advice. Tools, prices and platform rules change often, so please check official sources before acting on it. See our Terms & Conditions.
Planning a new site or a URL clean-up?
Talk to our experts. Your first consultation is free.
