Skip to content
    Moz logo Menu open Menu close
    • Products
      • Moz Pro
      • Moz Pro Home
      • Moz Local
      • Moz Local Home
      • STAT
      • Moz API
      • Moz API Home
      • Compare SEO Products
      • Moz Data
    • Free SEO Tools
      • Domain Analysis
      • Keyword Explorer
      • Link Explorer
      • Competitive Research
      • MozBar
      • More Free SEO Tools
    • Learn SEO
      • Beginner's Guide to SEO
      • SEO Learning Center
      • Moz Academy
      • SEO Q&A
      • Webinars, Whitepapers, & Guides
    • Blog
    • Why Moz
      • Agency Solutions
      • Enterprise Solutions
      • Small Business Solutions
      • Case Studies
      • The Moz Story
      • New Releases
    • Log in
    • Log out
    • Products
      • Moz Pro

        Your all-in-one suite of SEO essentials.

      • Moz Local

        Raise your local SEO visibility with complete local SEO management.

      • STAT

        SERP tracking and analytics for enterprise SEO experts.

      • Moz API

        Power your SEO with our index of over 44 trillion links.

      • Compare SEO Products

        See which Moz SEO solution best meets your business needs.

      • Moz Data

        Power your SEO strategy & AI models with custom data solutions.

      NEW Keyword Suggestions by Topic
      Moz Pro

      NEW Keyword Suggestions by Topic

      Learn more
    • Free SEO Tools
      • Domain Analysis

        Get top competitive SEO metrics like DA, top pages and more.

      • Keyword Explorer

        Find traffic-driving keywords with our 1.25 billion+ keyword index.

      • Link Explorer

        Explore over 40 trillion links for powerful backlink data.

      • Competitive Research

        Uncover valuable insights on your organic search competitors.

      • MozBar

        See top SEO metrics for free as you browse the web.

      • More Free SEO Tools

        Explore all the free SEO tools Moz has to offer.

      What is your Brand Authority?
      Moz

      What is your Brand Authority?

      Check yours now
    • Learn SEO
      • Beginner's Guide to SEO

        The #1 most popular introduction to SEO, trusted by millions.

      • SEO Learning Center

        Broaden your knowledge with SEO resources for all skill levels.

      • On-Demand Webinars

        Learn modern SEO best practices from industry experts.

      • How-To Guides

        Step-by-step guides to search success from the authority on SEO.

      • Moz Academy

        Upskill and get certified with on-demand courses & certifications.

      • SEO Q&A

        Insights & discussions from an SEO community of 500,000+.

      Unlock flexible pricing & new endpoints
      Moz API

      Unlock flexible pricing & new endpoints

      Find your plan
    • Blog
    • Why Moz
      • Small Business Solutions

        Uncover insights to make smarter marketing decisions in less time.

      • Agency Solutions

        Earn & keep valuable clients with unparalleled data & insights.

      • Enterprise Solutions

        Gain a competitive edge in the ever-changing world of search.

      • The Moz Story

        Moz was the first & remains the most trusted SEO company.

      • Case Studies

        Explore how Moz drives ROI with a proven track record of success.

      • New Releases

        Get the scoop on the latest and greatest from Moz.

      Surface actionable competitive intel
      New Feature

      Surface actionable competitive intel

      Learn More
    • Log in
      • Moz Pro
      • Moz Local
      • Moz Local Dashboard
      • Moz API
      • Moz API Dashboard
      • Moz Academy
    • Avatar
      • Moz Home
      • Notifications
      • Account & Billing
      • Manage Users
      • Community Profile
      • My Q&A
      • My Videos
      • Log Out

    The Moz Q&A Forum

    • Forum
    • Questions
    • Users
    • Ask the Community

    Welcome to the Q&A Forum

    Browse the forum for helpful insights and fresh discussions about all things SEO.

    1. Home
    2. Research & Trends
    3. Algorithm Updates
    4. Flat Structure URL vs Structured Sub-directory URL

    Moz Q&A is closed.

    After more than 13 years, and tens of thousands of questions, Moz Q&A closed on 12th December 2024. Whilst we’re not completely removing the content - many posts will still be possible to view - we have locked both new posts and new replies. More details here.

    Flat Structure URL vs Structured Sub-directory URL

    Algorithm Updates
    3
    5
    9458
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with question management privileges can see it.
    • newspore
      newspore last edited by

      We are finally taking our classifieds site forward and moving into a much improved URL structure, however, there is some disagreement over whether to go with a Flat URL structure or a structured sub-directory.

      I've browsed all of the posts and Q&A's for this going back to 2011, and still don't feel like I have a real answer. Has anyone tested this yet, or is there any consensus over ranking? I am in a disagreement with another SEO manager about this for our proposed URL structure redesign who is for it because it is what our competitors are doing.

      Our classifieds are geographically based, and we group by state, county, and city. Most of our traffic comes from state and county based searches. We also would like to integrate categories into the URL for some of the major search terms we see. The disagreement arises around how to structure the site. I prefer the logical sub-directory style:

      [sitename]/[category]/[state]/[county]/
      mysite.com/for-sale/california/kern-county/
      or
      [sitename]/[category]/[county]-county-[stateabb]/
      mysite.com/for-sale/kern-county-ca/

      I don't mind the second, except for when you look at it in the context of the whole site:

      Geo Landing Pages:
      mysite.com/california/
      mysite.com/los-angeles-ca-90210/

      Actual Search Pages:
      mysite.com/for-sale/orange-ca/[filters]

      Detail Pages:
      mysite.com/widget-type/cool-product-name/productid

      I want to make sure this flat structure performs better before sacrificing my analytics sanity (and ordered logic). Any case studies, tests or real data around this would be most helpful, someone at Moz must've tackled this by now!

      1 Reply Last reply Reply Quote 0
      • DirkC
        DirkC last edited by

        I didn't check all the references of Patrick - but yes, the way you build your url (folders or "flat") will have no impact on how you are positioned in the SERP's (if they contain the same keywords)- so both of the options you mentioned in your original question are equal if you only see it from SEO perspective.

        rgds

        Dirk

        1 Reply Last reply Reply Quote 1
        • newspore
          newspore last edited by

          Thanks Dirk and Patrick, those are both very helpful resources!

          Going back to my original question, even after reviewing all of these links, it appears that this is a preference issue, and not a performance one, yes?

          1 Reply Last reply Reply Quote 0
          • DirkC
            DirkC last edited by

            The resources mentioned  by Patrick are all good ones - I am even going to add one: http://www.bruceclay.com/blog/structured-urls/ . You don't even have to read it :

            • structured url's help semantics  - the folder like structure helps search engines understand how the site is structured
            • it's easier to check which pages are indexed as you can do a site:mysite.com/folder/
            • reporting is way easier with a structured url

            Apart from that, and probably most important argument: a site depth is measured on how many clicks you need to get to a page and how pages are cross-linked - Google is not counting the number of "/" in your url's to determine if your site is flat or not.

            rgds

            Dirk

            1 Reply Last reply Reply Quote 3
            • PatrickDelehanty
              PatrickDelehanty last edited by

              Hi there

              I personally like hierarchy and categorization. If I were you, I would check out these resources:
              How to Create a Site Structure That Will Enhance SEO (KISSmetrics)
              Information Architecture for SEO - Whiteboard Friday (Moz)
              Site Architecture & Search Engine Success Factors (SEL)
              User Redirection Based On Location Is Not Spam (SEL)
              Sitelinks (Google)
              Set up Site Search (Google)
              Categorize parameters with the URL Parameters page (Google)

              There are a TON of great resources above with lots of great information. I would suggest checking these out and passing along to your team and having a discussion.

              Hope that helps! Good luck!

              1 Reply Last reply Reply Quote 3
              • 1 / 1
              • First post
                Last post

              Got a burning SEO question?

              Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.


              Start my free trial


              Browse Questions

              Explore more categories

              • Moz Tools

                Chat with the community about the Moz tools.

              • SEO Tactics

                Discuss the SEO process with fellow marketers

              • Community

                Discuss industry events, jobs, and news!

              • Digital Marketing

                Chat about tactics outside of SEO

              • Research & Trends

                Dive into research and trends in the search industry.

              • Support

                Connect on product support and feature requests.

              • See all categories

              Related Questions

              • tejasbansode

                Should we include URLs with parameters in the sitemap?

                Hi, I wanted to know whether we can include URLs with search parameters in the sitemap. Currently, we are trying to append structured data for our job listing page. There happens to be a large number of job listings around 1000 pages with unique job-id and location. Should we add these pages in the sitemap or is there any other solution to this? Regards, Tejas

                Algorithm Updates | | tejasbansode
                0
              • vtmoz

                Sub-domain with spammy content and links: Any impact on main website rankings?

                Hi all, One of our sub-domains is forums. Our users will be discussing about our product and many related things. But some of the users in forum are adding a lot of spammy content everyday. I just wonder whether this scenario is ruining our ranking efforts of main website? A sub domain with spammy content really kills the ranking of main website? Thanks

                Algorithm Updates | | vtmoz
                0
              • vtmoz

                Do sub-domain visits do not count for website?

                It's a common understanding that Google treats sub-domains as different websites. Does that mean visits of sub-domain do not impact website in-terms of ranking or visibility or reputation at Google?

                Algorithm Updates | | vtmoz
                0
              • KempRugeLawGroup

                Directories and Domain Authority

                I read all the time about how directories have very little weight in SEO anymore, but in my field, a lot of our competitors are propped up by paying for "profiles" aka links from places like martindale-hubbard, superlawyers, findlaw, nolo, Avvo, etc (which are essentially directories IMO) yet all those sites have very high DAs of 80 and above. So, are links from these sites worth it? I know that's a vague questions, but if Moz's algo seems to rank them so highly, I'm guessing that's reasonably close to what google thinks as well...maybe? Thanks for any insight, Ruben

                Algorithm Updates | | KempRugeLawGroup
                0
              • Mustansar

                URLs contains other language than English

                I am in need of your advice in regards to urls of my new sites. I have got one site from gulf region site is in English and Arabic language. The issue is we are getting url from both. Some are Arabic, do you guys think it will effect the ranking result? url example is : www.mydomain.com/بيع-بي-سيارة

                Algorithm Updates | | Mustansar
                0
              • Superflys

                Sub-domain or sub-directory for mobile version

                sub-domain or sub-directory for mobile version advantages or dis-advangages?

                Algorithm Updates | | Superflys
                0
              • hehhreh

                Capital Letters in URLS?

                Remove

                Algorithm Updates | | hehhreh
                0
              • BluespaceCreative

                Hyphens vs Underscores

                I am optimizing a site which uses underscores rather than hyphens as word separators (such_as_this.php vs. such-as-this.php). Most of these pages have been around since 2007, and I am hesitant to just redirect to a new page because I am worried it will cause the rankings to slip. Would you recommend changing the file names to be in hyphenated format and place 301 redirects on the pages with underscores, or stick with the existing pages? Is there anything else that would work better? Thanks!

                Algorithm Updates | | BluespaceCreative
                1

              Get started with Moz Pro!

              Unlock the power of advanced SEO tools and data-driven insights.

              Start my free trial
              Products
              • Moz Pro
              • Moz Local
              • Moz API
              • Moz Data
              • STAT
              • Product Updates
              Moz Solutions
              • SMB Solutions
              • Agency Solutions
              • Enterprise Solutions
              Free SEO Tools
              • Domain Authority Checker
              • Link Explorer
              • Keyword Explorer
              • Competitive Research
              • Brand Authority Checker
              • MozBar Extension
              • MozCast
              Resources
              • Blog
              • SEO Learning Center
              • Help Hub
              • Beginner's Guide to SEO
              • How-to Guides
              • Moz Academy
              • API Docs
              About Moz
              • About
              • Team
              • Careers
              • Contact
              Why Moz
              • Case Studies
              • Testimonials
              Get Involved
              • Become an Affiliate
              • MozCon
              • Webinars
              • Practical Marketer Series
              • MozPod
              Connect with us

              Contact the Help team

              Join our newsletter
              Moz logo
              © 2021 - 2025 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
              • Accessibility
              • Terms of Use
              • Privacy

              Looks like your connection to Moz was lost, please wait while we try to reconnect.