Chykalophia Docs
SEO

SEO-friendly URLs

What makes a URL good for search engines and users — and how to structure your site's web addresses for better SEO.

Difficulty
Beginner

A URL is the web address of a page — the text in your browser's address bar. Most people don't think much about URLs, but they do affect both SEO and how trustworthy your site looks to visitors.

Quick summary

Good URLs are short, descriptive, lowercase, and use hyphens between words. Avoid long strings of numbers, random characters, or vague words like "page1." A readable URL mostly helps your visitors, not your rankings: Google says keywords in the URL path "have hardly any effect beyond appearing in breadcrumbs." Once a URL is set and has traffic or links, changing it requires a redirect — ask us before doing this.

What is a URL slug?

When we talk about a page's URL for SEO purposes, we usually mean the slug — the part that comes after your domain name.

For example, in yoursite.com/seo/page-titles-and-meta-descriptions:

  • yoursite.com is the domain
  • /seo/ is the folder
  • page-titles-and-meta-descriptions is the slug

The slug is the part you most often control and optimize.

What makes a URL good for SEO?

A good URL follows these principles:

1. It's readable and descriptive. Google's advice is to "use readable words rather than long ID numbers in your URLs." A person should be able to read the URL and understand what the page is about — without even clicking it. Parts of the URL can show up in search results as breadcrumbs, so your visitors see them.

Bad: yoursite.com/?p=4729 Good: yoursite.com/blog/how-to-plant-tomatoes

2. It uses words your audience would actually search for. Don't do this for a ranking boost — Google lists "keywords in the domain name or URL path" among the things you shouldn't focus on, and says they "have hardly any effect beyond appearing in breadcrumbs." Do it because a URL made of real words tells a person what they're about to open.

3. It uses hyphens, not underscores. Google recommends "using hyphens (-) instead of underscores (_) to separate words in your URLs, as it helps users and search engines better identify concepts in the URL." Its reason for avoiding underscores is convention: the underscore is already widely used to join words that belong together, as in format_date.

4. It's lowercase. Google's URL handling is case sensitive — it treats /APPLE and /apple as two different URLs. If your server serves both the same page, make everything lowercase so Google can tell they're the same page.

5. It's short. Remove unnecessary filler words, and trim query parameters that don't change what's on the page. /blog/how-to-grow-tomatoes is better than /blog/here-is-a-helpful-guide-on-how-to-grow-tomatoes-in-your-garden.

6. It avoids dates in news-style slugs (for evergreen content). A URL like /blog/2019/07/seo-tips will look outdated in a few years. For content you want to stay relevant, omit the date: /blog/seo-tips.

URL structure examples

Page typeWeak URLStrong URL
Homepageyoursite.comyoursite.com (homepage is fine)
Service pageyoursite.com/page?id=12yoursite.com/services/brand-identity
Blog postyoursite.com/?p=829yoursite.com/blog/how-to-write-a-brand-brief
Location pageyoursite.com/loc1yoursite.com/locations/denver

Folder structure and URLs

Your site's URL structure should reflect how the content is organized. Group related content in folders:

  • /blog/post-name — all blog posts
  • /services/service-name — all service pages
  • /locations/city-name — location-specific pages

This is called a hierarchical URL structure. Google's stated benefit is narrower than you might expect: grouping similar topics in directories "can help Google learn how often the URLs in individual directories change", so it can crawl a rarely-changing /policies/ folder less often than a busy /promotions/ one. Google also says this only really starts to matter once a site runs to more than a few thousand URLs. The clearer win is for your visitors, and for you when you come to reorganise things later.

Be careful about changing URLs

Always redirect old URLs

Once a URL is live and has been indexed by Google or has links pointing to it, changing that URL can hurt your SEO. If you must change a URL, always set up a 301 redirect from the old URL to the new one. Google says "301 and other permanent redirects don't cause a loss in PageRank", and that leaving the redirect in place is what lets it transfer the old URL's signals to the new one. Ask us before changing any live page URLs.

Common questions

My WordPress site has URLs like /?p=123. Can I change them?

Yes. /?p=123 is WordPress's "Plain" permalink setting. Go to Settings > Permalinks and choose "Post name" — which produces addresses like yoursite.com/sample-post — or a custom structure. Existing URLs will change too, so redirects are needed; let us handle this change to make sure it's done safely.

Does the URL length affect rankings?

Google publishes no length target, so don't chase a character count. What it does say is to trim parameters that don't change the page. Aim for readable and descriptive: a clear longer URL beats a cryptic short one.

Should I put keywords in every folder in the URL?

No. Keep the folder structure logical and clean. Repeating the same words in every segment (/best-seo-tips/top-seo-guide/great-seo-article) gains you nothing — Google says keywords in the URL path barely register — and it reads as spammy to people.

Does it matter if my URL has www or not?

Not directly — as long as you're consistent. Your site should resolve to either www or non-www and redirect the other version to it. Otherwise the same page sits at two addresses and Google picks which one to show; Google's own suggestion for pages with identical content is "setting up a redirect from non-preferred URLs to a URL that best represents that information." We configure this as part of any site setup.

Need a hand?

If you're stuck, email support@chykalophia.com and we'll help. Include your website address and a screenshot if you can.

Learn more

Last updated

On this page