SEO-Friendly URL Structure: Rules and Examples
How do you build an SEO-friendly URL structure? Rules for hyphens, lowercase, non-ASCII characters, folders, parameters and trailing slashes, backed by Google.
An SEO-friendly URL structure means page addresses are short, readable, consistent and built so search engines can crawl them efficiently. A good URL describes the page topic in a few words, separates words with hyphens and serves each piece of content at a single address. The real contribution of URL structure to SEO is less about ranking signals and more about easier crawling, preventing duplicate addresses and earning user trust.
In this post I use Google’s URL guidance to explain which rules actually matter, how to handle non-ASCII characters such as Turkish letters, how to decide on folders and parameters, and what the risks are when you change URLs on an existing site. URL decisions are one of the first steps on the crawling and indexing side of technical SEO. I describe how I run these audits in my projects on the SEO services page.
How does URL structure affect SEO?
Short answer
Does URL structure affect SEO?
It does, but not in the way most people think. According to Google, keywords in the URL path alone have hardly any effect on rankings. The main effect of URL structure is on crawling: complex, parameter-heavy addresses create many copies of the same content. Readable addresses, on the other hand, appear as breadcrumbs in search results and make the click decision easier.
URL structure affects SEO in three ways: crawl efficiency, duplicate content management and how a result looks in search. Google’s SEO Starter Guide says clearly that words in the domain name or URL path have almost no ranking effect beyond appearing in breadcrumbs.[2] The same guide notes that parts of the URL can be shown as breadcrumbs in search results.[2] A breadcrumb is the path information that shows where a page sits within the site.
The effect on crawling is more concrete. According to Google’s URL guidance, URLs that don’t meet its crawlability requirements lead to inefficient crawling of the site.[1] That inefficiency can show up as extremely high crawl rates or as the site not being crawled at all.[1] Addresses with many parameters in particular create unnecessary URLs that point to identical or very similar content. In that case Googlebot uses more resources than needed, and some pages may never get indexed.[1]
In short, URL structure is not a signal that pushes a page up. It is infrastructure that makes sure the page is found correctly. When it’s built badly it causes problems; when it’s built well nobody notices it.
What does an SEO-friendly URL look like?
An SEO-friendly URL is a short, descriptive address written with consistent rules. The core rules Google recommends are: use readable words instead of random ID numbers, separate words with hyphens, remove unnecessary parameters and write in your audience’s language.[1]
Not recommended
- /index.php?id=42&cat=3a5e
- /Blog/URL_Structure_SEO
- /urlstructureseo
- /blog/2026/11/23/url-structure-seo-url-structure-guide
- /product?sessionid=6EE2BF1A
Recommended
- /category/mens-shoes/
- /blog/url-structure-seo/
- /url-structure-seo/
- /blog/url-structure-guide/
- /product/running-shoes/
Breaking these rules down one by one:
- Readable words: Google recommends meaningful words instead of long ID numbers.[1] An address like
/2/6772756D707920636174tells the user nothing about the page. - Hyphens as separators: Google recommends hyphens (
-) instead of underscores (_) to separate words.[1] In programming languages, underscores join expressions that should be read together, such asformat_date. Hyphens mark a word boundary clearly. Joining words together is not recommended either. - Lowercase: URLs are case sensitive. I cover this separately below.
- Short and to the point: Removing filler words from the title (“and”, “with”, “how”, “for”) usually shortens the slug. The slug is the part of the URL that identifies the page and is derived from the title.
- Permanence: Don’t put a year, a date or words that age, such as “new” or “latest”, into the slug. When you update the post, the address starts giving wrong information.
- No repetition: Repeating the same word in both the folder and the slug gains nothing. Google’s position on keyword stuffing applies to URLs as well.[2]
There is no official character limit for length. My own rule is this: when the address is shared in a messaging app, it should be readable on one line and say what the page is.
Should you use non-ASCII characters such as Turkish letters in URLs?
Using non-ASCII characters in a URL is technically possible, but writing their ASCII equivalents is more practical on most sites. Google recommends using words in the language your audience searches in and, where relevant, transliterated words.[1] The same guidance asks for characters outside the ASCII range to be percent-encoded in internal links.[1]
Percent-encoding is the way characters that can’t be written directly in a URL are represented with a % sign and hexadecimal byte values. The method is part of RFC 3986, the standard that defines URI syntax.[3] For example, the Turkish address /sağlık (“health”) appears in a link as /sa%C4%9Fl%C4%B1k. The browser address bar usually displays it with the original letters. But when the address is copied into an email, a spreadsheet or some messaging apps, the encoded form shows up.
That’s why transliteration is the common choice on Turkish sites: ı → i, ğ → g, ü → u, ş → s, ö → o, ç → c. Every post address on this site is generated with that rule. The small function below shows the basic logic of turning a Turkish title into a slug:
function slugify(baslik) {
const harfler = { ç: 'c', ğ: 'g', ı: 'i', ö: 'o', ş: 's', ü: 'u' };
return baslik
.toLocaleLowerCase('tr-TR') // so İ → i and I → ı convert correctly
.replace(/[çğıöşü]/g, (h) => harfler[h])
.normalize('NFD').replace(/[̀-ͯ]/g, '') // strip remaining accents
.replace(/[^a-z0-9]+/g, '-') // turn anything but letters and digits into hyphens
.replace(/^-+|-+$/g, ''); // trim leading and trailing hyphens
}
slugify('URL Yapısı SEO İçin Nasıl Olmalı?'); // "url-yapisi-seo-icin-nasil-olmali"
Whichever route you choose, the rule has to be the same across the whole site. Using /saglik/ in one section and /sağlık/ in another creates two different address patterns for the same topic.
How should folders and subdirectories be organized?
A folder structure groups pages on similar topics under the same directory, which tells both users and Google how the site is organized. Google notes that on sites with more than a few thousand URLs, directories grouped by topic can help it learn how often each directory changes.[2] For example, a rarely changing /policies/ directory and a frequently updated /promotions/ directory can be crawled at different frequencies.[2]
In practice, these principles work:
- Keep it shallow: Two levels are enough for most sites:
/blog/url-structure-seo/or/services/technical-seo/. Every extra folder makes the address longer without adding a signal on its own. - Don’t tie URLs to categories: If a product or post can belong to more than one category, putting the category in the URL can create two addresses for the same page. Building the structure with internal links and breadcrumbs instead of the URL is more flexible. I explain this distinction through the category tree in the ecommerce site architecture post.
- Use folders for language and country: For multi-regional sites, Google recommends a country-specific domain (
example.de) or a country folder on a generic domain (example.com/de/).[1] On this site, English pages are published under/en/. - Choose subdomains for a reason: Preferring
example.com/blog/overblog.example.commakes management easier. A subdomain makes sense when a technically separate infrastructure is required.
When do URL parameters become a problem?
URLs with parameters become a problem when they carry parameters that don’t change the content or that can combine without limit. A URL parameter is the part of an address after the ?, written in key=value form. Google recommends separating keys and values with = and adding further parameters with &.[1] The same guidance asks you to trim unnecessary parameters that don’t change the content.[1]
These are the main cases Google lists as sources of unnecessary URLs:[1]
| Parameter type | Example | What to do |
|---|---|---|
| Combinable filters | ?color=red&size=m&brand=x | Make valuable combinations static pages and keep the rest out of crawling |
| Session ID | ?sessionid=6EE2BF1A | Keep the ID in a cookie instead of the URL |
| Referral source | ?ref=homepage | Don’t use it in internal links |
| Sorting | ?sort=price-asc | Point to the unsorted version with a canonical |
| Infinite calendar | ?d=13&m=8&y=2031 | Add nofollow to links to future dates |
For filtered listings, Google’s faceted navigation guidance shows that unnecessary filter combinations can be kept out of crawling with robots.txt.[5] It also notes that methods such as the canonical tag and nofollow are generally less effective in the long term.[5] I explain how robots.txt rules are written in the robots.txt and AI crawlers post.
UTM parameters added for campaign tracking are a different case. They belong in ad and email links and should never appear in internal links. The page should also carry a self-referencing canonical tag.
Can you change content with a URL fragment (#)?
No, fragments should not be used to change content. A URL fragment is the part of an address after the # sign that points to a section within the page. Google Search generally doesn’t support fragments.[1] So single-page application (SPA) addresses such as example.com/#/products are not indexed as separate pages. For sites that change content with JavaScript, Google recommends using the History API.[1] Table-of-contents links such as #heading are fine, because the content doesn’t change.
How do you prevent uppercase, trailing slash and duplicate URL issues?
Duplicate URLs happen when the same page opens at more than one address, and the most common causes are letter case, the trailing slash, www and protocol differences. Google treats URLs as case sensitive; /APPLE and /apple are two different URLs.[1] If your server returns the same content for both, Google may discover each one as a separate address.
Imagine the same page opening at all of these addresses:
http://example.com/services/seo
https://example.com/services/seo
https://www.example.com/services/seo
https://www.example.com/services/seo/
https://www.example.com/Services/SEO/
Each of these five addresses is a separate URL for Google. The fix is to choose one canonical address and point the others to it. According to Google’s canonicalization guidance, redirects and the rel="canonical" tag are strong signals for the canonical URL, while sitemap inclusion is a weak signal.[4] These methods become more effective when combined.[4] Google also prefers the HTTPS version as canonical among equivalent pages.[4]
- Choose one pattern
HTTPS, with or without www, with or without a trailing slash, all lowercase. Put the decision in writing.
- Redirect variants with a 301
HTTP, alternate domain forms, uppercase and slash variants should reach the canonical address in a single hop.
- Add the canonical tag
Every page should carry a canonical tag that points to its own canonical address.
- Fix internal links
Menus, breadcrumbs and in-text links should all go to the canonical address, not to a redirect.
- Keep the sitemap consistent
The XML sitemap should contain only canonical addresses. The sitemap and the canonical tag should never point to different URLs.
There is no right or wrong choice for the trailing slash; what matters is consistency. This site is built with Astro, and its configuration requires every address to end with /. That way /en/blog/seo-friendly-url-structure and /en/blog/seo-friendly-url-structure/ are never live at the same time. I cover the details of redirect rules in the 301 redirect post and the canonical side in the canonical tag post.
Should existing URLs be changed for SEO?
Existing URLs should only be changed when there is a serious problem that breaks crawling or indexing. Changing a URL because a keyword is missing or the slug is a bit long is usually not worth it. According to Google, the ranking effect of words in the URL is already very limited.[2] On the other hand, every URL change is a small site migration: Google has to discover the new addresses, connect old signals to them, and external links have to pass through redirects.
These are the cases that justify a change:
- Addresses with session IDs or unnecessary parameters that create thousands of copies
- Pages that change content with a fragment (
#) and never get indexed - Pages live at two different addresses because of letter case or the trailing slash
- A restructuring in which the domain or the language structure changes
If one of these applies, redirect every old address to its closest new counterpart with a 301. Don’t go live without preparing a redirect map. I describe the process step by step in the website migration post. After the change, watch the indexing status in the Google Search Console page indexing report for a few weeks.
URL structure checklist
The fastest way to audit URL structure is to export every address on the site with a crawler and filter them against the items below. With a tool like Screaming Frog, you can filter addresses that contain uppercase letters, underscores, parameters or redirects separately.
Conclusion: URL structure is built right once
An SEO-friendly URL structure is not a tactic that lifts rankings on its own. It is a foundation that makes sure the site is crawled correctly and appears at a single address. Readable words, hyphens, lowercase, few parameters and a consistent canonical address are the parts of that foundation. The most expensive mistake is being forced to change these rules after launch.
If you’re building a new site, write the URL rules before the first page. If you’re auditing an existing site, find duplicate addresses and parameters first, and leave polishing slugs for last.
Key terms
- Slug
- Slug is the lowercase part of a URL that identifies the page, usually derived from the title, with words separated by hyphens. In /en/blog/seo-friendly-url-structure/, the part seo-friendly-url-structure is the slug. A good slug is short, descriptive and never changes after publishing.
- URL parameter
- URL parameter is the part of an address after the question mark, written in key=value form. It is used for filtering, sorting, pagination or campaign tracking. Parameters that don't change the content can create many duplicate addresses for the same page.
- Percent-encoding
- Percent-encoding is a way of writing characters that can't be used directly in a URL as a percent sign followed by hexadecimal byte values. For example, the Turkish letter ğ is encoded as %C4%9F. RFC 3986 defines the method, and Google recommends using it for non-ASCII characters in links.
- URL fragment
- URL fragment is the part of an address after the hash sign (#) that points to a section within the page in the browser. The fragment is not sent to the server. Because Google Search generally doesn't support fragments, pages that change content through fragments are not indexed separately.
Frequently asked questions
What does an SEO-friendly URL look like?
An SEO-friendly URL is short, readable and made of words that describe the page. Words are separated with hyphens, all letters are lowercase, and parameters that don't change the content are removed. Each page is published at a single address, and every other variant redirects to it with a 301.
Do keywords in the URL affect rankings?
According to Google's SEO Starter Guide, keywords in the URL path alone have hardly any effect on rankings beyond appearing in breadcrumbs. Descriptive words still help users understand a result. So putting the topic word in the URL is right, but repeating the same keyword gains nothing.
Can I use non-ASCII characters such as Turkish letters in URLs?
Yes. Google recommends using words in your audience's language and asks for non-ASCII characters to be percent-encoded in links. In practice, writing letters like ı, ş and ğ as i, s and g keeps shared links readable. Whichever route you choose, stay consistent across the whole site.
Should I use hyphens or underscores in URLs?
Use hyphens. Google recommends hyphens instead of underscores to separate words. Underscores are used in programming languages to join concepts that belong together, so they don't mark a word boundary as clearly as hyphens. Joining words together without a separator is not recommended either.
Does uppercase versus lowercase matter in URLs?
Yes, it matters. Google treats URLs as case sensitive, so /Product and /product are two different addresses. If your server opens both as the same page, convert all URLs to lowercase and redirect the uppercase variants to the lowercase address.
Should I change my existing URLs for SEO?
In most cases, no. Changing URLs is a site migration, and Google needs time to learn the new addresses. Change them only when there is a serious problem such as session IDs, endless parameters or duplicate URLs. If you do, redirect every old address to its counterpart with a 301.
Sources
The full topic: Technical SEO guide ↗