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. Folders or no folders in 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.

    Folders or no folders in url?

    Algorithm Updates
    2
    10
    4663
    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.
    • bellezze
      bellezze last edited by

      What's best for SEO: a folder or no folder?

      For example: https://domain.com/arizona-dentist/somecontent or just https://domain.com/somecontent.

      The website has 100+ pages with "dentist" within the content of the somecontent pages, as well as specific pages for /arizona-dentist/. Also, the breadcrumb for the somecontent page would appear something like follows: Arizona Dentist > Some Content ... you can find the somecontent page from the Arizona Dentist page.

      I didn't include folders in the path because I did not want the url to be too long. In terms of where it is showing up on google search results...it is within the top 3-4 on the first page when searching Arizona dentist come content.

      The website is pretty organized even without subfolders because it was made using Umbraco.

      I am wondering if using folders will increase the SEO ranking, or if it really doesn't and could hurt it if paths become too long; especially since it's not doing too bad in the search ranking right now.

      -Thanks in advance for any help.

      1 Reply Last reply Reply Quote 0
      • MrWhippy
        MrWhippy @bellezze last edited by

        No problem,

        I have just been going through the links and the consensus seems to be that it is best to leave alone.

        So yes I would leave it alone, but keep in mind for future sites as keywords in URLs are a ranking factor but only a small one. I haven't found anything that does an analysis of keyword in URL versus short URL for mobile which would be interesting.

        Thanks for your patience whilst we sorted that out.

        1 Reply Last reply Reply Quote 0
        • bellezze
          bellezze @MrWhippy last edited by

          Thank you very much! I will look at those links.

          I think your last line sums everything up! It might be best to leave things as is right now, since the site won't grow that much larger for the time being (not that I am aware of anyway).

          MrWhippy 1 Reply Last reply Reply Quote 0
          • MrWhippy
            MrWhippy @bellezze last edited by

            Have you done an analysis to see if there is any difference in mobile and desktop? I ask as the main reason for shorter URLs is to make them mobile friendly as far as i am aware.

            I think as long as you are consistent across all of your URL structures and the information and pages are in an organised manner then you will be OK.

            I am not totally convinced that removing the lawyer from the URL would have much of a negative or positive impact on the results you are seeing. Unfortunately without testing fully there is no way to know. And I wouldn't want to test something like this on a production site that is starting to see traffic.

            Side note: it is good practice having the keyword in the URL where it naturally makes sense

            Also another consideration is do you plan on adding a lot more pages in the future? if you do then you need to consider the benefits of organising the site now before you add those pages against leaving as is.

            I am not that familiar with Umbraco unfortunately.


            I have done some more digging and found some more pages that may help.

            https://www.hobo-web.co.uk/search-engine-friendly-urls/

            https://www.searchlaboratory.com/2016/02/do-keywords-in-urls-still-have-an-impact-on-rankings-experiment/

            https://moz.com/blog/15-seo-best-practices-for-structuring-urls

            https://moz.com/learn/seo/url

            I know i seem to be sitting on the fence here, I am not really sure which is the best way to move forward.

            If you are planning on adding lots more pages or categories then i would seriously consider tidying the URLs up with 301 redirects to save on work in the future.(again this needs considering against the potential affects on SERPS and traffic)

            If you are not planning on adding lots more pages then I would leave as is.

            bellezze 1 Reply Last reply Reply Quote 1
            • bellezze
              bellezze @MrWhippy last edited by

              Thank you for your responses!

              It does help! The site has been around for ~1 year and within the last 6 months has been doing well but could do better.

              So you would leave out "law" or "lawyer" in the folders (eg: /business/commercial-contracts instead of /business-law(yer)/commercial-contracts). This would require changing the category pages to remove "lawyer" (eg: /business-lawyer/ page would now become /business/); the 301 redirects are not a problem with Umbraco.

              So it is a question of whether changing the /business-lawyer/ page to remove lawyer, and then organizing each page (some-content) inside the appropriate categories (i.e. /business/some-content) would help or hurt the site. Right now the /business-lawyer/ page is doing quite well, so changing the page to remove "lawyer" would need to be offset by adding more content referring to lawyers within the page, and this might not guarantee the same link juice. However, by organizing the some-content pages inside the various categories those pages might increase.

              I guess there is no way of knowing without doing it, but the risk of losing the juice for /business-lawyer/ might outweigh any POTENTIAL benefit of adding the some-content to each category (/business/some-content), which based alone on the url path might not help SEO given the fact that "business" is just 1 of 3 keywords typed into google ("business lawyer [the target area]"). I think I might just leave it alone without adding some-content to each category, but instead keeping the url path short and some-content directly after the domain.

              What are your thoughts based on this rationale? Again, I really do appreciate your help!

              MrWhippy 1 Reply Last reply Reply Quote 0
              • MrWhippy
                MrWhippy @bellezze last edited by

                Thanks for sharing the link and extra info that has cleared things up greatly for me.

                Having looked at the site(nice site by the way) I would say your question now depends on how old the site is and how well each page is currently doing.

                If i was to make a site like that from the start i would use the categories you have used under practice areas to separate the content into different areas. I would probably avoid using law in each category however i don't think it will make to much difference.

                If the site has been around for a while then i would leave as is unless you want to go to the effort of 301 the pages to the new URL's. it might be a good idea to 301 the old URLS if google has already indexed some of the pages even if it is a new site.

                Looking at the site you have 6 referring domains so either option is open to you, it depends on the timescale you have to do it.

                Remember though a nicely organised site that is well categorised with good internal linking, will help your users and the search engines navigate the site and understand the topic of the page.

                If you do it, I would use your favourite crawl bot to make sure that there are no broken URLS.

                Does this help?

                bellezze 1 Reply Last reply Reply Quote 0
                • bellezze
                  bellezze @MrWhippy last edited by

                  This post is deleted!
                  MrWhippy 1 Reply Last reply Reply Quote 0
                  • MrWhippy
                    MrWhippy @bellezze last edited by

                    No problem, I am sure we can come to a sensible resolution.

                    If all of your site is related to dentist then I think I would leave that out of the folder names and use the other terms like cavity or root-canal as the folder names.

                    If however your site is about various different services in different cities then you have a few options.

                    Possible folder and URL structures.

                    1. somedomain/cavity/somecontent
                    2. somedomain/city/cavity/somecontent
                    3. somedomain/somecontent
                    4. somedomain/city/dentist/cavity/somecontent
                    5. somedomain/dentist/city/cavity/somecontent
                    6. somedomain/dentist/cavity/somecontent

                    There are pros and cons to each of the above and it really depends on where your site breaks down into different offerings of content.

                    If your site is all about dentists and you have different content for each city then option 2 is probably good as it will help visitors and search engines see they are in the right place.

                    if you have different services and the content for each city is different then option 5 may work.

                    The big question is how and where you differentiate your content. There are loads of options but the main thing is to make sure it is consistent and that you are not duplicating content across pages. The duplication of content also means you are not using the same content rehashed with different city names in it. (sorry if i am teaching you to suck eggs).

                    To be able to give a more detailed answer i would need to have a look at the site or for you to provide more detail or examples.

                    I am though more than happy to help as best i can.

                    I have just been looking for sites that may have similar issues but cant find any, can you share what the site does in more detail without giving away information you do not want to share?

                    bellezze 1 Reply Last reply Reply Quote 0
                    • bellezze
                      bellezze @MrWhippy last edited by

                      Thank you for your reply. That is very detailed.

                      Perhaps I didn't give the greatest example. Instead of Arizona-dentist being the folder, perhaps a specific 'city'-dentist as the main folder. The target audience is people looking for a dentist within that specific city.

                      I am worried about keyword stuffing...because the main folder pages would all have the word "dentist" in them...so for example: 'city'-dentist/somecontent would be one folder and page; another folder would be /cavity-dentist/somecontent2; another would be /root-canal-dentist/somecontent3; etc.

                      It's very complicated to weigh up the pros and cons, and actually arrive at a logical conclusion.

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

                        Hi Bellezze,

                        For me the answer is that it depends.

                        That is if it makes sense to structure your website into categories then use the subfolders. It sound like you have a fair number of pages, therefore using the folders in the URL may help both your users understand where they are and the search engines to put your pages into the relevant categories.

                        That is to use your example:

                        https://domain.com/arizona-dentist/somecontent or just https://domain.com/somecontent.

                        The first link helps to put the content into the category of Arizona dentist the 2nd link just shows the content.

                        So if you were to have

                        https://domain.com/michigan-dentist/somecontent

                        https://domain.com/ohiio-dentist/somecontent

                        Then i think it would make sense to use the folders, just make sure that the content isn't duplicated for each category.

                        However if there is no difference in each state (using your example) then i would either look to use just dentist as the folder or to leave out the folders completely.

                        Remember you can use keywords as the folders, as long as you are not stuffing keywords in there.

                        This link may also be useful.

                        https://www.searchenginejournal.com/seo-friendly-url-structure-2/202790/

                        I hope this helps.

                        bellezze 1 Reply Last reply Reply Quote 0
                        • 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
                        • rubennunez

                          Remove spam url errors from search console

                          My site was hacked some time ago. I've since then redesigned it and obviously removed all the injection spam. Now I see in search console that I'm getting hundreds of url errors (from the spam links that no longer work). How do I remove them from the search console. The only option I see is "mark as fixed", but obviously they are not "fixed", rather removed. I've already uploaded a new sitemap and fetched the site, as well as submitted a reconsideration request that has been approved.

                          Algorithm Updates | | rubennunez
                          0
                        • brantmk

                          Can hreflang tags still work when the Alternate URL is 301 redirecting to a translated URL in Japanese Characters?

                          My organization has several international sites 4 of them of which have translated URLs in either Japanese, Traditional Chinese, German & Canadian French. The hreflang tags we have set up on our United States look something like this: But when you actually go to http://www.domain.co.jp/it-security/ you are 301 redirected to the translated URL version: www.domain.co.jp/it-セキュリティ/
                          My question is, will Google still understand that the translated URL is the Alternate URL, or will this present errors? The hreflang tags are automated for each of our pages and would technically be hard to populate the hreflang with the translated URL version. However we could potentially make the hreflang something customized on a page level basis.

                          Algorithm Updates | | brantmk
                          0
                        • TommyTan

                          How Additional Characters and Numbers in URL affect SEO

                          Hi fellow SEOmozers, I noticed that a lot of websites have additional characters and words at the end of the URL in addition keyword optimized URL.  Mostly for E-Commerce sites For example: www.yoursite.com/category/keyword?id=12345&Keyword--Category--cm_jdkfls_dklj  or wwww.yoursite.com/category/keyword#83939=-37292 My question is how does the additional characters or parameters(not necessarily tracking parameters) affect SEO? Does it matter if i have additional keywords in the additional stuff in the URL (1st url example)? If you can provide more information, that would be helpful. Thank you!

                          Algorithm Updates | | TommyTan
                          0
                        • RetailClicks

                          Should we use brand name of product in URL

                          Hi all, What is best for SEO. We sell products online. Is it good to mention the brand in the product detail page URL key if (part of) the brand is also in the home url? So our URL is: www.brandXstore.com Is it best to do: www.brandXstore.com/brandX-productA.html of just do: www.brandXstore.com/ProductA.html Thanks for quick answering 😉

                          Algorithm Updates | | RetailClicks
                          1
                        • MarshallThompson31

                          Geo Target Location in your URL Structure

                          Hello everyone at SEOMOZ      😄 I have a question if you would be as kind as to inform me of which direction that I should take on this matter would be the more desirable approach for my seo strategy I have been using my location in my URL structure since I started doing SEO 5 years ago and I have always benefited from including my city in the URL. My question is, since the SEO landscape has change so drastically over the past 2 years and the Search Engines have become much more end user friendly and list suggestions for users as they type would it be more beneficial in 2013 to have the "Keyword" before or after the Geo Targeted Location in the URL structure? I own a computer repair business for the past 6 years now and I know that when i check to see where I am ranking for a particular keyword phrase such as "Computer Repair" GOOGLE detects my location and provides suggestions as I start typing out "Computer Repair" for the search query. One of the suggestions is "Computer Repair Wilmington NC" so I am starting to wonder if placing the Geo Targeted City after the Keyword  would be the wiser choice instead of before it like a couple of years ago? Working Example: Here is a site that I am building out right now to re-brand my business. Currently I have one of the Silo Category Slugs set as seen below using the Location before the Keyword The First Example has the Geo Target Location before the Keyword and looks more natural to visitors on the site (at least to me) however I'm afraid that I may be shooting myself in the foot not placing the keyword before the Target Location? But if I do that, It does not read or flow fluently to the average looker so kinda confused and torn on how to deal with this>! FIRST EXAMPLE: Location Before Keyword Silo Parent Category  = "Computer Repair" http://www.pcmedicsoncall.com/wilmington-nc-computer-repair/ Silo Child Category  =  "Laptop" http://www.pcmedicsoncall.com/wilmington-nc-computer-repair/laptop-repair/ Silo Grand Child Category  =  "LCD Replacement" http://www.pcmedicsoncall.com/wilmington-nc-computer-repair/laptop/lcd-screen-replacement/ **SECOND EXAMPLE: ** Keyword Before Location Silo Parent Category  = "Computer Repair" http://www.pcmedicsoncall.com/computer-repair-wilmington-nc/ Silo Child Category  =  "Laptop" http://www.pcmedicsoncall.com/computer-repair-wilmington-nc/laptop-repair/ Silo Grand Child Category  =  "LCD Replacement" http://www.pcmedicsoncall.com/computer-repair-wilmington-nc/laptop-repair/lcd-screen-replacement/ Which would be the more favorable of the 2 examples that I have given please? Keyword before or After the Geo Targeted Location? thank you

                          Algorithm Updates | | MarshallThompson31
                          0
                        • mmac

                          Google is forcing a 301 by truncating our URLs

                          Just recently we noticed that google has indexed truncated urls for many of our pages that get 301'd to the correct page. For example, we have:
                          http://www.eventective.com/USA/Massachusetts/Bedford/107/Doubletree-Hotel-Boston-Bedford-Glen.html as the url linked everywhere and that's the only version of that page that we use. Google somehow figured out that it would still go to the right place via 301 if they removed the html filename from the end, so they indexed just: http://www.eventective.com/USA/Massachusetts/Bedford/107/ The 301 is not new. It used to 404, but (probably 5 years ago) we saw a few links come in with the html file missing on similar urls so we decided to 301 them instead thinking it would be helpful.  We've preferred the longer version because it has the name in it and users that pay attention to the url can feel more confident they are going to the right place. We've always used the full (longer) url and google used to index them all that way, but just recently we noticed about 1/2 of our urls have been converted to the shorter version in the SERPs.  These shortened urls take the user to the right page via 301, so it isn't a case of the user landing in the wrong place, but over 100,000 301s may not be so good. You can look at: site:www.eventective.com/usa/massachusetts/bedford/ and you'll noticed all of the urls to businesses at the top of the listings go to the truncated version, but toward the bottom they have the full url. Can you explain to me why google would index a page that is 301'd to the right page and has been for years? I have a lot of thoughts on why they would do this and even more ideas on how we could build our urls better, but I'd really like to hear from some people that aren't quite as close to it as I am. One small detail that shouldn't affect this, but I'll mention it anyway, is that we have a mobile site with the same url pattern. http://m.eventective.com/USA/Massachusetts/Bedford/107/Doubletree-Hotel-Boston-Bedford-Glen.html We did not have the proper 301 in place on the m. site until the end of last week.  I'm pretty sure it will be asked, so I'll also mention we have the rel=alternate/canonical set up between the www and m sites. I'm also interested in any thoughts on how this may affect rankings since we seem to have been hit by something toward the end of last week.  Don't hesitate to mention anything else you see that may have triggered whatever may have hit us. Thank you,
                          Michael

                          Algorithm Updates | | mmac
                          0
                        • Shawn_Huber

                          Vanity URL's and http codes

                          We have a vanity URL that as recommended is using 301 http code, however it has been discovered the destination URL needs to be updated which creates a problem since most browsers and search engines cache 301 redirects. Is there a good way to figure out when a vanity should be a 301 vs 302/307? If all vanity URL's should use 301, what is the proper way of updating the destination URL? Is it a good rule of thumb that if the vanity URL is only going to be temporary and down the road could have a new destination URL to use 302, and all others 301? Cheers,

                          Algorithm Updates | | Shawn_Huber
                          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
                        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.