Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Flat or chaotic URL structure: how to build a topical hierarchy

SEO-121Low impactOther toolBy FunnelGuardPublished Updated
On this page

What this issue is

A URL structure is the pattern of folders in your page addresses. A hierarchical one looks like /services/google-ads/audit/. A flat or chaotic one looks like /google-ads-audit-service-new-2, /page-17 or /blog/2021/05/12/post, with no shared logic between pages.

Why it costs you leads or sales

Clear folders make it easier for crawlers, AI tools and people to see which pages belong to a topic. When URLs are random, three things get harder:

What a chaotic structure makes harder
  • Seeing which pages support a main service or category, so topic authority is spread thin.
  • Spotting gaps, duplicates and orphaned pages when you audit the site.
  • Reading performance by section in analytics, because you cannot filter by folder.
  • Trust at a glance: a readable address in search results looks more relevant than /p?id=88.
  • Safe growth: new pages get placed ad hoc, which makes the mess worse.
Time to analyse performance by sectionExample numbers
Time to analyse performance by section (example)Flat URLs: 45 minutes; Topic folders: 5 minutes01734455Flat URLsTopic foldersminutes

Example: illustrative time to report on one topic's pages. With a folder you filter once; without it you list pages by hand.

How to check if your site has it

Audit your URL pattern
  1. Export all indexable URLs

    Use your XML sitemap (usually /sitemap.xml) or a crawler such as Screaming Frog. Put the URLs in a spreadsheet.

  2. Split by folder

    Count how many URLs sit at the root and how many fall under each first folder. A long list at the root, or dozens of one-off folders, is the warning sign.

  3. Look for mixed patterns

    Check whether similar pages use different structures, such as /services/seo and /seo-service-london, or dates in some blog URLs and not others.

  4. Group pages by topic

    Write the main topics your business sells or explains. Mark which URLs belong to each and see if the addresses reflect it.

  5. Check Search Console

    In Google Search Console, open Performance and use a Page filter with 'URL contains' on a folder. If your sections cannot be filtered this way, the structure is not helping you.

Examples of flat or chaotic URLs and a cleaner pattern
Current URLProblemCleaner URL
/google-ads-audit-service-new-2Long, no section, version suffix/services/google-ads-audit/
/page-17No meaning/guides/conversion-tracking/
/blog/2021/05/12/ga4-setupDate folders, no topic/guides/ga4/setup/
/shoes-red-running-mensCategory buried in the slug/mens/running-shoes/red/

How to fix it

The fix has two parts: design the structure, then move pages safely. Do the design first on paper. Do not change anything live until you have a redirect map.

Build a topical hierarchy
  1. Pick 3 to 8 top-level topics

    These become your first folders, such as /services/, /guides/, /pricing/ or product categories. Use plain words your customers use.

  2. Keep depth shallow

    Aim for two or three levels, for example /services/seo/audit/. Deeper paths add length without adding meaning.

  3. Write a redirect map

    List every old URL beside its new URL in a spreadsheet. Only change URLs where the benefit is clear; leave well-performing pages alone if the move adds risk.

  4. Apply the new structure

    Use the platform steps below to change slugs, parents or folders.

  5. Add 301 redirects

    Send each old URL to its new URL with a permanent 301 redirect, one hop only. Make sure UTM parameters and gclid survive the redirect so ad tracking is not lost.

  6. Update internal links, sitemap and canonicals

    Change menu links, in-content links, canonical tags and the XML sitemap to the new URLs so nothing depends on the redirect.

Apply the structure on your platform
  1. Set permalinks

    Go to Settings > Permalinks and choose Post name. Avoid date-based structures unless you run a news site.

  2. Use parent pages

    For pages, set a Parent in the Page Attributes panel so the URL becomes /parent/child/.

  3. Redirect old URLs

    Use a redirect plugin such as Redirection, or your SEO plugin's redirect manager, to add 301s from the map.

Example 301 redirects in nginxnginx
location = /google-ads-audit-service-new-2 {
  return 301 /services/google-ads-audit/;
}
location = /page-17 {
  return 301 /guides/conversion-tracking/;
}
What a careless URL migration breaks
  1. Ad or search clickPoints to the old URL
  2. Old URLReturns 404, no redirect
  3. Landing pageNever reached
  4. Form or checkoutNo conversion

If the old URL has no working redirect, the visitor and the ad click never reach the page.

How to confirm it's fixed

Post-change checks
  • Crawl the site again and confirm URLs follow the pattern, with no mixed styles.
  • Test every old URL in your map: one 301 hop, final status 200.
  • Open an old URL with ?utm_source=test&gclid=abc and confirm the parameters reach the new URL.
  • Confirm internal links, canonicals and the sitemap use only new URLs.
  • Submit the updated sitemap in Google Search Console and watch Pages for new 404s or 'Page with redirect' surprises.
  • Filter Search Console Performance by a folder to confirm you can now report by topic.

How to prevent it happening again

Habits that keep the structure clean
  • Write a short URL convention (folders, lowercase, hyphens, no dates) and share it with everyone who publishes.
  • Decide the folder before creating any new page.
  • Review the sitemap by folder each quarter and fold stray pages into a topic.
  • Keep a living redirect map so later changes do not create chains.
  • Add a hub page for each folder that links to its child pages.

How FunnelGuard handles this

FunnelGuard does not check URL structure today. Judging whether a site's hierarchy is sensible is a possible future check, not a current feature.

What FunnelGuard does cover nearby is the risk of a URL migration. A robot visitor runs your real journeys on a schedule, such as lead forms and checkouts, and checks each step and the tracking hits sent to ad and analytics platforms. After you move pages, a journey that starts on a changed URL, or one where redirects drop tracking, can show up as a failed step, with a screenshot and a likely cause. It does not tell you whether your hierarchy is well designed.

Questions people ask

What is a flat URL structure?

A flat URL structure puts most pages directly under the domain, such as example.com/seo-audit, with few or no folders. It works for small sites but gives less context on larger ones, because nothing in the address shows which topic a page belongs to.

Is a flat URL structure bad for SEO?

Not by itself. URL folders are a minor signal, and search engines mostly learn structure from internal links and content. A flat structure becomes a problem on larger sites where it makes grouping, auditing and reporting by topic harder.

How do I organise my website URLs by topic?

Choose 3 to 8 main topics, make each a top-level folder, and place related pages beneath it, such as /services/seo/audit/. Keep paths two or three levels deep, use lowercase words with hyphens, and link each folder's hub page to its children.

Will changing my URL structure hurt my rankings?

It can if done badly. Use one-hop 301 redirects from every old URL to its new one, update internal links and the sitemap, and avoid moving pages that already perform well unless there is a clear benefit. Expect some short-term movement even when done correctly.

How deep should my URL folders go?

Two or three levels is enough for most sites. Extra levels make addresses long without adding meaning, and they often signal pages buried too far from the home page.

Do I need to keep UTM parameters when I redirect URLs?

Yes. A redirect that strips utm parameters or gclid breaks campaign attribution. After setting redirects, open an old URL with test parameters and confirm they arrive on the new URL.

Can Shopify have a hierarchical URL structure?

Only partly. Shopify forces prefixes like /collections/ and /products/, so you cannot build custom folders for those. You can still use clear handles, organised collections and well-linked hub pages.

Does FunnelGuard check my URL structure?

No. FunnelGuard does not check URL hierarchy today. It does run your real customer journeys on a schedule, so it can reveal broken steps or lost tracking after a URL change.

Does FunnelGuard catch this?

Other tool

Needs a different kind of tool.

Stop finding out from your customers

FunnelGuard runs your real forms and checkouts on a schedule, checks the tracking and the leads behind them, and alerts you once, with a screenshot. Try any paid plan free for 3 days.