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
-
Ecommerce Migration - Criteria To Redirecting Products
Hi Guys, We have an e-commerce migration of a site moving from Magento to Shopify. The URL stuctures are changing so we will need redirects in place. They have over 50,000 skus/products. We need to setup redirect mapping - from old to new pages. Now setting up redirects for every single product seems overtop. Thus what is a good minimum requirement to determine if its worth redirecting a product page? We are thinking about going based on referring domains and google analytics data (for the last 12 months). If any product page has 1+ referring domain or more then 50 organic sessions during 12 months then setup a redirect otherwise no redirect required. Thoughts? Thankyou.
Intermediate & Advanced SEO | | brandonegroup0 -
Product instant answers?
Hi Guys, I noticed today that Google was serving a VERY different organic result for a product level search. The query was "giro aspect". Included is a screenshot of the SERP. Anyone know about these? Is there anything we need to do to get this (i.e certain schema.org markup)? Any insights appreciated,
Intermediate & Advanced SEO | | evoNick
Will fPzGb06.jpg0 -
How important is the optional <priority>tag in an XML sitemap of your website? Can this help search engines understand the hierarchy of a website?</priority>
Can the <priority>tag be used to tell search engines the hierarchy of a site or should it be used to let search engines know which priority to we want pages to be indexed in?</priority>
Intermediate & Advanced SEO | | mycity4kids0 -
Structure: Should an eCommerce blog have main menu links to each of the store category pages?
Hi, Should my eCommerce site's blog have menu links to the store's category pages? (like in the store itself) The meaning is that every blog post page will have links to category pages that are not related and probably weakens the in-text relevant links. The other option is to have menu links only to the blog category pages and in-article links to the relevant store category pages (maybe add menu button "Go to Store"). Thanks
Intermediate & Advanced SEO | | BeytzNet0 -
Google and Product Description Tabs
How does Google process a product page with description tabs? For example, lets say the product page has a tab for Overview, Specifications, What's In the Box and so on. Wouldn't that content be better served in one main product description tab with the tab names used as (htags) or highlighted paragraph separators? Or, does all that content get crawled as a single page regardless of the tabs?
Intermediate & Advanced SEO | | AWCthreads0 -
Category Base in Wordpress
I notice that there is a checkbox on the Yoast SEO Plugin for "strip category base". What is the reason to do this? What are the SEO advantages and disadvantages?
Intermediate & Advanced SEO | | casper4340 -
ECommerce products duplicate content issues - is rel="canonical" the answer?
Howdy, I work on a fairly large eCommerce site, shop.confetti.co.uk. Our CMS doesn't allow us to have 1 product with multiple colour and size options so we created individual product pages for each product variation. This of course means that we have duplicate content issues. The layout of the shop works like this; there is a product group page (here is our disposable camera group) and individual product pages are below. We also use a Google shopping feed. I'm sure we're being penalised as so many of the products on our site are duplicated so, my question is this - is rel="canonical" the best way to stop being penalised and how can I implement it? If not, are there any better suggestions? Also, we have targeted some long-tail keywords in some of the product descriptions so will using rel-canonical effect this or the Google shopping feed? I'd love to hear experiences from people who have been through similar things and what the outcome was in terms of ranking/ROI. Thanks in advance.
Intermediate & Advanced SEO | | Confetti_Wedding0 -
Google Listing & Description Categories Question
How do you set up a website or home page to get the individual listing below the description text. For example with the SEO moz listing there are many of the categories listed below the description. Such as SEO Blog, SEO tools ... Is there a way to add this to a home page so good will pick it up this way? I attached a screen shot of what I am talking about because I think I am likely using the wrong terminology. Npcpu.png
Intermediate & Advanced SEO | | fertilityhealth0