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!
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
-
Can 'Jump link'/'Anchor tag' urls rank in Google for keywords?
E.g. www.website.com/page/#keyword-anchor-text Where the part after the # is a section of the page you can jump to, and the title of that section is a secondary keyword you want the page to rank for?
Algorithm Updates | | rwat0 -
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 -
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 | | rubennunez0 -
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 | | RetailClicks1 -
Homepage Index vs Home vs Default?
Should your home page be www.yoursite.com/index.htm or home.htm or default.htm on an apache server? Someone asked me this, and I have no idea. On our wordpress site, I have never even seen this come up, but according to my friend, every homepage HAS to be one of those three. So my question is which one is best for an apache server site AND does it actually have to be one of those three? Thanks, Ruben
Algorithm Updates | | KempRugeLawGroup0 -
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_Huber0 -
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