How to Write SEO-Friendly URLs: Best Practices and Examples

What Is an SEO-Friendly URL?

An SEO-friendly URL is a web address that is easy to read for both humans and search engines. It clearly describes the content of the page, uses relevant keywords, avoids unnecessary parameters, and follows a logical structure.

In other words, just by looking at the URL, a visitor (and Googlebot) should be able to guess what the page is about. Compare these two:

  • Good: wicked-seo.com/blog/seo-friendly-urls
  • Bad: wicked-seo.com/?p=12873&cat=4&ref=xyz

The first one tells a story. The second one tells nothing.

website url address bar

Why SEO-Friendly URLs Still Matter in 2026

Even with all the AI updates Google has rolled out, URL structure remains one of the simplest ranking signals you fully control. Here is why it still matters:

  • Crawlability: Clean URLs help search engines understand your site hierarchy.
  • Click-through rate: Readable URLs in the SERPs get more clicks.
  • User trust: A clean URL looks safer when shared on social media or messaging apps.
  • Internal linking: Descriptive slugs make anchor text and link maintenance easier.
  • Backlink quality: Other sites are more likely to link to a clean, predictable URL.

The 9 Rules for Writing SEO-Friendly URLs

1. Keep It Short and Descriptive

Aim for under 60 characters. Short URLs are easier to share, copy, and remember. Strip out filler words like "the", "a", "and", "of" when they don't add meaning.

Bad Good
/the-best-tips-and-tricks-for-writing-seo-friendly-urls-in-2026 /seo-friendly-urls

2. Use Hyphens, Never Underscores

Google explicitly treats hyphens as word separators. Underscores join words together.

  • Good: /seo-friendly-urls
  • Bad: /seo_friendly_urls
  • Bad: /seofriendlyurls

3. Use Lowercase Letters Only

Some servers treat /Page and /page as two different URLs, which can cause duplicate content issues. Always lowercase.

4. Include Your Target Keyword (Once)

Place your main keyword in the slug, but don't stuff it. Repeating the same word looks spammy and adds zero value.

  • Good: /blog/seo-friendly-urls
  • Bad: /blog/seo-urls-seo-friendly-urls-best-seo-urls

5. Avoid Dates Unless Necessary

If you write evergreen content, leave the year out. Otherwise you'll be stuck redirecting every January.

  • Avoid: /blog/2024/03/seo-friendly-urls
  • Prefer: /blog/seo-friendly-urls

6. Limit URL Parameters

Parameters like ?id=123&sort=desc are necessary for some pages (filters, search), but they should never be your canonical URL. Use static, rewritten URLs whenever possible.

7. Match the URL to the Page Hierarchy

Your URL should reflect a logical structure. Visitors should be able to "walk back" through your site by deleting parts of the URL.

  • wicked-seo.com/services/technical-seo/site-audit
  • wicked-seo.com/services/technical-seo
  • wicked-seo.com/services

8. Avoid Stop Words When They Clutter

Words like "and", "or", "but", "to" can usually be removed without losing meaning.

9. Stick to ASCII Characters

Special characters, emojis, or non-encoded symbols can break URLs. Use percent encoding only when truly required (such as for non-Latin scripts).

website url address bar

Good vs Bad URLs: Real Examples

Type Bad Example Good Example
Blog post /p?id=4521 /blog/seo-friendly-urls
Product page /shop/item.php?sku=88234&c=2 /shop/running-shoes/nike-pegasus
Service page /services_page_2 /services/link-building
Category /category?cat=12&sub=4 /blog/technical-seo
Multilingual /page?lang=fr /fr/services/audit-seo

Common Mistakes to Avoid

  1. Auto-generated slugs: Letting your CMS create URLs like /?p=12345 instead of writing a custom slug.
  2. Changing URLs without redirects: Killing your rankings overnight by forgetting 301s.
  3. Deep nesting: /blog/category/subcategory/2026/may/post-title is overkill.
  4. Tracking parameters in canonicals: Always set the clean URL as canonical.
  5. Trailing slash inconsistency: Pick one (with or without) and stick to it.
  6. Special characters: Spaces, commas, and ampersands in slugs.
  7. Different URLs for the same content: Causes duplicate content and dilutes link equity.
website url address bar

How to Restructure URLs Without Losing Rankings

This is where most site owners panic. Renaming URLs feels risky, but if you follow this process you should keep almost 100% of your rankings.

Step 1: Audit Your Current URLs

Export every indexed URL using Google Search Console, Screaming Frog, or Ahrefs. Identify which ones get traffic, links, and conversions.

Step 2: Build a Mapping Table

Create a spreadsheet with two columns: old URL and new URL. Every old URL must have a matching new one.

Step 3: Implement 301 Redirects

A 301 redirect is a permanent redirect that passes ranking signals to the new URL. Add them in your .htaccess file, server config, or via a redirect plugin (such as Redirection on WordPress).

Step 4: Update Internal Links

Don't rely on redirects for your own internal links. Update them directly to the new URLs. Redirect chains slow down crawl and dilute equity.

Step 5: Update Sitemap and Submit

Regenerate your XML sitemap and resubmit it through Google Search Console. Use the URL Inspection tool to request indexing for the most important pages.

Step 6: Monitor for 30-60 Days

Watch for crawl errors, ranking drops, and 404s. Fix any redirect chains or broken links you discover.

WordPress-Specific Tips

  • Go to Settings > Permalinks and choose "Post name" structure.
  • Edit each post slug manually before publishing. Don't rely on the auto-generated version from your title.
  • Remove the category base or date when possible.
  • Use Yoast or Rank Math to manage canonicals and detect duplicate URL issues.
  • Install a redirect plugin before changing any slugs.
website url address bar

Quick Checklist Before Hitting Publish

  • Slug is under 60 characters
  • Contains the main keyword once
  • All lowercase
  • Hyphens between words
  • No stop words clutter
  • No dates or post IDs
  • Matches the site hierarchy
  • No tracking parameters
  • Canonical tag is set correctly

FAQ

Which URL is SEO-friendly?

An SEO-friendly URL is short, lowercase, uses hyphens, contains your target keyword, and clearly describes the page content. Example: wicked-seo.com/blog/seo-friendly-urls.

How long should an SEO-friendly URL be?

Ideally under 60 characters. The shorter and more descriptive, the better, as long as it still makes sense to a human reader.

Should I include the date in my URL?

No, unless you publish news or time-sensitive content. Dates make evergreen articles look outdated and force you to redirect every time you update them.

Will changing my URLs hurt my SEO?

Only if you do it without 301 redirects. With proper redirects, updated internal links, and a fresh sitemap, you can restructure URLs and keep your rankings.

Are hyphens or underscores better in URLs?

Hyphens. Google treats hyphens as word separators, while underscores merge words together, which makes them harder to interpret.

Do URLs still matter for SEO in 2026?

Yes. While Google has gotten better at understanding messy URLs, clean and descriptive URLs still improve crawlability, user experience, and click-through rates from the SERPs.

Final Thoughts

Writing SEO-friendly URLs is one of the easiest wins in technical SEO. It costs nothing, takes seconds per page, and pays off for the entire life of your content. Follow the rules above, audit your existing URLs, and fix the ones that are hurting you. Your future self (and your rankings) will thank you.

Need help auditing your URL structure or planning a site migration? The team at Wicked SEO does that every day. Reach out and let's clean things up.