Skip to content
Enjoy 20% off for 12 months on all plans. Use promo code: HYPERGROWTHClaim it

SEO-Friendly URLs: Rules Google Actually Rewards

By Toy Wen Da, Co-Founder · Updated · 10 min read · scored 89/100

SEO friendly URLs are short, lowercase, hyphen-separated addresses that describe the page in the searcher's own words, for example /wiki/aviation instead of /index.php?topic=42&area=3a5ebc944f41daa6f849f730f1. Pick readable words and hyphens, keep the path shallow and the parameters few, and put a 301 redirect on any URL you change.

The details matter more than most guides admit. Google treats /APPLE and /apple as two different pages, it reads hyphens and the _ character differently, and one unchecked filter system can spawn thousands of duplicate URLs that waste your crawl budget. This guide covers the ground rules, the right structure for each site type, the crawl traps, and how to fix URLs you already have.

What makes a URL SEO friendly

A URL example with color-coded sections showing the domain, path, keywords, and hyphen placement clearly labeled.

A URL has several parts, and only some of them are yours to optimize day to day. The protocol (https://), subdomain (www.), domain name and top-level domain (.com, .io) are mostly fixed decisions. The part you control on every page is the path, often called the slug when it identifies a single page. In https://example.com/keyword-research/, the slug is keyword-research.

A good URL does three jobs:

  1. It tells the searcher what to expect. A clear slug like /summer-clothing/hoodies sets expectations before the click, and keywords that appear in the URL can also be bolded in search snippets, which several SEO references note can lift click-through rate.
  2. It tells Google what the page is about. URL words are a lightweight relevance signal, but a free one.
  3. It keeps crawling efficient. Google states plainly that URLs failing its structure requirements may be crawled inefficiently, or not at all, per its URL structure documentation.

Most articles skip that third job, and it's where real traffic losses hide.

The ground rules for every site

Stacked rectangular blocks labeled with core URL principles, each paired with a small icon.

These rules apply whether you run a three-page consultancy site or a 50,000-SKU store.

Use descriptive words in your audience's language

Readable words beat ID numbers every time. https://example.com/wiki/aviation is Google's own "recommended" example, and index.php?topic=42&area=3a5ebc944f41daa6f849f730f1 is its "not recommended" one. "Readable" also means readable to your audience: a site serving German searchers should use /lebensmittel/pfefferminz rather than an English translation. If you use non-ASCII characters such as Arabic, Chinese or even emoji, percent-encode them in your links' href attributes so crawlers handle them consistently.

Separate words with hyphens

Google recommends hyphens (-) because it treats them as word separators. The _ character has historically denoted concepts that belong together, as in format_date in programming, so summer_clothing may be read as one token while summer-clothing is clearly two words. Joining words with nothing at all (greendress) is worse still, and spaces become ugly %20 encodings.

Keep it short and strip the filler

There's no official maximum length, but shorter URLs are more focused, easier to remember and less likely to be cut off in search results. Seobility's guideline of staying under 140 characters for the entire URL, with domain, path and parameters included, is a sensible ceiling, and most slugs should run 3–5 words.

Function words like a, of and the can go; as Yoast's guide puts it, in 99% of cases they add nothing of value to a URL. Verbs like are and have can usually follow, so /how-to-clean-marble-floors becomes /clean-marble-floors with no loss of meaning. Include your target keyword once, naturally. Stacking variations of it reads as manipulation to users and Google alike.

Standardize on lowercase

Following IETF STD 66, Google Search treats URLs as case sensitive, so /APPLE and /apple are two distinct URLs with potentially distinct content. If your web server serves the same page for both, force everything to lowercase through a redirect or server config so Google doesn't index duplicates or split signals between two versions of one page.

Limit folder depth

Directories should mirror your site's logic from general to specific, like /clothing/shoes/sneakers, without going deep for its own sake. Seobility advises no more than 5 directory levels and notes the trend is toward just 1–2, since pages buried many folders down can be treated as less important than pages near the root. Make sure every directory resolves on its own too: if /shoes/sneakers/ exists, /shoes/ should load a real page rather than a 404.

SEO-friendly URL structure by site type

The ground rules are universal, but the right structure depends on what kind of site you run.

Site type Recommended pattern Example Why it works
Company / brochure site Shortest possible flat path example.com/about-us/ Few pages, no categories needed; short URLs are clean and memorable
Online store Category then product, if categories add context example.com/sweaters/hoodies The category tells shoppers and Google what else the site sells and how pages relate
Blog with one central theme Post title only example.com/post-title/ Site-wide topical coherence already signals the theme; a category adds nothing
Multi-topic news site Category then post title example.com/tech/post-title/ The category gives context on a site covering many subjects
Dated news content Date then title (optional) example.com/09/20/2026/post-title/ Helps readers judge freshness, though Google often shows breadcrumbs or its own dates instead
Multi-regional site Country domain or subdirectory example.de or example.com/de/ Makes geotargeting straightforward for each market

Two of these deserve a closer look.

Online stores: the category question

Some platforms, Magento being the classic example, automatically generate both /product-name/ and /category-name/product-name/ for every product. If yours does, pick one as the primary and point rel=canonical at it so Google shows the version you want. Whether to include the category at all comes down to whether it adds context a shopper cares about: /sweaters/hoodies tells a visitor there are more sweaters where that came from, while a meaningless internal category name tells them nothing. Decisions like these compound across thousands of SKUs, which is why they sit at the core of any serious e-commerce SEO setup for Shopify and BigCommerce stores, where each platform imposes its own URL conventions.

Local and multi-location businesses

If you serve multiple areas, your URLs should make the geography obvious. /locations/austin/ beats /loc?id=27 for users, for Google and for anyone copying the link into a text message. Consistent, descriptive location URLs are the backbone of location pages that actually rank in their own markets, and each one needs a clean, stable address that maps to one place and one intent.

Parameters, fragments and crawl traps

Here SEO-friendly URLs stop being a cosmetic topic and start protecting real traffic. Google warns that overly complex URLs, especially those with multiple parameters, can create unnecessarily high numbers of URLs pointing at identical content, which burns crawl bandwidth and can leave parts of your site unindexed.

Parameter formatting Google expects

When you do need parameters, use the standard encoding: an equals sign (=) between key and value and an ampersand (&) between parameters. So ?category=dresses&sort=low-to-high is fine, while a homemade scheme with colons and brackets like ?[category:dresses][sort:price-low-to-high] is not. Multiple values for one key can be comma-separated, as in ?color=purple,pink,salmon. Drop any parameter that doesn't change the content, such as referral tags and session IDs.

Don't use URL fragments to change content. Google generally doesn't support fragments like example.com/#/potatoes for indexing, so if JavaScript changes your content, use the History API to produce real URLs instead.

The four crawl traps that quietly multiply your URLs

Crawl trap What it looks like Why it hurts The fix
Additive filtering Beach + fitness-center + value-rate hotel filters, each combination a new URL URL count explodes; Googlebot only needs a few lists to reach every item Block filter URLs in robots.txt; manage faceted navigation deliberately
Session IDs & irrelevant parameters ?sessionid=6EE2BF1AF6A3D... on every visit Infinite duplicate URLs of the same page; expired sessions can even serve errors Use cookies for sessions; strip tracking parameters; canonicalize
Infinite calendars Dynamically generated links to every future month, forever Googlebot crawls into a bottomless pit of empty date pages Add nofollow to links pointing at dynamically created future dates
Broken relative links ../../category/stuff on the wrong page spawning /category/community/category/stuff Creates infinite bogus URL spaces if the server doesn't 404 them Use root-relative URLs in links; return correct status codes for nonexistent pages

Each row is a real pattern from Google's own documentation. Parameter bloat rarely announces itself and tends to show up only in crawl data, which is the kind of issue a technical SEO audit that puts the fixes in priority order is built to surface.

Changing URLs you already have

A mediocre URL that ranks is usually better left alone. Every URL change resets a small amount of accumulated trust, and every redirect is one more thing that can break. Change URLs when the current ones are genuinely bad, with parameter soup, the wrong language or duplicate cases, and skip the change when a slug could merely be two words shorter.

When you do change them, follow this sequence:

  1. Map every old URL to its new equivalent, one-to-one wherever possible rather than sending everything to the homepage.
  2. Set 301 (permanent) redirects from old to new, which passes the old page's equity to the new address.
  3. Update internal links to point directly at the new URLs so users and crawlers aren't bouncing through redirects.
  4. Keep the redirects live indefinitely, because external links and bookmarks pointing at old URLs never fully disappear.
  5. Watch indexing and rankings for several weeks. Some fluctuation is normal, but a sustained drop means something in the mapping is wrong.

Stores and news sites have one extra case. If your CMS creates multiple valid URLs for the same page, such as a category path plus a flat path, tag archives or print views, you don't need redirects between them. Put a single rel=canonical on each duplicate pointing to the preferred version.

Platform realities

Your CMS decides how much of this you control. WordPress lets you edit the permalink structure and every slug, whereas Shopify locks products under /products/ and collections under /collections/, so you can only optimize the slug. Wix, Squarespace and Webflow each sit somewhere in between. It pays to work the levers your platform actually gives you instead of fighting its architecture, and that's why SEO workflows are organized by the platform your site already lives on: the right URL playbook on WordPress is partly impossible on Shopify, and the reverse holds too.

Quick checklist before you publish

Run every new URL through this in ten seconds:

  • Describes the page in words a searcher would use
  • Contains the primary keyword once, naturally
  • All lowercase, hyphens between words
  • No stop words, verbs, dates (unless dates serve readers), or filler
  • No unnecessary parameters, session IDs, or fragments
  • Sits at a sensible depth (ideally 1–2 folders, never more than 5)
  • Whole URL comfortably under ~140 characters
  • Won't need to change when you update the content (avoid years in slugs for evergreen pages)

FAQs

Do SEO friendly URLs directly improve rankings?

Modestly. URL words are a lightweight relevance signal, and search engines can understand almost any URL. The bigger wins are indirect: cleaner URLs earn better click-through rates, avoid duplicate-content dilution and keep crawling efficient, and those effects do move rankings.

Should I use hyphens or the _ character in URLs?

Hyphens. Google explicitly recommends hyphens as word separators and advises against _, which for historical reasons is read as joining words together rather than separating them.

How long should an SEO-friendly URL be?

There's no official limit, but keep it as short as possible while staying descriptive. A common guideline is to keep the entire URL (domain, path and parameters) under 140 characters, with slugs of roughly 3–5 words.

Should product URLs include the category?

Include it when the category adds real context for shoppers, like /sweaters/hoodies. Skip it when it's an internal label with no meaning to visitors. If your platform generates both versions, use rel=canonical to tell Google which one to index.

Is it worth changing old URLs to make them SEO friendly?

Only if the current URLs are genuinely poor, such as dynamic parameter strings, IDs instead of words or duplicate case variants. If you do change them, set one-to-one 301 redirects, update internal links and keep the redirects live permanently. A slightly imperfect URL that already ranks is usually best left alone.

Audit your URLs this week

Pull up your ten most important pages and score each against the checklist above. Most sites find at least a couple of parameter-riddled or duplicate URLs hiding in plain sight, and since URLs are one of the few technical fixes you fully control, the payoff compounds across every page you publish. For a view of where URL structure fits in a complete site audit, look through a sample SEO report and talk to the team about what a full crawl of your site would flag first.

See what this looks like on your own siteEnter your website. You get the searches your buyers make and the page that should answer each one.

Resources / References

  1. URL structure documentation

Related reading: Mobile-Friendly SEO: What Google Checks and How to Pass.

Sources

Disclaimer: This article is general information about rules and figures that applied when it was written, not personalised financial, tax or investment advice. It does not take account of your income, obligations, risk tolerance or goals, and rates and thresholds change. Verify the current position with the relevant authority, and speak to a licensed adviser or a qualified accountant before acting.

About the author

SearchBlueprint researched, wrote and scored this article with the content pipeline our customers run on their own sites. The score in the byline is what our content engine gave this page before it published. Nothing here is reviewed by hand, which is the point: it is the product's output, published where anyone can check it.