TL;DR: Use HTTPS on every URL, pick one canonical version of your domain and URLs and 301 redirect the rest, keep paths short, descriptive, lowercase and hyphenated, and always redirect an old URL when you change it. URL format rarely moves rankings on its own: duplicate versions and missing redirects are what cause the damage.
What A URL’s Format Actually Affects
Your URLs are one of the more fixable parts of technical SEO. Getting the format right won’t transform your rankings on its own, but getting it wrong creates duplicate versions of the same page for Google to choose between, and can quietly send visitors to broken links after a site change. This guide covers what to check and fix, starting with what matters most.
The Parts Of A URL
A URL (Uniform Resource Locator) is made up of a few distinct parts, and it helps to know which is which before changing anything:
- Scheme: the protocol at the start, almost always HTTP or HTTPS today.
- Host name: the domain (and any subdomain, like www) that identifies who owns the site.
- Path: everything after the host name, reflecting your site’s folder structure, for example /blog/category/.
- Query string: the part after a ?, used for filters and parameters, for example ?sort=price.
- Fragment: the part after a #, which points to a specific spot on the page. Google Search generally doesn’t support fragments, so don’t use one to change what a page shows.

Most of the formatting decisions that matter for SEO involve the scheme, the host name and the path, so that’s where this guide focuses.
How To Format URLs For SEO
Use HTTPS Everywhere
HTTPS is a baseline for a trustworthy site, but don’t count on it to lift your rankings. Google’s page experience guidance treats secure pages as part of a good experience, but says aspects beyond Core Web Vitals don’t directly help a site rank higher.
The clearer SEO reason is duplication. Where the same page exists on both HTTP and HTTPS, the HTTPS version is preferred as canonical unless something conflicts, and the fix is a redirect from HTTP to HTTPS, or a rel=”canonical” link pointing the same way. A common mistake is going part-way: securing the main site but still linking to, or loading images, scripts or fonts from, http:// addresses. Check that your internal links and everything your pages load use https://. Your developer, or a site crawl, can list any http:// links or files that are left.
Pick One Canonical Domain And Redirect The Rest
https://www.yoursite.co.uk and https://yoursite.co.uk are technically different addresses, so a site that serves the same page on both has duplicate URLs, and links and other signals can be split between them. Google’s guidance on consolidating duplicate URLs explains how to consolidate them into one preferred URL. It describes redirects and rel=”canonical” tags as strong signals for that, and sitemap inclusion as only a weak one, so choose one version, redirect the others to it and keep your canonical tags pointing at it.
Whether to use www at all is a separate question, and we cover it in Is It Better To Use “www” or Not for SEO? Whichever you choose, only one version should be live, and everything else should redirect to it. Our guide to auditing canonical tags covers how to check yours.
Structure URLs To Match Your Site
A good URL path mirrors how a visitor would navigate your site, with the broadest category first and more specific pages nested underneath. As a hypothetical illustration (not an actual Wildcat client’s URL structure), imagine an online furniture retailer selling standing lamps, which sit within lamps, which sit within bedroom furniture. A logical path would be:
/bedroom-furniture/lamps/standing-lamps/
This kind of nesting helps both visitors and Google understand where a page sits in your site.
On an existing site, don’t restructure just for neatness. Every URL you change needs a redirect, so it’s worth doing when the current structure is genuinely causing problems.
Write Paths People, And Google, Can Actually Read
A few smaller formatting choices add up:
- Keep it descriptive, not keyword-stuffed. Use readable words rather than long ID numbers, and say each thing once. /bedroom-furniture/lamps/standing-lamps/ is clear; /bedroom-furniture/bedroom-lamps/standing-bedroom-lamps/ repeats itself without adding meaning.
- Use lowercase consistently. URLs are case-sensitive, so /Blog/ and /blog/ can end up as two different pages. Pick lowercase throughout and stick to it.
- Use hyphens, not underscores. Hyphens make it easier for people and search engines to see where one word ends and the next begins.
- Avoid unnecessary special characters and parameters. Characters such as accented letters need percent-encoding, and URLs with lots of parameters can create large numbers of addresses pointing at the same or similar content, so use as few as you can.
- Be consistent with trailing slashes. A URL with and without a trailing slash can be treated as two different addresses. This is our recommendation rather than a documented Google rule, and we’re not aware of evidence that either version ranks better, so pick one and 301 redirect the other to it.
Common URL Mistakes To Avoid
| Mistake | Why It’s A Problem | The Fix |
| Keyword-stuffed paths | Reads as spammy to visitors and makes the URL harder to scan | Rewrite to the shortest descriptive version |
| Mixed case in the same path | Can be indexed as a separate, duplicate URL | Standardise on lowercase everywhere |
| Multiple live versions (www/non-www, with/without trailing slash, http/https) | Spreads links and other signals across duplicate URLs | Pick one canonical version, 301 redirect the rest |
| Changing a URL without redirecting the old one | Breaks inbound links and can lose the page’s existing rankings | Always 301 redirect old to new before removing a page |
| Long strings of tracking or filter parameters | Can create large numbers of near-duplicate URLs for Google to crawl | Keep parameters to the minimum needed, canonicalise the rest |
“The mistake I see most often is URLs with no logical hierarchy at all. Product pages, blog posts and service pages all sit at the same level, so there’s nothing in the URL that tells Google what kind of page it’s looking at. That wastes crawl budget and makes it much harder for crawlers to understand how the site is laid out and which pages should be prioritised for ranking. It’s usually something we spot manually, using a Screaming Frog crawl to work out which pages belong together in distinct groups.”
— Andrew Blanchard, SEO Account Manager
In Practice: Restructuring A Client’s URL Hierarchy
During a recent technical audit, we found that a client’s URLs followed no consistent structure. Their key product and service landing pages were indistinguishable from blog posts and other content, which made the site harder for Google to crawl and interpret.
We grouped all product and service landing pages into a single “products & services” category and redirected each URL to a new, consistent format: businessname.com/product-services/name-of-service. We then applied the same approach to blog posts, case studies, location pages and business information pages, giving each its own clear section of the site.
After the redirects were in place, we submitted an updated sitemap to Google. The site now follows a logical hierarchy that crawlers can easily follow, and we’ve significantly reduced the crawl budget being wasted on a disorganised structure.
Our Top Tip: Not sure whether your site has duplicate versions of its pages? Type one of your page addresses into your browser four ways: with and without www, and with http or https. Click into the address bar after each page loads to see the full address. Only one version should stay on screen, and the other three should jump to it automatically. Then try the same page with and without a trailing slash. If more than one version loads without redirecting, you have a duplicate URL that needs a 301 redirect. Some browsers upgrade http addresses to https on their own, so a clean result on the http versions does not prove your server redirects. If in doubt, ask whoever looks after your site.
FAQs
Not if it’s done carefully. The usual cause of lost rankings is leaving the old URL with nothing pointing from it to the new one. Redirecting every old URL to its new equivalent with a 301 is a strong signal to Google that the new URL should become the canonical one, but no redirect plan removes all risk, so only change URLs when there’s a good reason. Then update your internal links and sitemap to point straight at the new URLs, so you’re not relying on the redirects alone.
Our guide on setting up 301 redirects covers when and how to do this.
Not that we’re aware of. Google’s duplicate URL guidance doesn’t say either version is better, and the problem comes from leaving both live. Pick one and redirect everything else to it, the same way you’d handle any other duplicate URL. If you’re still deciding between www and non-www, see Is It Better To Use “www” or Not for SEO?
How Wildcat Handles This
Our technical SEO service includes URL checks: we look for URLs which are unsecure, too long, carry unnecessary parameters, or don’t reflect the page content and site structure. Where content is duplicated, we work with our content experts to change it or to implement canonicals.
If you’d like us to look at your own URLs, you can book a free consultation with our team.
Last Reviewed: 7 October 2026