Customers & growth · SEO & search marketing

URL structure optimization

Best for Early Startup

DOMAINFOLDERSSLUG

Use it when

Your page addresses are hard to read, inconsistent or full of IDs and parameters, and you need one URL pattern for new pages and a plan for old ones.

Skip it when

  • The site's sections and menus are still being planned. Run Site architecture framework first, since URLs mirror its hierarchy.
  • You have not worked out how users group and name the content. Use Information architecture framework.
  • The URLs are clean but important pages get few internal links. Use Internal linking strategy.
  • Several URLs show the same content and you need to choose the preferred one. Use Canonical URL management.

What to apply first and what to use instead are listed below.

Approaches

Rules for new pages only

Existing URLs stay as they are, and the URL rules apply to every page published from now on.

  • Pro No redirects are needed, so rankings and links on current pages are untouched.
  • Con Old ID-based or messy addresses stay live, so the site carries two patterns for a long time.

Rewrite existing URLs with redirects

URLs that break the rules are changed, and each old address gets a permanent redirect to its new one.

  • Pro The whole site follows one readable pattern, and duplicate or parameter URLs are cleaned up.
  • Con Rankings can move for weeks while Google recrawls, and every missed redirect loses traffic and links.

Inputs

  • URL inventory
    Every indexable URL with its template type, status code and canonical, from a site crawl and the CMS, as of today.
  • Site hierarchy
    The section and subsection each page belongs to, from the Site architecture framework output.
  • Page value data
    Organic clicks per URL for the last 12 months from Search Console, and referring domains per URL from a backlink tool.
  • Target keywords
    The main search term for each important page, in the words your audience uses, from keyword research.
  • Platform limitsOptional
    What the CMS and server allow for slugs, letter case, trailing slashes and redirect rules, from the developer team.

Steps

  1. Write the URL rules, covering readable words in the audience's language, hyphens between words, one letter case, folders that follow the hierarchy, no dates or session IDs, and only parameters that change the content.
  2. Check every URL in the inventory against the rules and tag each one keep, change or block.
  3. Weigh each URL tagged change by its clicks and referring domains, and keep high-value URLs unless they cause duplicates or crawl problems.
  4. Write the new address for each URL you will change, cut down to its main keyword, and map the old URL to it with a 301 or 308 redirect that goes there in one hop.
  5. Control URLs that only filter, sort or track with robots.txt rules or canonical tags, and move session IDs into cookies.
  6. Launch the changes, point internal links, canonicals and the sitemap at the new addresses, and recrawl to confirm every old URL redirects in one hop.

Output

A URL rule sheet for new pages and a change map that lists every current address, the decision taken and its new address.

  • Current URL
  • Page type and section
  • Rule broken
  • Organic clicks and referring domains
  • Decision (keep, change or block)
  • New URL
  • Redirect type and status
  • Internal links, canonical and sitemap updated

Done when

  • The URL rules are written and the CMS applies them by default to new pages.
  • Every URL in the inventory has a keep, change or block decision.
  • Every changed URL redirects to its new address in one hop with a 301 or 308.
  • No internal link, canonical tag or sitemap entry points to an old URL.
  • No URL that only sorts, filters or tracks is open to crawling unless you chose to keep it.

Measure

Track indexed pages, crawl errors and organic clicks for the changed URLs in Search Console for 8 to 12 weeks after launch. Compare with the 8 to 12 weeks before and the same weeks last year. Expect some ranking movement while Google recrawls. It worked when the new URLs replace the old ones in the index and clicks return to or beat your baseline. Keep the redirects for at least a year.

Hypothetical example

Fernhill Books, an online bookshop, crawled 9,400 URLs. Product pages used addresses like /p?id=88213&sessionid=x7, and blog posts sat under dated folders. The team wrote rules for lowercase words, hyphens and folders by genre. Blog posts with strong links kept their dated URLs. The 6,200 product pages moved to paths such as /fiction/the-salt-orchard, each with a 301 from its old address. Session IDs moved into cookies, and sort parameters were blocked in robots.txt. The recrawl showed every old URL redirecting in one hop. Within ten weeks the new product URLs were indexed and product clicks were 6 percent above the same weeks last year.

Common mistakes

  • Rewriting high-ranking URLs only to add keywords. Keep URLs that work and apply the rules to new pages.
  • Sending many old URLs to the home page. Redirect each one to the page that replaces it.
  • Chaining redirects through earlier moves. Point every old URL straight at its final address.
  • Putting dates or numbers in slugs that will need updating. Leave them out so the page can be refreshed without a new URL.
  • Removing redirects after a few months. Keep them for at least a year, and longer while links still point at the old URLs.

Sources

Show all 4 sources

By company stage

  1. Pre-IdeaNot applicableThere is no site to structure.
  2. IdeaUsefulClean slugs are cheap to set from the start but not decisive.
  3. Early StartupCriticalSetting URL structure early avoids rework as content for an organic channel grows.
  4. StartupUsefulMostly settled but must be maintained as content scales.
  5. GrowthUsefulRegional and segment pages need consistent hierarchy rules.
  6. ScaleUsefulMultiple products need governed URL conventions and migrations.
  7. EnterpriseUsefulHandled by established SEO governance and rarely a priority.

Apply first

Use instead

Recommended resources

No sponsored resources on this framework yet. Sponsored listings would be labelled here, never in search.

Progress is not saved until you have an account. Create a free account