Mobile app version of vmapp.org
Login or Join
Kevin317

: Include full category hierarchy in url or only the "leaf"? I'm currently redesigning a site that organizes information into categories. Some of these categories contain subcategories (and some of

@Kevin317

Posted in: #Seo #Url

I'm currently redesigning a site that organizes information into categories. Some of these categories contain subcategories (and some of those contain even more subcategories).

I'm trying to decide between the following url structures for the resulting pages:


domain.com/<main-category>/
domain.com/<main-category>/<sub-category>/
domain.com/<main-category>/<sub-category>/<sub-sub-category>/


vs.


domain.com/<main-category>/
domain.com/<sub-category>/
domain.com/<sub-sub-category>/


I'm leaning toward the first because there will be more relevant keywords that may help long tail search traffic, but I can see disadvantages as well... the most specific keywords to that page will be further away from the "front" of the url and a long url is harder to share and type correctly. For whatever it's worth, I don't expect there to be more than 3 levels of nested categories.

Thoughts on which approach to take, or even something completely different?

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @Kevin317

2 Comments

Sorted by latest first Latest Oldest Best

 

@Welton855

Ditto what John Conde said.

Also, with the second method what if you have categories with the same name as a sub or sub-sub category or if you have a sub category with the same name as a sub-sub category. It will cause you call kinds of issues.

I would only suggest the second method if you have extremely short categories and few of them. Even with short category names people are very unlikely to type them in.

10% popularity Vote Up Vote Down


 

@Kevin317

I'd go for the first one as well. Besides being good for SEO it technically is good for usability as it helps to clearly define what the page is about (for those who actually have any clue what they are looking at that is).

I wouldn't worry about longish URLs as not only are they very common nowadays, but most people are clicking on links to get to their content as opposed to typing it in. Most people find content from either doing searches or navigating their way into a site. And when they do type in a URL is usually just the domain name. Rarely do you see a user enter a URL with subdirectories or query strings. They usually find those deeper pages by search or hitting the site homepage and then navigating deeper.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme