Product Category Subcategory hierarchy
-
Hi all,
I am developing an ecommerce store and would like some advice on the Category / Product URL structure for SEO purposes.
- Products have many options
- Products belong to a sub-category.
- Sub categories belong to a category
There will be a maximum of 500 products in the database.
1. http://shop.com/{category}/{product_slug}?{product_option} Flattened with query string option
2. http://shop.com/{category}/{subcategory}/{product_slug}?{product_option} // Hierarchical with query string option
3. http://shop.com/{category}/{product_slug}/{product_option}
4. http://shop.com/{category}/{subcategory}/{product_slug}/{product_option}
Option 5 seems best to me, however I am also worried about duplicate content between pages.
- http://shop.com/apple/iphone-5s-32gb-black
- http://shop.com/apple/iphone-5s-64gb-black
- http://shop.com/apple/iphone-5s-64gb-white
The above 3 examples will all have very similar content. And if I use canonical url tag, which product page would I refer these pages to?
At least with Option 1 I can use the canonical tag to tell search engines that pages with get parameters can point to the non get parameter version.
In addition to Option 5, should I create a http://shop.com/{category}/{subcategory} page? That way Option 5 item canonical tags can point to that page. e.g. http://shop.com/apple/iphone-5s which would contain product summary detail with product options listed on the page?
Am I missing something here or can anybody provide a better solution?
-
I typically keep category names out of the product URL. It creates problems, especially when the product lives in multiple categories. You can use a rel canonical tag, but I'd rather just not have to deal with it. Here is how I do it:
www.domain.com/products/product-name/
www.domain.com/category/category-name/ and
www.domain.com/category/category-name/sub-category-name/This convention has several advantages, including easy segmentation of the site to determine, for instance, how many product pages are indexed in the SERPs.
One could argue that having the category name in the product URL is good for SEO because of the keywords, but I would argue that putting the product farther down in the site structure, and the non-canonical URL issues related to certain taxonomies (e.g. multiple categories for a product) negates what little benefit keywords in the URL have these days.
Of course not all eCommerce platforms really allow the structure above. Magento, for example, will allow you to put products in the root, but not in the /product/ folder. The product will also be viewable on the category-version of the URLs, but they will have a rel canonical tag pointing to the root directory version.
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
-
Schema markup concerning category pages on an ecommerce site
We are adding json+ld data to an ecommerce site and myself and one of the other people working on the site are having a minor disagreement on things. What it comes down to is how to mark up the category page. One of us says it needs to be marked up with as an Itempage, https://schema.org/ItemPage The other says it needs to be marked up as products, with multiple product instances in the schema, https://schema.org/Product The main sticking point on the Itemlist is that Itemlist is a child of intangible, so there is a feeling that should be used for things like track listings or other arbitrary data.
Intermediate & Advanced SEO | | LesleyPaone2 -
WooCommere Canonical links relating to products and subscriptions
Hello, Thanks for taking the time to have a read of this, I'm not quite sure of the best way to address this issue. I have a WooCommerce site with Products and Subscriptions, i.e subscribe to buy the product monthly. Because of the way WooCommerce works these are effectively two different pages, for example: https://formnutrition.com/plant-based-nutrition/form-superblend-plant-based-vegan-protein/ and https://formnutrition.com/plant-based-nutrition/superblend-protein-subscription/ Since the second is just a Subscription of the first (Product) it's basically exactly the same content. I'm not sure if I should make the canonical link of the Subscription point to the Product? I would prefer that customers find the Product first and don't want Google to think this is duplicate content. On the other hand it's not strictly duplicate content as they are two different things? Is there any advice or best practice on how to handle this? Many thanks, Damian
Intermediate & Advanced SEO | | damo_form0 -
Blog posts and 3rd hierarchy pages weigh same as per Google?
Our blogs.website.com has been a sub-directory since 2 years as website.com/blog. Now we have blog posts with URLs website.com/blog/blog-post-1. This blog is located at different place technically, away from website. Now my doubt is whether the blog-posts have equal weightage at Google just like other 3rd hierarchy level pages of website like website.com/page1/topic2. Thanks
Intermediate & Advanced SEO | | vtmoz1 -
Same product in different categories and duplicate content issues
Hi,I have some questions related to duplicate content on e-commerce websites. 1)If a single product goes to multiple categories (eg. A black elegant dress could be listed in two categories like "black dresses" and "elegant dresses") is it considered duplicate content even if the product url is unique? e.g www.website.com/black-dresses/black-elegant-dress duplicated> same content from two different paths www.website.com/elegant-dresses/black-elegant-dress duplicated> same content from two different paths www.website.com/black-elegant-dress unique url > this is the way my products urls look like Does google perceive this as duplicated content? The path to the content is only one, so it shouldn't be seen as duplicated content, though the product is repeated in different categories.This is the most important concern I actually have. It is a small thing but if I set this wrong all website would be affected and thus penalised, so I need to know how I can handle it. 2- I am using wordpress + woocommerce. The website is built with categories and subcategories. When I create a product in the product page backend is it advisable to select just the lowest subcategory or is it better to select both main category and subcategory in which the product belongs? I usually select the subcategory alone. Looking forward to your reply and suggestions. thanks
Intermediate & Advanced SEO | | cinzia091 -
How important is it to rank for a product category?
We make a product in a category of products -- let's say "donuts". There are really only 4 major donut companies (lots of artisanal donuts out there, but they're not really competitive yet). One of our competitors has systematically achieved top rank for "donut" and lots of adjacent keywords like "donuts" and "buy donuts". My question is, does their success ranking for the product category keyword "donut" influence their success ranking for long-tail keywords like "powdered donuts" and "tastiest donuts"? Or, to flip that question, should we try to compete for "donut" before worrying about "decadent delicious donuts"? Other factors: In terms of search volume, as you would expect, "donut" sees 10 to 1000 times as many searches as most of the other keywords adjacent to it. We can definitely compete for "donut" -- just trying to figure out if doing so should be our top priority.
Intermediate & Advanced SEO | | hoosteeno0 -
To list or not to list? Products that contain basic info only, yet show off product depth...
Some of our products on our site only have 40 characters of description... each item/category is it's own unique web page with basic info like Brand, Model, What it is, Price, & Quantity in stock. For searchers knowing what they want, they can quickly find us via the basic info & see that we have it in stock. But for someone surfing our site, it's not all that attractive or informative as you are scrolling down the category list. Collecting the picture & info can be a slow and time consuming process, but something we'd love to be all caught up on one day. Would it be wiser to take these pages off, or keep them on until they are fully updated with pic & more detail? (My thought is that even though they don't contain a lot of individual detail depth, they still add a substantial quantity of basic related content to the category page that they reside in. This basic info on these items are also given a chance to burn into the web search engines over a longer period of time. As time goes by and their content is improved, they will get re-crawled/re-indexed with their new information depth. Also, even though they don't look all that pretty, it shows off our product depth... if we only listed the items that looked spectacular, then a lot of our categories would only contain a wimpy 3 out of 30 items that we actually have for sale. That feels like a huge misrepresentation of how much selection we actually have to offer. But perhaps this is wrong thinking?) Thanks, Kevin
Intermediate & Advanced SEO | | Kevin_McLeish0 -
Should I let Google crawl my production server if the site is still under development?
I am building out a brand new site. It's built on Wordpress so I've been tinkering with the themes and plug-ins on the production server. To my surprise, less than a week after installing Wordpress, I have pages in the index. I've seen advice in this forum about blocking search bots from dev servers to prevent duplicate content, but this is my production server so it seems like a bad idea. Any advice on the best way to proceed? Block or no block? Or something else? (I know how to block, so I'm not looking for instructions). We're around 3 months from officially launching (possibly less). We'll start to have real content on the site some time in June, even though we aren't planning to launch. We should have a development environment ready in the next couple of weeks. Thanks!
Intermediate & Advanced SEO | | DoItHappy0 -
Category pages in forums
I would like to hear feedback on the best SEO practice for forum category pages. An example would be a forum about cars. You can have a Chervorlet category which contains forums for every chevy model. Often this category page is simply a list of all the forums. If I noindex, follow the page then am I missing an opportunity? I am thinking of Google sitemaps for example where this page can be used for a category link. If I noindex the page, there probably isn't another great place for a sitemap to link to. I could fill out the page with wiki-like generic chevy information. Please share any thoughts or best practices.
Intermediate & Advanced SEO | | RyanKent0