How to Write SEO-Friendly URLs (2026)
What Google says URLs do for ranking (very little), what still makes a URL good, why the 75-character rule has no source, and how to change URLs without chains, with redirects measured on our own host.
What URLs Do for Ranking, According to Google
Less than most SEO checklists suggest. Google's SEO Starter Guide says that, from a ranking perspective, keywords in the domain name or URL path alone have hardly any effect beyond appearing in breadcrumbs. What URLs do is help people: Google shows parts of the URL in results as breadcrumbs, so a descriptive path lets a searcher judge the result before clicking.
That is a statement about Google today, not about what search engines can measure. Microsoft Research's LETOR 4.0 benchmark, a public dataset for training ranking models, describes every page with 46 features, and 10 of them come from the URL: eight text-matching scores computed on the words in the URL, plus the number of slashes and the URL's length. URL words and depth are cheap to compute and were standard inputs in ranking research. Google's documentation says that, on their own, they barely move its ranking.
Readers give URLs little time either: in the eye-tracking study we cover in our URL encoding guide, searchers looked at the URL of a result for 0.8 seconds against 2.8 for the title. A good URL is one a person can read at a glance and that never has to change.
What Makes a URL Good
Google's URL guidelines are short, and every point is about readability or about not creating duplicate URLs:
- Words, not IDs.
/wiki/Aviationrather than/index.php?topic=42&area=3a5ebc944f41daa6f849f730f1. - Hyphens between words. Google reads underscores as joining a concept (
format_date) and asks for hyphens. - Your audience's language, including non-Latin scripts, percent-encoded in your links.
- One case. Google treats
/APPLEand/appleas different URLs, so pick lowercase and link to it consistently. - Few parameters. Drop the ones that do not change the content, such as referral tags and session IDs.
- No content behind fragments. Google generally does not support content that changes after the
#.
Directory depth is not on the list. The Starter Guide says that on a small site search engines will likely understand your pages as they are, however the site is organized. Plan directories for people and for your own maintenance: here 755 of our 783 URLs sit two levels deep (/blog/slug/ or /tools/slug/), which keeps every page one directory away from its section.
Length
There is no maximum in the URL standard. HTTP's RFC 9110 recommends that clients and servers support at least 8,000 octets, and Google shows a shortened breadcrumb rather than the full URL, so the common "keep it under 75 characters" rule has no source behind it. Shorter is still easier to read, type and share. For reference, our own 783 URLs have a median length of 61 characters including the domain; the longest is 84, and 21 are over 75, mostly legal guides with long titles. Trimming filler words from a slug is worth it; rewriting an established URL to save ten characters is not.
Changing a URL Without Losing It
Every URL change is a redirect you have to keep. Google's site-move guide (updated August 20, 2026) says to keep redirects for as long as possible, generally at least one year, so Google can transfer signals and reassign links that point to the old address, and from users' perspective to consider keeping them indefinitely. Use a permanent redirect (301 or 308): Google treats it as a strong signal that the new URL is the canonical one.
Point each old URL straight at its final destination. We followed the redirects on our own host on October 13, 2026:
| Request | Hops | Ends at |
|---|---|---|
http://ultimatedesigntools.com/tools/json-formatter/ | 1 | the https page |
https://www.ultimatedesigntools.com/tools/json-formatter/ | 1 | the bare-domain page |
http://www.ultimatedesigntools.com/tools/json-formatter/ | 2 | https on www first, then the bare domain |
/tools/ai-design-assistant/ (a retired tool) | 1 | /tools/design-system-builder/ |
The two-hop case is common on managed hosts: the platform upgrades the scheme on the hostname it was asked for, and only then applies the rule that moves www to the bare domain. It works, but every extra hop is another request before the page loads. Test the four combinations of http, https, www and no www after any domain change; curl -sIL prints each hop.
URL Patterns That Age Well
- Leave dates out unless the page is about a date, as news and event pages are. A date stays in the path when you update the article, so a refreshed guide keeps looking old, and removing it later costs a redirect.
- Be careful with categories in the path.
/blog/css/gradient-guide/reads well until the post moves category, and then the URL has to change. A flat/blog/gradient-guide/survives a reorganization. - Keep stable IDs where names change. Products get renamed; a path that includes a stable ID with a readable slug lets the slug change without breaking links, if your server redirects old slugs to the current one.
- Decide the slug before publishing. The Slug Generator turns a title into a clean slug; what the URL says is your call.
Frequently Asked Questions
Do keywords in URLs help rankings?
Should I use dates in blog URLs?
Whatβs the maximum URL length?
- [1]Google Search Central, SEO Starter Guide: keywords in the domain name or URL path, descriptive URLs (updated Dec 10, 2025) β
- [2]Google Search Central, URL structure best practices (updated Dec 10, 2025) β
- [3]Google Search Central, Site moves with URL changes (updated Aug 20, 2026) β
- [4]Google Search Central, Redirects and Google Search (updated Apr 14, 2026) β
- [5]Google Search Central, How to specify a canonical URL (updated Jul 10, 2026) β
- [6]IETF RFC 9110, HTTP Semantics, section 4.1 (URI length) β
- [7]Qin & Liu (2013), Introducing LETOR 4.0 Datasets, Microsoft Research Asia, found via alphaXiv β
- [8]Balatsoukas & Ruthven (2010), The use of relevance criteria during predictive judgment: an eye tracking approach, Proc. ASIS&T 47(1), found via Wiley Scholar Gateway β
