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
-
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.im0 -
Replacing keywords by synonyms. Will it increase risk of google keyword stuffing penalization?
I have a page which is ranking already pretty well for a relative competitive keyword.
Intermediate & Advanced SEO | | lcourse
Google also ranks us on first page for synonym of keyword we optimize the page for (even though synonym does not appear on our page). I am now considering to replace some occurences of the keyword in the page by different synonyms, in the hope that our ranking may further improve for these synonyms.
However I am concerned that google may penalize me for keyword stuffing if I am using a wide range of synonyms of one keyword on our page. My plan is only to replace some occurences of keyword with synonyms. I am a bit nerveous here since page is already ranking quite well in a competitive niche. Any thoughts?0 -
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 -
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 -
SEO site Review
Does anyone have suggestions on places that provide in depth site / analytics reviews for SEO?
Intermediate & Advanced SEO | | Gordian0 -
Is it better to use geo-targeted keywords or add the locations as separate keywords?
For example... state keyword (nyc real estate) or keyword, state (nyc, real estate) = 2 keywords Thanks in advance!
Intermediate & Advanced SEO | | Cyclone0 -
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 | | AdeLewis0 -
SEO from Godaddy How Good is it?
http://www.godaddy.com/search-engine/seo-services.aspx?ci=44163 it said "Includes Standard Search Engine Visibility to Improve Search Rankings" it begs for question... Search Engine Visibility??? Improve SERP?!?!!? is it really that good? O.o; or have i successfully been eaten my promotional messages? Can anyone with experience with them share some information with me ? 🙂 (The price tag is mighty interesting)
Intermediate & Advanced SEO | | IKT0