Key takeaways
- An SEO friendly URL uses readable words instead of IDs and parameters, so people can tell what the page is about.
- Google recommends simple URLs, words in your audience's language and hyphens between words.
- Keywords in the URL alone have hardly any ranking effect, according to Google. They help people and crawling.
- On a live site, do not change working URLs for looks. If you must change them, use 301 redirects.
URL structure is one of the first things I check in a technical SEO audit, because a mistake there repeats on every page of the site. The good news: on a new site, doing it right costs the same as doing it wrong.
What is an SEO friendly URL?
An SEO friendly URL is a web address made of short, readable words separated by hyphens that describe the page, such as /blog/how-to-choose-a-mattress/ instead of /p?id=8812. People can understand it in search results, in a text message or in the browser bar, and it keeps the site's structure clear for search engines.
The last part of the URL, the one that names the page, is called the slug. WordPress, Shopify and Wix let you edit it in its own field on each page. If a term is new to you, my SEO glossary explains it.
Think of a URL as the address on an envelope. A clear one tells everyone where it goes before it is opened: the person who sees it in a search result, the customer who receives it in a WhatsApp message and the crawler deciding how the site is organized. A messy one still delivers, but it explains nothing and is easy to duplicate by accident.
Do URLs affect SEO rankings?
Only a little. Google's SEO Starter Guide says that from a ranking perspective, keywords in the domain name or URL path alone have hardly any effect. Clean URLs still matter: people understand the result, Google can show parts of the URL as breadcrumbs, and simple structures are easier to crawl without creating duplicate versions of pages.
The SEO Starter Guide adds that Google learns breadcrumbs from the words in the URL and recommends words that may be useful for users. So one clear topic in the slug is good; five stuffed keywords are pointless.
What URL structure does Google recommend?
Google asks you to keep URL structure as simple as possible, use readable words instead of long ID numbers, separate words with hyphens rather than underscores and use words in your audience's language. It also recommends trimming unnecessary parameters and avoiding session IDs in URLs, using cookies for those instead.
| Google recommendation | Better | Worse |
|---|---|---|
| Readable words | /services/local-seo/ | /index.php?topic=42&area=3a5e |
| Hyphens between words | /blog/seo-friendly-url/ | /blog/seo_friendly_url/ |
| Audience's language | /es/servicios/seo-local/ for Spanish pages | English slugs on Spanish pages |
| Few parameters | /shoes/?size=10 | /shoes/?size=10&session=88a1&sort=3&ref=x |
| Consistent case | /contact/ | /Contact/ and /contact/ both live |
Those points come from Google's URL structure best practices. Two details most owners miss: Google treats URLs as case sensitive, so /APPLE and /apple are different URLs to Google; and non-ASCII characters must be percent-encoded, which makes accented words ugly when copied. Plain lowercase letters, numbers and hyphens are the safe choice.
How to create SEO friendly URLs
- Use lowercase letters throughout.
- Describe the page topic in two to five words, without filler: /services/tank-cleaning/.
- Separate words with hyphens, never spaces or underscores.
- Leave out dates and version numbers if the page will be updated.
- Group pages in logical folders: /services/, /blog/, /products/ and, for other languages, /es/ or /fr/.
- Pick one form, with or without trailing slash and with or without www, and redirect the other.
- Keep the hierarchy shallow: two or three levels are enough for most business sites.
If your site has more than one language, put the language folder first, as this site does. The rest of the multilingual setup is in my guide to multilingual SEO and hreflang.
What about URL parameters and filters?
Parameters are the part after the question mark, such as ?color=red. Google warns that overly complex URLs, especially with multiple parameters, can cause problems for crawlers by creating very large numbers of URLs that show identical or similar content. Online stores with filters run into this often, and it needs to be managed on purpose.
The fix depends on the site: let only the filters people actually search be indexable, point duplicates to a main version with a canonical tag and keep useless combinations out of the crawl. My guide to duplicate content goes deeper. I have seen this up close on a directory with pages for all 50 US states and 30K+ localities: at that scale, a clear state and city URL pattern is what keeps the site organized.
Should I change my existing URLs?
Usually not, if your site is live and the URLs work. A changed URL is a new address Google has to discover, and signals have to move to it, so a careless change can cost traffic for a while. Change URLs only for a real reason, such as a migration or chaotic parameter URLs, and always with 301 redirects.
Google's redirects documentation explains that a permanent server-side redirect is the best way to move a page. The step-by-step process, and how to avoid 404 errors, is in my guide to redirects and 404 errors, so I do not repeat it here.
Common URL mistakes
The ones I see most: very long slugs copied from the full title, the same page live at /service and /service/, mixed-case URLs creating duplicates, a year in the slug of a guide that is updated every year, and test pages like /new-page-2/ left online. All are easy to fix on a new site and more delicate on an old one. A URL also works best with a clear title tag: the two should describe the same topic.
If you are about to launch or redesign a site, now is the time to get URLs right. I can review them in a free diagnosis from my SEO consultant practice: book it here.
Frequently asked questions
Should my URL include the keyword?
It can include the main topic because that helps people, but do not stuff it: Google says the ranking effect is minimal. A short URL with the topic, such as /services/local-seo/, is easy to read, share and remember, and it shows visitors what the page is about.
Are dates in blog URLs bad?
Not a serious error, but they make updating a guide awkward. Leave them out for content you will refresh. Dates in the URL make an updated guide look old, and changing the URL later means setting up redirects and risking lost traffic.
Trailing slash or no trailing slash?
Either works. Use one form consistently and redirect the other. For example, keep /services/ and redirect /services to it. Mixing both forms creates duplicate URLs and splits signals between two versions of the same page, so check your internal links too.
Can I use accented letters in URLs?
They work, but they turn into encoded characters when copied. Plain letters are cleaner. Many sites drop accents in slugs, such as /diseno-web/ instead of /diseño-web/, while keeping the accents in titles and page text where readers actually see them.
How many words should a slug have?
Google gives no rule. Two to five words usually describe a page well. Remove filler words like and or the, keep the main topic and avoid changing the URL later, because every change needs a redirect and can cost traffic for a while.
Want to see these guides first? Choose JJ SEO Colombia as a preferred source on Google, and my articles are more likely to show up for you in Top Stories.
Follow on GoogleAdd as a preferred source