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
-
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!
-
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.
-
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.
-
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.
-
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.
-
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.
-
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. **
-
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
-
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
-
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.
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
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.
Related Questions
-
How does Yoast SEO premium determine prominent keywords?
We are perplexed how Yoast determines which keywords to select on the page when ranking the top 5 prominent words in Insights. For example, we have a page where birthday parties is clearly the primary keyword. It is used an an H2, in body copy and tagged on images. Yet it does not show up at all. The term 20 Fiesta game points ranks #1. It is mentioned one time on the page in a bullet within one of 5-6 blocks. 40 Fiesta game points ranks 3rd and same situation. Waterpark ranks 4th and is mentioned twice on the page as a bullet of featured activities. But there ar 4-5 other attractions listed in the bullets higher? We have looked as tutorial videos and no one mentions how Yoast determines prominent keywords. Thanks in advance for steering us in the right direction.
Intermediate & Advanced SEO | | Teamzig0 -
SEO on dynamic website
Hi. I am hoping you can advise. I have a client in one of my training groups and their site is a golf booking engine where all pages are dynamically created based on parameters used in their website search. They want to know what is the best thing to do for SEO. They have some landing pages that Google can see but there is only a small bit of text at the top and the rest of the page is dynamically created. I have advised that they should create landing pages for each of their locations and clubs and use canonicals to handle what Google indexes.Is this the right advice or should they noindex? Thanks S
Intermediate & Advanced SEO | | bedynamic0 -
Keywords in URL: sub-directory or single layer keywords?
Hi guys, im putting together a proposal for a new site and trying to figure out if it'd be better to (A) have a keyword split across multiple directories or duplicate keywords to have the keyword hyphenated? For example, for the topic of "Christmas decor" would you use; (A) - www.domain.com/Christmas/Decor (B) - www.domain.com/Christmas/Christmas-Decor in example B the phrase 'Christmas' is duplicated which looks a little spammy, but the key term "Christmas decor" is in the URL without being broken up by directories. which is stronger? Any advice welcome! Thanks guys!
Intermediate & Advanced SEO | | JAR8971 -
Onsite SEO vs Offsite SEO
Hey I know the importance of both onsite & offsite, primarily with regard to outreach/content/social. One thing I am trying to determine at the moment, is how much do I invest in offsite. My current focus is to improve our onpage content on product pages, which is taking some time as we have a small team. But I also know our backlinks need to improve. I'm just struggling on where to spend my time. Finish the onsite stuff by section first, or try to do a bit of both onsite/offsite at the same time?
Intermediate & Advanced SEO | | BeckyKey1 -
How to measure traffic for a keyword
Sitting in Country A I want to see how much traffic a particular keyword receives in Country B. Whats the best way to do it? Also, will the search results differ if I am analyzing the above sitting in Country A viz-a-viz Country B. In other words, will the IP of the country I am making the search from play a role in the results?
Intermediate & Advanced SEO | | KS__0 -
Quick Question: Is it Bad for SEO to paste from Word to your CMS?
Hey just a quick question I'm having trouble finding a definitive answer to: Is the markup that is transferred from Word docs bad for SEO? We are managing to paste it and it looks fine, but the developers are worried that the extra code will be bad for SEO. Does anyone have solution besides pasting into Text Editor and formatting in the CMS? Is this necessary or can we just leave the extra code? Thank you!
Intermediate & Advanced SEO | | keL.A.xT.o0 -
How to Target Keyword Variations?
I have a list of keywords I'm trying to target and they are essentially different variations of each other: Example: blue yankees baseball hat yankees blue baseball hat yankees baseball hat in blue Should I be targeting all these on the same page, or should I be making a new page for each one? Thanks Mozzers!
Intermediate & Advanced SEO | | ATMOSMarketing560 -
Migrating online store to subdomain using shopify and effects on seo and energy down the road for seo
I'm looking for some clarity... Looking at using Shopify for an existing online store that we have to migrate. Setting up the store with shopify means we will be using a subdomain such as shop.mywebsite.com instead of mywebsite.com/shop. The following are points to consider when responding The client currently has an online store, however it's a proprietary shopping store and CMS that has since gone defunct and they need to migrate to an alternative in order to survive online against new CMS systems that allow the site and its content to be better optimized. There is a lot of existing SEO done on the current site that we don't want to loose PR on. There is roughly 2000 products Client has a fixed budget, dealing with checkout issues, custom work and various other "bugs" seems to be easier controlled with Shopify...thus budget can be used more on content/strategy and migration We want to run the main site in Wordpress and are wanting to use Shopify since it supports a gateway, has great features and seems like it would allow us to get more bang for the buck and can focus more on the main site and content strategy and drive traffic to the subdomain store if needed Or main concern is the effort of migrating 2000+ products to shopify and the traffic and PR it gives the current site will have a negative effect on the main domain itself. Should we really be considering this path? The domain is diveidc.com One main benefit to the subdomain is the ability to clearly segment products from the service portion of the site in the analytics and focus 2 clear strategies and track it in a very defined manner. We're really on the fence with this...any thoughts are welcome.
Intermediate & Advanced SEO | | MAGNUMCreative0