URL Structure
URL Structure refers to the consistent, deliberate organisation of a site’s URLs - the path conventions, parameter handling, hierarchy, and naming rules that determine what a URL looks like for each page. A well-designed URL structure makes the site more usable, more crawlable, and more resilient to change. A poorly-designed structure creates compounding technical debt that’s painful to unwind, because URL changes are expensive to roll back cleanly.
Anatomy of a URL
A URL has several parts, each with specific structural implications:
https://example.com/products/category/item-name?utm_source=google#reviews
| | | | | |
protocol domain path 1 path 2 item slug query fragment
For URL structure purposes, the parts that most often need design decisions are:
Subdomain vs subdirectory. blog.example.com vs example.com/blog. Subdirectories concentrate SEO equity on the main domain; subdomains partially isolate it. Modern SEO advice weights subdirectory, with exceptions for genuinely distinct products or language variants.
Path hierarchy. How deep the URL nests. /a/b/c/d/e/item vs /item. Deep hierarchies are sometimes necessary for navigation; flat structures tend to concentrate authority and be easier to maintain.
Slug conventions. Hyphens vs underscores (hyphens are preferred by Google), lowercase vs mixed case (lowercase prevents duplicate-URL issues), descriptive vs ID-based (descriptive is better for SEO, ID-based is stable through content changes).
Query parameters. ?utm_source=x&sort=price. Handled via canonical URLs to avoid duplicate-content issues.
Trailing slash. /about/ vs /about. Pick one convention and enforce with redirects. Inconsistent handling causes duplicate-URL problems.
Principles of good URL structure
Six that tend to compound well:
Human-readable. A user reading the URL out loud should understand roughly what the page is. /blog/how-to-write-seo-copy beats /node/284ce9ff. SEO and usability align here.
Descriptive without being keyword-stuffed. The slug should describe the page accurately but shouldn’t be a 15-word incantation. /how-to-write-seo-copy beats /ultimate-guide-to-seo-copywriting-for-content-marketers-and-founders-2026.
Hierarchical where hierarchy helps navigation. Product categorisations, article series, docs structure. The hierarchy should reflect the information architecture, not arbitrary database structure.
Stable over time. URLs shouldn’t change unless necessary. When they do, 301 redirects from old to new preserve equity and user experience.
Lowercase only. URLs are technically case-sensitive (though most servers normalise). Using lowercase consistently prevents /About and /about both serving content.
No stop words that add noise. “The”, “of”, “and” rarely improve understandability in URLs and add length. Drop them unless they’re meaningful.
Common URL structure mistakes
Four patterns to avoid:
Date-based slugs when the content isn’t date-relevant. /2024/03/14/how-to-write-seo-copy means the URL goes stale in a year. Evergreen content should use evergreen URLs.
Category embedded in the slug. /blog/category/subcategory/item. If the item moves categories, the URL changes. Flat structures age better.
Parameter-heavy URLs for important pages. /products?id=123&variant=blue&category=shirts. Hard to remember, share, and rank. Important pages deserve clean paths.
Inconsistent conventions across the site. Blog uses /blog/post-name, products use /p/123, docs use /docs/section/article/. Each section works; the inconsistency makes migrations and audits harder than they need to be.
Migrating URL structure
URL migrations are among the riskiest SEO operations. Five disciplines:
Build a full redirect map before cutover. Every old URL mapped to a new URL (or to a deliberate 404/410). Verify the map by spot-checking; large migrations have systematic mapping errors that only show after deploy.
Use 301s, not 302s. Permanent redirects preserve ranking equity. 302s suggest the old URL will return, which delays or prevents consolidation.
Avoid redirect chains. old → intermediate → new loses equity and wastes crawl budget. Flatten every chain to a single hop.
Monitor post-migration closely. Track organic traffic, index coverage, and crawl error rates for 8–12 weeks. Migrations often produce a temporary 5–15% traffic dip that recovers; they can also produce structural problems that don’t self-correct.
Update internal links. After migration, internal links still pointing at old URLs produce unnecessary redirect hops. Batch-update internal references to new URLs directly.
URL structure for internationalisation
Three common approaches:
ccTLD (country-code top-level domain). example.fr, example.de. Strongest local SEO signal; operationally expensive (separate domains).
Subdirectory with language prefix. example.com/fr/, example.com/de/. Consolidates SEO authority on one domain; easier to manage. Usually the recommended approach.
Subdomain with language prefix. fr.example.com, de.example.com. Middle ground; partial authority isolation.
Combine with hreflang tags regardless of approach, so Google serves the right language variant to the right audience.
We built Penfriend to produce content with clean, stable URL structures by default. URL hygiene is the kind of invisible infrastructure that costs nothing to get right upfront and costs years to fix retroactively.
Related terms
- URL (Uniform Resource Locator) - the fundamental unit URL structure organises
- Canonical URL - the deduplication mechanism for URL variants
- Redirect - the mechanism for URL-structure changes
- On-Page Optimization - URL structure is a technical on-page element
- Search Engine Optimization (SEO) - the discipline URL structure serves
