• ramc-7JcUnB

        See all notifications

        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.

          Enhance Keyword Discovery with Bulk Analysis
          Moz Pro

          Enhance Keyword Discovery with Bulk Analysis

          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

          Access 20 years of data with flexible pricing
          Moz API

          Access 20 years of data with flexible pricing

          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
        • My Q&A
        • 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. Intermediate & Advanced SEO
        4. What is better for SEO keywords in folder or in filename - also dupe filename question

        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.

        What is better for SEO keywords in folder or in filename - also dupe filename question

        Intermediate & Advanced SEO
        5
        10
        5321
        Loading More Posts
        • Watching

          Notify me of new replies.
          Show question in unread.

        • Not Watching

          Do not notify me of new replies.
          Show question in unread if category is not ignored.

        • Ignoring

          Do not notify me of new replies.
          Do not show question in unread.

        • Oldest to Newest
        • Newest to Oldest
        • Most Votes
        Reply
        • Reply as question
        Locked
        This topic has been deleted. Only users with question management privileges can see it.
        • irvingw
          irvingw last edited by

          Hey folks,

          I've got a question regarding URL structure. What is best for SEO given that there will be millions of lawyer names and 4 pages per lawyer

          www.lawyerz.com/office-locations/dr-al-pacino

          www.lawyerz.com/phone-number/dr-al-pacino

          www.lawyerz.com/reviews/dr-al-pacino

          www.lawyerz.com/ratings/dr-al-pacino

          OR

          www.lawyerz.com/office-locations-dr-al-pacino

          www.lawyerz.com/phone-number-dr-al-pacino

          www.lawyerz.com/reviews-dr-al-pacino

          www.lawyerz.com/ratings-dr-al-pacino

          OR

          www.lawyerz.com/dr-al-pacino/office-locations

          www.lawyerz.com/dr-al-pacino/phone-number

          www.lawyerz.com/dr-al-pacino/reviews

          www.lawyerz.com/dr-al-pacino/ratings

          Also, concerning duplicate file names:

          In the first example there are 4 duplicate file names with the lawyers name. (would this cause Google to not index some)

          In the second example there are all unique file names (would this look spammy to Google or the user)

          In the third example there are millions of duplicate file names (if 1 million lawyers then 1 million files called "office-locations"  etc (could so many duplicate filenames cause ranking issues)

          Should the lawyers name (which is the main keyword target) appear in the filename or in the folder - which is better for SEO in your opinion? Thanks for your input!

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

            I like all of the answers here and I would definitely focus on how the user is searching for the lawyers.  If you have a site with millions of lawyers, they would each have an area of practice so it would make sense to develop a structure around this first:

            lawyerz.com/practice-area/state/city/attorney-name

            WIth this structure, a searcher that types in "estate planning lawyer" would be sent to the estate planning lawyers page and allowed to search further for their city and then lawyer names.  I would attach the contact info, reviews directly on that lawyer's page.

            Since your higher volume keywords are going be found within the "practice areas", this would seem the next step after the main domain target of "attorney" or "lawyers".  Then, location can come third, attorney name is most likely a lesser searched keyword but using a url structure such as "attorney-john-doe" reinforces.

            I would LOVE to hear all the expert opinions about this as I am a newbie to seomoz but am finding some great experts and advice over here.

            1 Reply Last reply Reply Quote 0
            • AlanBleiweiss
              AlanBleiweiss @irvingw last edited by

              while pages with such file names can be indexed, the long-term view dictates avoiding pages with filenames in the URL due to future potential conversion to other frameworks.  It makes a site less than ideal for portability.

              For example, if every page has index.php or whatever.asp and you change platform, you'll end up with every page needing a 301 redirect.  So it's better to avoid that whenever possible.

              1 Reply Last reply Reply Quote 1
              • itrogers
                itrogers @irvingw last edited by

                Although the filename will be duplicate, the content on those filenames will be okay. Google will look more at the content on the page rather than anything else. There are sites out there that have weird file structures, like:

                /index.php

                /services/index.php

                /products/index.php

                Some CMS's will automatically do this, but they rank fine because they have quality content, even though the index.php is technically a duplicate filename.

                You should be fine with this method.

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

                  It's about users for sure.  The last set you show communicates "lawyer name" is more important/valuable.  Which is the valid perspective, since all of those elements relate to that lawyer. If some users still want to find lawyers based on reviews, you can offer a filter for that in your database sorting.  Same with locations.

                  On the other side of the coin, instead of "locations", if you had town names, you could group by those so it would be /town-name/lawyer-name/   where all lawyers in the same town fall within that town-name grouping. If it's just /locations/ that's an invalid sort hierarchy.

                  1 Reply Last reply Reply Quote 1
                  • irvingw
                    irvingw @irvingw last edited by

                    yes navigation-wise this definitely makes the most sense

                    www.lawyerz.com/dr-al-pacino/office-locations

                    i guess what I am mostly looking for an answer about is which is better for rankings, the keyword in the folder or file name and if duplicate file names will harm rankings.

                    thanks so much for your assistance guys.

                    1 Reply Last reply Reply Quote 0
                    • itrogers
                      itrogers @irvingw last edited by

                      Ok gotcha- well if that is the case, then think about how the user will navigate to the end result if they started from the home page. Logically, you could assume the following

                      If URL structure is as follows:

                      www.lawyerz.com/office-locations/dr-al-pacino

                      then /office-locations/ should contain links to all office locations of multiple lawyers.

                      But with this structure

                      www.lawyerz.com/dr-al-pacino/office-locations

                      /dr-al-pacino/ should contain links to the 4 other pages. **This option will probably be your best structure. **

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

                        If I am not mistaken it really depends on what users are searching

                        if they are only searching lawyers names than just find a structure that looks pretty and has the lawyer name in it.

                        But if there is any traffic data that points that people search the city or phone number along with the lawyer name than it might be wise to have that in the url structure

                        also ever thought of using subdomains? havent seen that in a lawyer directory yet but some of the major article sites switched to subdomains

                        1 Reply Last reply Reply Quote 1
                        • irvingw
                          irvingw @itrogers last edited by

                          Assume there will be enough content on these pages to not get hit by panda.

                          The reason for doing this is to hopefully secure more than one first page result since these are names and very low competition, we see some sites doing this successfully.

                          We will have locations pages too which will list all the docs in that city

                          http://www.lawyerz.com/nevada/reno/personal-injury-lawyers

                          itrogers irvingw AlanBleiweiss 4 Replies Last reply Reply Quote 0
                          • itrogers
                            itrogers last edited by

                            Is there any particular reason why office location, phone number, reviews, and ratings need to be on 4 separate pages? I could see there being a lot of thin content which won't really rank well or provide a ton of user value. Can you give some more info as to why this would be? I could easily see all 4 of these pages combined into one.

                            With that, you can focus your URL structure into categories or local regions or both, depending on how dynamic you want the site to be. For example:

                            http://www.lawyerz.com/nevada/personal-injury/dr-al-pacino

                            OR

                            http://www.lawyerz.com/personal-injury/dr-al-pacino

                            OR

                            http://www.lawyerz.com/nevada/dr-al-pacino

                            Unless there is something that I missing, I think no matter how you structure your URLs, thin content just won't rank.

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

                            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

                            • Spiros.im

                              Will I loose from SEO if I rename my urls to be more keyword friendly?

                              As a good practice of SEO is to have your keywords in the links. I am thinking of doing some optimization and change my urls to more effective keywords. I am using shopify and there is an option (a tick) that you can check while changing the url (ex. for a category, for a product, for a blog post). This will give a redirection to the old post to the new. Is it good practice? Is it risky for losing SEO or it will help to rank higher because I will have better keywords in my links?

                              Intermediate & Advanced SEO | | Spiros.im
                              0
                            • seoman10

                              CDN for SEO (or not)?

                              Does CDN impact on SEO or not? There seems conflicting ideas as to whether they impact positively or negatively, I realise that if the page loads quicker this is a good thing for SEO and usability of course. Does Google see CDN as just cheating and a get-around for not doing the work from the ground up and using good hosting etc? Do you have any direct experience? All constructive input much appreciated!

                              Intermediate & Advanced SEO | | seoman10
                              1
                            • Atomicx

                              Yoast seo title question

                              I was referred to this plugin and have found it to be the most irritating and poorly designed plugin in the world. I want to be able to set my titles without it changing my page headers as well. For instance - If I set my title to be "This is my article name | site name" it will make my H1 tag read the same. I do not want or desire this nonsense. Why would they think this is something wise? Why would I want my site name on every single H1 tag on my site? How can I fix this? I only want my title to be my title. I want my H1 tag to remain the post/page name that I define in wordpress.

                              Intermediate & Advanced SEO | | Atomicx
                              0
                            • PeteC12

                              Does anyone know of any tools that can help split up xml sitemap to make it more efficient and better for seo?

                              Hello All, We want to split up our Sitemap , currently it's almost 10K pages in one xml sitemap but we want to make it in smaller chunks splitting it by category or location or both. Ideally into 100 per sitemap is what I read is the best number to help improve indexation and seo ranking. Any thoughts on this ? Does anyone know or any good tools out there which can assist us in doing this ? Also  another question I have is that should we put all of our products (1250) in one site map or should this also be split up in to say products for category etc etc ? thanks Pete

                              Intermediate & Advanced SEO | | PeteC12
                              0
                            • Kingalan1

                              Is Using a Question, Answer Format Appropriate for a Blog? Is a 300 Word Micro Blog An SEO Plus?

                              My PR agency has suggested a question answer format be incorporated in my blog. They suggest a microblog with a single sentence question and an answer of about 300 words. My blog currently has about 35 posts. I would like to ramp up blog entries to about one or two per week of these "mini blog" posts. The format of the new blog begins as a question with the responses being paragraphs that do not use headings. My concerns are as follows: 1. No headings in an answer of 300 words will fail to provide Google with context regarding the content's meaning. Everything I have read about SEO suggests text be broken up in short sections and that it be divided by headings (preferably H2s). I very much like my agency's concept for a question answer format blog. It provides very practical info for visitors. How can I use it in a manner that supports SEO best practices? 2. According to a reputable SEO firm that has been assisting me, Google does not consider a blog post of less than 600 words to be superior quality. They told me that  blog posts of 300 words, from an SEO purpose will not be a great helpful, that the content will not be rich enough to generate incoming links. Is this really the case? What if this abbreviated content is very well written and engaging? If so, is 300 words sufficient? From the visitor's perspective I am not sure they would have the patience to read 600 words when 300 words is more than than enough to answer these basic questions. From a PR perspective I think the shorter content in a question answer format is superior at least for my line of business (commercial real estate brokerage). 3. If 500-600 words is the minimum word count, and headings are necessary, what is the best way to execute a question and answer blog format? The purpose of this blog is to provide very useful info to my visitors while generating incoming links to that will boast my rankings. Thanks in advance for your feedback!!! Alan

                              Intermediate & Advanced SEO | | Kingalan1
                              0
                            • masterfish

                              Is CloudFlare bad for SEO?

                              I have been hit by DDoS attacks lately...not on a huge scale, but probably done by some "script kiddies" or competitors of mine. Still, I need to take some action in order to protect my server and my site against all of this spam traffic that is being sent to it. In the process of researching the tools available for defending a website from a DDoS attack, I came across the service offered by CloudFlare.com. According to the CloudFlare website, they protect your site against a DDoS attack by showing users/visitors they find suspicious an interstitial that asks them if they are a real user or a bot...this interstitial contains a Captcha that suspicious users are asked to enter in order to visit the site. I'm just wondering what kind of an effect such an interstitial could have on my Google rankings...I can imagine that such a thing could add to increased click-backs to the SERPs and, if Google detects this, to lower rankings. Has anyone had experience with the DDoS protection services offered by CloudFlare, who can say a word or two regarding any effects this may have on SEO? Thanks

                              Intermediate & Advanced SEO | | masterfish
                              1
                            • Towelsrus

                              Meta Keywords: Should we use them or not?

                              I am working through our site and see that meta keywords are being used heavily and unnecessarily. Each of our info pages will have 2 or 3 keyword phrases built into them. Should we just duplicate the keyword phrases into the meta keyword field, should put in additional keywords beyond or not use it at all? Thoughts and opinions appreciated

                              Intermediate & Advanced SEO | | Towelsrus
                              1
                            • AdeLewis

                              Is DOCTYPE important for SEO?

                              Hello fellow Mozzers. I am just having a brief look at a potential clients website before speaking to them tomorrow and whilst looking at the source I noticed that they don't appear to have a clear definition for their Doctype. All the have at the top of each page is I have to admit that Doctypes aren't my strong point but I know that they are normally slightly more descriptive than this. Can this have any effect on rankings? or is this just an issue for W3C validation? Thanks 🙂

                              Intermediate & Advanced SEO | | AdeLewis
                              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.