Your URL is the first thing Google reads about your page, and often the first thing users see in the search results. Yet most marketers still publish messy, auto-generated URLs stuffed with numbers, dates, or random parameters. If you want to rank higher and earn more clicks, learning how to write SEO friendly URLs is a non-negotiable skill.
In this practical guide, we break down 9 rules you can apply immediately, complete with before/after examples so you can see exactly what to fix on your own site.
What Are SEO-Friendly URLs?
An SEO-friendly URL is a web address that is short, descriptive, easy to read, and clearly signals the topic of the page to both users and search engines. Instead of relying on IDs, session parameters or cryptic slugs, it uses plain words separated by hyphens.
Example:
- Not friendly:
internetwondersezine.com/?p=8721&cat=3 - SEO friendly:
internetwondersezine.com/seo-friendly-urls

Why URL Structure Still Matters in 2026
Even in an AI-driven search landscape where Google’s SGE and other generative engines surface answers directly, clean URLs remain a strong ranking and trust signal. Here’s why:
- Relevance signal: Keywords in the URL help Google understand context.
- Click-through rate: Readable URLs get more clicks in the SERPs.
- Shareability: Clean URLs look trustworthy when shared on social media, Slack, or email.
- Crawl efficiency: A logical structure helps bots discover your site faster.
- Long-term stability: Well-planned URLs rarely need to change, avoiding redirect chains.
The 9 Rules for Writing SEO-Friendly URLs
Rule 1: Keep URLs Short and Focused
Aim for URLs under 60 characters. Shorter URLs are easier to remember, share, and display fully in search results. Cut anything that doesn’t add meaning. You can read more here.
| Before | After |
|---|---|
| /blog/how-to-write-the-best-seo-friendly-urls-for-your-website-in-2026 | /blog/seo-friendly-urls |
Rule 2: Include Your Target Keyword
Your primary keyword should appear once in the slug, close to the domain. Don’t stuff it multiple times.
- Before:
/article-12345 - After:
/seo-friendly-urls
Rule 3: Use Hyphens, Not Underscores
Google officially treats hyphens as word separators and underscores as connectors. Always use hyphens.
| Wrong | Right |
|---|---|
| /seo_friendly_urls | /seo-friendly-urls |
| /url structure guide | /url-structure-guide |
Rule 4: Use Lowercase Letters Only
Some servers treat /SEO-Urls and /seo-urls as two different pages, creating duplicate content issues. Stick to lowercase to avoid confusion. seoptimer.com has a solid rundown on this.
Rule 5: Remove Stop Words
Words like a, an, the, of, and, but, for rarely add value in URLs. Strip them out to keep slugs tight and keyword-rich.
- Before:
/the-best-guide-to-writing-seo-friendly-urls-for-marketers - After:
/guide-seo-friendly-urls
Rule 6: Avoid Dates and Numbers You’ll Regret Later
Adding /2026/ in your slug forces you to redirect the URL every time you update the content. Keep evergreen URLs date-free.
- Before:
/2026/07/seo-friendly-urls-guide - After:
/seo-friendly-urls-guide
Rule 7: Use a Logical Folder Structure
Group related content into clear categories. This helps users understand where they are and helps Google map your site architecture.
Good structure example:
/seo/on-page/seo-friendly-urls/seo/technical/canonical-tags/seo/link-building/broken-link-strategy
Just don’t go too deep. Two or three levels max is a safe rule.
Rule 8: Avoid Special Characters and Parameters
Characters like ?, &, %, #, ! or spaces make URLs unreadable and harder to track. If you must use query parameters (for filters or tracking), keep them minimal and consider canonical tags.
| Messy | Clean |
|---|---|
| /shop?id=42&color=red&size=m | /shop/red-tshirt-medium |
Rule 9: Match the URL to the Page Title (But Shorter)
Your slug should reflect the article’s H1 without repeating it word-for-word. Extract the core keywords. There’s a fuller breakdown if you want the detail.
- Title: How to Write SEO-Friendly URLs: 9 Rules for Better Rankings
- Slug:
/seo-friendly-urls
Common Mistakes to Avoid
- Changing URLs without 301 redirects — you lose all backlink equity.
- Using auto-generated slugs from CMS defaults (like
/?p=123). - Keyword stuffing such as
/seo-urls-friendly-seo-urls-guide. - Non-ASCII characters that require percent-encoding and look ugly when shared.
- Duplicate URLs with and without trailing slashes, or with mixed capitalization.

Quick URL Audit Checklist
Before publishing any new page, run this quick check:
- Is the URL under 60 characters?
- Does it include the target keyword once?
- Are all letters lowercase?
- Are words separated by hyphens?
- Are stop words removed?
- Is it free of dates, IDs, and special characters?
- Does it fit logically inside your site structure?
- If you’re replacing an old URL, is a 301 redirect in place?
Before / After: A Real World Example
| Scenario | Before | After |
|---|---|---|
| Blog post | /2024/11/how_to_write_the_best_SEO_urls!!.html | /blog/seo-friendly-urls |
| Product page | /product.php?id=778&ref=abc | /shop/wireless-headphones |
| Category | /Category_Page_Marketing_Tips | /marketing-tips |
FAQ About SEO-Friendly URLs
How long should an SEO-friendly URL be?
Keep it under 60 characters when possible. Google can process longer URLs, but shorter ones perform better in click-through rate and are easier to share.
Should I change my old URLs to make them SEO-friendly?
Only if the current ones are clearly hurting performance. If you do change them, set up 301 redirects from the old URL to the new one to preserve rankings and backlinks.
Do URLs still matter with AI-powered search?
Yes. AI overviews and generative results still rely on traditional indexing signals. A clean URL helps your page be selected as a source and increases trust when users see the citation.
Are hyphens better than underscores?
Absolutely. Google reads hyphens as spaces between words, while underscores glue words together. Always use hyphens.
Can I use non-English characters in URLs?
You can, and Google handles them through percent encoding, but they often look messy when shared. Where possible, transliterate to plain ASCII characters.
How do I check if my URLs are SEO-friendly?
Use tools like Google Search Console, Screaming Frog, or free SEO URL checkers to spot long URLs, duplicate slugs, parameters, and non-standard characters across your site.
Final Thoughts
Writing SEO friendly URLs isn’t glamorous, but it’s one of the highest-leverage habits in on-page SEO. Follow the 9 rules above, audit your existing pages, and set a standard slug format for your team. Do this once, and every future article you publish will start with a small but real ranking advantage.
