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
      • MozCon
      • Webinars, Whitepapers, & Guides
    • Blog
    • Why Moz
      • Digital Marketers
      • Agency Solutions
      • Enterprise Solutions
      • Small Business Solutions
      • 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.

      Let your business shine with Listings AI
      Moz Local

      Let your business shine with Listings AI

      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.

      NEW Keyword Suggestions by Topic
      Moz Pro

      NEW Keyword Suggestions by Topic

      Learn more
    • 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.

      • MozCon

        Save on Early Bird tickets and join us in London or New York City

      Unlock flexible pricing & new endpoints
      Moz API

      Unlock flexible pricing & new endpoints

      Find your plan
    • Blog
    • Why Moz
      • Digital Marketers

        Simplify SEO tasks to save time and grow your traffic.

      • 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.

      • 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. SEO Tactics
    3. On-Page Optimization
    4. URL best practices, use folders or not ?

    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.

    URL best practices, use folders or not ?

    On-Page Optimization
    4
    10
    2077
    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.
    • 77Agency
      77Agency last edited by

      Hi

      I have a question about URLs. Client have all URL written after domain and have only one / slash in all URLs. Is this best practice or i need to use categories,folders?

      Thanks

      1 Reply Last reply Reply Quote 0
      • Dr-Pete
        Dr-Pete Staff @77Agency last edited by

        It's a trade-off, for both SEO and users, and I don't think there's one answer that fits every situation. The category level can add information, but it also makes URLs longer, which can be bad for both bots and people. If you have short, descriptive categories that aren't repeated in the product/page names, and those categories mimic your site structure, then I think it can be positive.

        My argument was mostly against people adding categories just for SEO benefit (it's probably minimal, at best) or repeating every category, sub-category, etc. to the point of absurdity, causing keyword cannibalization and massive URLs. For example:

        www.bobscamerashop.com/cameras/digital-cameras/canon-cameras/eos-cameras/camera-canon-eos-rebel-t3

        Of course, that's also keyword stuffed, but I'm exaggerating to prove a point. You can go too far in either direction.

        In general, though, I don't think categories in the URL are necessarily bad. In some cases, as Woj said, they could be a positive for users and possible even SEO.

        1 Reply Last reply Reply Quote 2
        • wojkwasi
          wojkwasi @77Agency last edited by

          Think about it from the user's point of view. What would work best for them? Maybe even get some feedback from some site users if possible

          1 Reply Last reply Reply Quote 0
          • wojkwasi
            wojkwasi @77Agency last edited by

            Will the site categories/products grow? If so, then the slash could be used to organise the structure & prepare for the future

            In the example, you presented:

            1. www.example.com/accounts-titanium
            2. www.example.com**/**accounts/titanium

            These are the same length & make no real difference

            When we compare these 2, however:

            1. www.example.com/open-demo-account
            2. www.example.com/accounts/open-demo-account

            You can see that #1 is shorter, doesn't repeat keyword (even though they are plural) & would be more likely clicked in the SERPs

            Does that help some more?

            1 Reply Last reply Reply Quote 1
            • 77Agency
              77Agency last edited by

              http://www.seomoz.org/blog/should-i-change-my-urls-for-seo

              In this article point 2 is saying that the unstructured is better 😃 so i`m confused.

              wojkwasi Dr-Pete 2 Replies Last reply Reply Quote 0
              • 77Agency
                77Agency @77Agency last edited by

                the site is small about 60 pages and max depth level is 3

                1 Reply Last reply Reply Quote 0
                • wojkwasi
                  wojkwasi @77Agency last edited by

                  I'd use folders or categories if the amount of products/items is large and/or going to expand

                  If it's a small amount & finite then make the URLs as short as possible 🙂

                  1 Reply Last reply Reply Quote 1
                  • lavellester
                    lavellester @77Agency last edited by

                    Information architecture is important from a usability and search engine prospective.

                    I'd say go for the categories divided by the /

                    www.example.com**/**accounts/titanium
                    www.example.com/accounts/open-demo-account

                    This makes more sense and lends itself to scalability etc.

                    hope this helps.

                    there are some really good articles on information architecture on the seomoz and the web

                    1 Reply Last reply Reply Quote 0
                    • 77Agency
                      77Agency @lavellester last edited by

                      URL is without any category or folder

                      www.example.com/credits

                      www.example.com/accounts-titanium

                      www.example.com/accounts-demo

                      www.example.com/open-demo-account

                      is this right or i need to use:

                      www.example.com**/**accounts/titanium

                      www.example.com/accounts/open-demo-account

                      lavellester wojkwasi 77Agency 4 Replies Last reply Reply Quote 0
                      • lavellester
                        lavellester last edited by

                        not quite sure what you mean exactly - can you expand with and example?

                        Thanks

                        77Agency 1 Reply Last reply Reply Quote 1
                        • 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

                        • MichaelJanik

                          I have a site with jokes. What schema markup could I use?

                          My site is about jokes. I wonder what schema markup could I use to be more visible in the search results.

                          On-Page Optimization | | MichaelJanik
                          0
                        • NickG-123

                          Best Tool for Retrieving Multiple URL Word Counts in Bulk?

                          I am doing some content analysis with over 200 URLs to go through! Does anybody know of, or can recommend any bulk on-page word count checkers which would help with the heavy lifting? Any suggestions are greatly appreciated. Thanks!

                          On-Page Optimization | | NickG-123
                          0
                        • Matthew_smart

                          Home page keyword in url

                          I have been looking into SEO for a few weeks now trying to perfect a homepage. Going through various sources on MOZ, and other examples out there on the internet, I keep seeing that you should have your keyword in the URL of the page. The homepage is the page most people want to rank the highest in google searches, however, you cannot put the keyword in the URL as most home page URLs are simply /. Should I actually make the home like this: www.example.com/key-word-example? I would imagine this would not be the normal for many users and would seem like it's not the home page.

                          On-Page Optimization | | Matthew_smart
                          0
                        • K-WINTER

                          SEO can id and class be used in H1?

                          Can ID and class be used in my H1 tag. I realize best case would be to change it, but it's going to require a change order from the ecommerce company to fix their sloppy code. Will this hurt seo? Example:

                          On-Page Optimization | | K-WINTER
                          0
                        • muminaydin

                          Url structure with dash or slash

                          Hi There We have a content website. We don't rank well category image related searches but we get quite good traffic for those keywords. Those keywords are mostly like "category images". We want to change our url structure and we have 2 options now. 1- domain.com/category/category-images 2-domain.com/category/images option 1 repeats the category name so it looks spammy option 2 doesn't really have the keyword. any ideas which one tho choose? Thanks! ps: we don't want to use domain.com/category-images (too many root link)

                          On-Page Optimization | | muminaydin
                          0
                        • neenor

                          How to exclude URL filter searches in robots.txt

                          When I look through my MOZ reports I can see it's included 'pages' which it shouldn't have included i.e. adding filtering rules such as this one http://www.mydomain.com/brands?color=364&manufacturer=505 How can I exclude all of these filters in the robots.txt? I think it'll be: Disallow: /*?color=$ Is that the correct syntax with the $ sign in it? Thanks!

                          On-Page Optimization | | neenor
                          0
                        • HochKaren

                          Best practice for Portfolio Links

                          I have a client with a really large project portfolio (over 500 project images), which causes their portfolio page to have well over the 100 links that are recommended.  How can I reduce this without reducing the number of photos they can upload?

                          On-Page Optimization | | HochKaren
                          0
                        • SeoMartin1

                          URLs and folder structure for an E-commerce

                          Hi there !-) I´m helping a friend who has a e-commerce about nail polish in Brazil. I´m a little in doubt about the urls and folder structure. Two questions: 1. There are 10 products per category and 50 categories. Should I put them all in the root folder or creat 2 major categories ( 25 sub-categories each one)? 2. Whats the better product page url ( the store has around 500) nailpolish.com/IMPORT/BRAND/NAME-OF-THE-PRODUCT OR nailpolish.com/COMPLETE-NAME-OF-THE-PRODUCT Whats the best recomandation?

                          On-Page Optimization | | SeoMartin1
                          0

                        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
                        • Digital Marketers
                        Free SEO Tools
                        • Domain Authority Checker
                        • Link Explorer
                        • Keyword Explorer
                        • Competitive Research
                        • Brand Authority Checker
                        • Local Citation 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.