This article used to live at a web address 109 characters long. It started with the number 10, used the words “proven” and “perfect”, and ended with “for higher rankings”. It was an article about SEO-friendly URLs, and its own URL broke most of the advice inside it.
We moved it to /seo-friendly-url-structure/ and set up a permanent redirect from the old address, so nothing is lost. This guide explains what a good URL structure looks like, what new data says about how much URLs matter for Google and AI search, and how to decide whether changing your own URLs is worth the risk. Sometimes the right answer is to leave them alone.
Table of ContentsToggle Table of Content
What a good URL looks like
Google’s URL structure guidelines, updated in October, keep the rules simple. Use readable words instead of long ID numbers, write them in your audience’s language, separate words with hyphens rather than underscores, and remove parameters that do not change the content. Google also treats URLs as case sensitive, so /SEO-Guide and /seo-guide are two different addresses to Google, even if your server shows the same page.
In practice, most URL problems come from a handful of habits. The table shows the patterns we find most often when we audit small business and WordPress websites, why each one causes trouble and what a cleaner version looks like.
| URL you might have | The problem | Cleaner version |
|---|---|---|
| /index.php?p=847 | Tells visitors and search engines nothing about the page | /seo-friendly-url-structure/ |
| /2023/07/13/website-tips/ | The date makes a fresh, updated guide look old | /website-tips/ |
| /SEO_Guide | Capital letters and underscores, which can create duplicate addresses | /seo-guide/ |
| /services/web-design-services-best-web-design-company-london/ | Repeats the same keyword and looks like spam | /services/web-design-london/ |
| /shoes?color=red&sort=price&session=93ab | Sorting and session values create endless copies of one page | /shoes/red/ |
| /blog/10-tips-for-better-photos/ | The number is wrong as soon as you add or remove a tip | /blog/better-photos/ |
A good structure also follows the way your site is organised. Service pages can sit under a clear parent, such as /marketing/seo/, while blog posts can sit at the top level or under /blog/. Pick one pattern and use it everywhere, so visitors can guess what a page is about from the address alone.
What new data says about URLs and AI search
Many SEO guides still promise that the perfect URL will lift your rankings. New data suggests the effect is smaller than people think. In May, OtterlyAI published a study of 1,028,959 web addresses cited by AI search tools, including ChatGPT, Google AI Overviews, Google AI Mode, Perplexity, Gemini and Microsoft Copilot. They compared 15 URL features with how often each address was cited.
URL length made almost no difference. The average cited URL was 63 characters, and addresses of 40 and 120 characters were cited at nearly the same rate. The number of folders in the path did not matter either, and URLs with a year in them were cited as often as those without one. Two things did stand out. Addresses without a query string, the part after a question mark, averaged 2.1 citations compared with 1.6 for those with one. Addresses without digits averaged 2.0 citations compared with 1.6 for those with numbers.
The study shows a link, not proof of cause, and it covered only one day of data. But it matches what Google says. A clean, readable, stable URL helps people and machines understand a page. Squeezing a slug from 50 characters down to 30, or stuffing in one more keyword, will not change much on its own.
When changing a URL is worth it
Every URL change has a cost. Links from other sites, bookmarks, shared posts and Google’s history for the page all point to the old address. A redirect passes most of that along, but Google says it can take a few weeks or more for search results to settle. So the question is not whether a new URL looks nicer, but whether the old one is causing a real problem.
Changes can hurt even when the URLs stay the same. Earlier this year, the owner of a 14-year-old gaming site described on Reddit’s SEO forum how they merged many specific categories into a few broad sections and added redirects. Search Console showed no errors, yet their pages started to appear lower in results. Commenters pointed out that the merge had weakened the topic signals and internal links the old structure gave them. Structure is part of how Google understands a site, so plan changes carefully.
As a rule, we change a URL only when one of these is true. If none of them apply, we leave the address alone and improve the page instead.
- The URL is misleading, because the page topic has changed completely
- It uses ID numbers or parameters instead of words, such as ?p=847
- Several URLs show the same page, for example with and without capital letters
- It contains a date or a number that makes the page look out of date
- You are merging several thin pages into one stronger page
- The site is being rebuilt and the whole structure is changing anyway
This article met two of those rules, so we moved it. Our guide on showing post dates in WordPress explains a safer option for dated content, where you keep the URL and show a clear “last updated” date on the page instead.
How to move a URL without losing traffic
If you decide to change a URL, the steps below keep visitors and search engines on track. They apply to one page or a full site rebuild. The difference is only how long your list of old and new addresses becomes.
- Write down every old URL and its new address before you change anything
- Set up a permanent 301 redirect from each old URL to the closest matching new page, never all to the home page
- Update the links inside your own pages, menus and buttons, so they point straight to the new address
- Check that the new page has the right canonical tag and appears in your XML sitemap
- Watch the Pages and Performance reports in Google Search Console for the next few weeks
- Keep the redirects in place. Google advises keeping them for as long as possible, and at least one year
WordPress helps a little. When you change the slug of a single post, it usually remembers the old one and forwards visitors. But this does not cover pages, category changes or a new permalink structure, and it is lost if you move to another platform. A proper redirect list is safer. We used one for this post, and for our guide to GA4 views, sessions and users, which also moved to a shorter address this year.
URL structure is one part of technical SEO. Our SEO service audits URLs, redirects and internal links alongside content and local search. When a site needs a new structure, our website team plans the redirect map before launch, and our analytics setup shows whether traffic holds after the move. If you are planning a rebuild, our guide to creating a brand website with WordPress is a good place to start.
Frequently asked questions
Should I put keywords in my URLs?
Yes, but only as a short, honest description of the page. One main keyword is enough. Repeating keywords makes the address look like spam and does not help rankings.
Should I use hyphens or underscores in URLs?
Use hyphens. Google reads a hyphen as a space between words, while underscores are often treated as joining words together. Google’s own guidelines recommend hyphens.
Should I remove dates from my WordPress URLs?
For new sites, a structure without dates, such as the post name only, is usually the better choice. For an older site that already ranks, changing every URL is a big move. Do it only with a full redirect plan, or keep the URLs and show a clear updated date on each post.
How long should I keep redirects?
As long as possible. Google recommends keeping them for at least one year, and many sites keep them forever because other websites may link to the old addresses for years.
Do I need /blog/ in my blog post URLs?
No. Both work well for SEO. A /blog/ folder makes it easier to tell posts and pages apart in reports, while posts at the top level give shorter addresses. Choose one when you build the site and keep it.