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.
Flat Structure URL vs Structured Sub-directory URL
-
We are finally taking our classifieds site forward and moving into a much improved URL structure, however, there is some disagreement over whether to go with a Flat URL structure or a structured sub-directory.
I've browsed all of the posts and Q&A's for this going back to 2011, and still don't feel like I have a real answer. Has anyone tested this yet, or is there any consensus over ranking? I am in a disagreement with another SEO manager about this for our proposed URL structure redesign who is for it because it is what our competitors are doing.
Our classifieds are geographically based, and we group by state, county, and city. Most of our traffic comes from state and county based searches. We also would like to integrate categories into the URL for some of the major search terms we see. The disagreement arises around how to structure the site. I prefer the logical sub-directory style:
[sitename]/[category]/[state]/[county]/
mysite.com/for-sale/california/kern-county/
or
[sitename]/[category]/[county]-county-[stateabb]/
mysite.com/for-sale/kern-county-ca/I don't mind the second, except for when you look at it in the context of the whole site:
Geo Landing Pages:
mysite.com/california/
mysite.com/los-angeles-ca-90210/Actual Search Pages:
mysite.com/for-sale/orange-ca/[filters]Detail Pages:
mysite.com/widget-type/cool-product-name/productidI want to make sure this flat structure performs better before sacrificing my analytics sanity (and ordered logic). Any case studies, tests or real data around this would be most helpful, someone at Moz must've tackled this by now!
-
I didn't check all the references of Patrick - but yes, the way you build your url (folders or "flat") will have no impact on how you are positioned in the SERP's (if they contain the same keywords)- so both of the options you mentioned in your original question are equal if you only see it from SEO perspective.
rgds
Dirk
-
Thanks Dirk and Patrick, those are both very helpful resources!
Going back to my original question, even after reviewing all of these links, it appears that this is a preference issue, and not a performance one, yes?
-
The resources mentioned by Patrick are all good ones - I am even going to add one: http://www.bruceclay.com/blog/structured-urls/ . You don't even have to read it :
- structured url's help semantics - the folder like structure helps search engines understand how the site is structured
- it's easier to check which pages are indexed as you can do a site:mysite.com/folder/
- reporting is way easier with a structured url
Apart from that, and probably most important argument: a site depth is measured on how many clicks you need to get to a page and how pages are cross-linked - Google is not counting the number of "/" in your url's to determine if your site is flat or not.
rgds
Dirk
-
Hi there
I personally like hierarchy and categorization. If I were you, I would check out these resources:
How to Create a Site Structure That Will Enhance SEO (KISSmetrics)
Information Architecture for SEO - Whiteboard Friday (Moz)
Site Architecture & Search Engine Success Factors (SEL)
User Redirection Based On Location Is Not Spam (SEL)
Sitelinks (Google)
Set up Site Search (Google)
Categorize parameters with the URL Parameters page (Google)There are a TON of great resources above with lots of great information. I would suggest checking these out and passing along to your team and having a discussion.
Hope that helps! Good luck!
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
-
Ranking drop after sub domain to sub directory migration. Usual?
Hi all, We had our help articles on sub-domain help.website.com. Then we moved it to sub directory website.com/help/. We expected ranking improvement of website.com as there is a wide saying of benefiting from sub domain to sub directory migration. We have noticed that ranking improvement of new sub directory pages (website.com/help/) but not for any main website pages (website.com). I presume that link juice from main website has benefited new sub directory pages but main website lost ranking due to the page rank dilution. Do you agree? Any ideas? Thanks
Algorithm Updates | | vtmoz0 -
Do sub-domain visits do not count for website?
It's a common understanding that Google treats sub-domains as different websites. Does that mean visits of sub-domain do not impact website in-terms of ranking or visibility or reputation at Google?
Algorithm Updates | | vtmoz0 -
301 redirect to URL plus anchor tag???
Hi - my company has just had a site redesign completed, and our "old" site we have landing pages for a full product line. The new design has taken the content from those landing pages and placed them into one long scrolling page. We currently rank well on the "old" landing pages but now all that content is contained in a single page with anchor tags throughout attached to the headings. Can you set up 301's to anchor tags? Example: old site www.mysite.com/products/automotive/auto-parts.html new site: www.mysite.com/products/automotive#auto-parts
Algorithm Updates | | Jenny10 -
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 | | MarshallThompson310 -
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:
Algorithm Updates | | mmac
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,
Michael0 -
Ecommerce good/bad? Showing product description on sub/category page?
Hi Mozers, I have a ecommerce furniture website, and I have been wondering for some time if showing the product descriptions on the sub/category page helps the website. If there is more content displayed on the subcategory, it should be more relevant, right? OR does it not matter, as it is duplicate content from the product page. I think showing the product descriptions on non-product pages is hurting my design/flow, but i worry that if I am to hide product content on sub/category pages my traffic will be hurt. Despite my searches I have not found an answer yet. Please take a look at my site and share your thoughts: http://www.ecustomfinishes.com/ Chris 27eVz
Algorithm Updates | | longdenc_gmail.com0 -
Hyphens vs Underscores
I am optimizing a site which uses underscores rather than hyphens as word separators (such_as_this.php vs. such-as-this.php). Most of these pages have been around since 2007, and I am hesitant to just redirect to a new page because I am worried it will cause the rankings to slip. Would you recommend changing the file names to be in hyphenated format and place 301 redirects on the pages with underscores, or stick with the existing pages? Is there anything else that would work better? Thanks!
Algorithm Updates | | BluespaceCreative1 -
Is a slash just as good as buying a country specific domain? .com/de vs .de
I guess this question comes in a few parts: 1. Would Google read a 2-letter country code that is after the domain name (after the slash) and recognize it as a location (targeting that country)? Or does is just read it as it would a word. eg. www.marketing.com/de for a microsite for the Germans www.marketing.com/fr for a microsite for the French Or would it read the de and fr as words (not locations) in the url. In which case, would it have worse SEO (as people would tend to search "marketing france" not "marketing fr")? 2. Which is better for SEO and rankings? Separate country specific domains: www.marketing.de and www.marketing.fr OR the use of subfolders in the url: www.marketing.com/de and www.marketing.com/fr
Algorithm Updates | | richardstrange0