SEO

SEO-Friendly URLs: What Google Actually Recommends

By · · 3 min read

Short answerGoogle recommends crawlable URLs that use readable words instead of long ID numbers, hyphens between words, and few unnecessary parameters. Its starter guide says keywords in a URL have "hardly any effect" on rankings, so URL structure matters mainly for crawling efficiency and for helping people understand a result.

Key takeaways

  • Use readable words and hyphens, not long ID numbers or underscores.
  • Google says keywords in URLs have hardly any effect on rankings.
  • URLs are case sensitive, so pick one case and stick with it.
  • Filter and sort parameters can create near-infinite URL spaces that waste crawl time.
  • Do not use # fragments to change what a page shows.

What does Google say makes a good URL?

Google's URL structure documentation asks for a "crawlable URL structure": addresses that follow the internet's URL standard and use descriptive words rather than long ID numbers. Its example is a simple, readable address of the kind a Wikipedia article uses. Separately, Google's SEO starter guide says descriptive URLs can help because parts of a URL may appear as breadcrumbs in search results, helping people judge whether a result is useful.

Do keywords in the URL help you rank?

Mostly no. The SEO starter guide says keywords in the domain name or URL path have "hardly any effect" on rankings beyond showing up in breadcrumbs. The practical reading is that a clear URL is a usability and housekeeping choice, not a ranking lever. Stuffing extra words into a URL is unlikely to help, and the guide also says you do not need to reorganize your site right now, since search engines will likely understand your pages as they are. Rewriting working URLs carries its own risk, because every change requires redirects and can disrupt pages that already perform. Google does not quantify that risk, so treat it as a cost to weigh rather than a measured number.

Hyphens, underscores, and other formatting rules

Google's URL structure page gives several concrete formatting rules:

Why do filter and sort URLs cause problems?

Duplicate and near-duplicate URLs are where URL structure turns into a crawling issue. Google's documentation lists combinable filters, referral or sorting parameters, and infinite calendars as common causes. Its faceted navigation guidance explains the mechanism: filter links implemented as URL parameters can generate infinite URL spaces, and crawlers cannot tell whether a new filtered URL is useful until they fetch it. That overcrawling leaves less time for discovering new, useful pages.

For a local service business or a small online shop, this usually shows up as a site search, a sort order, or a tracking parameter producing hundreds of URLs that show the same content. Google does not say a small site will be harmed by a few of these, so the concern grows with the number of URL variations.

How should you handle URLs you do not want crawled?

If the filtered URLs do not need to appear in Search, Google's faceted navigation page lists these options:

  1. Block the filter parameters with robots.txt.
  2. Put filters after a # fragment, which Google generally does not support for crawling or indexing.
  3. Use rel="canonical" to point filtered URLs at a main version, which Google says may reduce crawling over time but is less effective in the long term.
  4. Use rel="nofollow" on links to those pages, with the caveat that every link to the URL must carry it.

Note the flip side: Google's URL structure page says not to use fragments to change the content of a page that you want indexed. For JavaScript-driven changes it points to the History API instead. Fragments are fine for presentation-only filters, but not for content you want found.

If you do want filtered pages indexed, Google recommends using the ampersand as the separator, keeping path-based filter order consistent, and returning a 404 status for combinations that have no results rather than redirecting to a generic error page.

A short checklist

Based on the guidance above: use readable, hyphenated words; choose one letter case; keep parameters to those that change content; avoid session IDs; and decide deliberately which filtered URLs should be crawlable. Leave stable, working URLs alone unless there is a clear reason to change them. Google's pages do not give numeric thresholds, so judge by whether your site is generating many duplicate URLs, which Search Console's crawl and indexing reports can help you check.

Frequently asked questions

Should I put my target keyword in the URL?

It can make the URL more descriptive, but Google's SEO starter guide says keywords in the URL path have hardly any effect on rankings beyond appearing in breadcrumbs. Write for clarity, not for ranking.

Hyphens or underscores in URLs?

Google recommends hyphens to separate words and discourages underscores, which programming languages commonly use to join names.

Are uppercase and lowercase URLs the same to Google?

No. Google treats URLs as case sensitive, so /APPLE and /apple are different addresses. If your server treats them as the same, standardize on one case.

Should I change my existing URLs to be cleaner?

Google's starter guide says you do not need to reorganize your site right now. Changing working URLs requires redirects and carries risk, so do it only for a clear reason.

Sources

  1. URL structure best practices for Google — Google Search Central
  2. SEO Starter Guide — Google Search Central
  3. Managing crawling of faceted navigation URLs — Google Search Central
KC
Kathy P. Carr

CEO of AIrecommend.ai and Skyview Business Consulting. Writes on answer engine optimization, franchising and building AI-first companies.

Connect on LinkedIn

Keep reading

Want to be the answer AI recommends?
See how AIrecommend.ai helps businesses get found and recommended by AI assistants.