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
-
What would cause the wrong category page to come up?
I am trying to figure out why the wrong thing is coming up in the serps. For example, we are trying to rank for used widgets. But when you type in used widgets in google the primary widget page doesn't come up, one of the secondary categories under used widgets comes up. What would cause this? What are things I should check?
Intermediate & Advanced SEO | | EcommerceSite0 -
E-commerce category page optimization - filters vs. categories
Hi, We currently have a site where there are several subcategories for every main category. So this means that visitors will have to click through 3-4 subcategories before reaching products that they could have easily found if the site would be using filters on category pages. My question is - if a subcategory page with 4 products is currently a category page (optimized heading, description) and I'd want this category to be available through filters, how do I still keep it optimized for search engines? So under a category "Cleaners", we have all cleaning products. There are 8 "Cable cleaners" under this category. This is currently a subcategory, but I'd just solve this with a filter in the "Cleaners" screen. Not sure what's right from an SEO standpoint here.
Intermediate & Advanced SEO | | JaanMSonberg0 -
Duplicate content on yearly product models.
TL;DR - Is creating a page that has 80% of duplicated content from the past year's product model where 20% is about the new model changes going to be detrimental to duplicate content issues. Is there a better way to update minor yearly model changes and not have duplicated content? Full Question - We create landing pages for yearly products. Some years the models change drastically and other years there are only a few minor changes. The years where the product features change significantly is not an issue, it's when there isn't much of a change to the product description & I want to still rank on the new year searches. Since I don't want duplicate content by just adding the last year's model content to a new page and just changing the year (2013 to 2014) because there isn't much change with the model, I thought perhaps we could write a small paragraph describing the changes & then including the last year's description of the product. Since 80% of the content on the page will be duplicated from the last year's model, how detrimental do you think this would be for a duplicate content issue? The reason I'm leaving the old model up is to maintain the authority that page has and to still rank on the old model which is still sold. Does anyone else have any other better idea other than re-writing the same information over again in a different way with the few minor changes to the product added in.
Intermediate & Advanced SEO | | DCochrane0 -
E commerce canonical links: include category structure?
I have a client on shopify. All categories have correct canonical links. however, the links from all menus, category pages, etc. follow this structure: /collections/COLLECTION_NAME/products/PRODUCT_NAME but the canonical link on the above product url is: /products/PRODUCT_NAME I have a feeling this is hurting our product detail page's seo. Our collection pages are ranking fine, but for some reason the detail pages aren't. It could be that they are deeper, but I am trying to make sure nothing big is causing it first before I get into the smaller factors. Any best practices on this?
Intermediate & Advanced SEO | | no6thgear0 -
Product Colours change on ecommerce store... similar descriptions.
Hi, In the case of a RED/GREEN/YELLOW coffeemaker for example, I have say 6 pages that are indexed in google. Now, I can write very unique content for each and that gives me 6 pages in SERPS. Or make it a configurable product? What is best, and how different would the description need to be - my feeling that just changing the word colour in the text would NOT be enough. Thanks, B
Intermediate & Advanced SEO | | bjs20100 -
How do we get individual products to rank ?
Hi, We have a site that sells music and we have been researching SEO and things we can do to help SERPs. We have started on link building and have added links to the footer of our page We have friendly urls, meta tag description added to all products. My question is, Yes we can work on getting keywords to rank better in google, one of ours being buy cds. But when it comes to individual products these keywords and results are useless if people are searching for a CD by artist or title which most do as they know what they are looking for. How do i get better results for all these unique products ? One or more of our competitors constantly show up in first few results for nearly any CD search by artist or title, yet we cant seem to get anywhere near this type of result ? Thanks Chris
Intermediate & Advanced SEO | | PressPlayMusic0 -
Adding Millions of Products to Google
What is the best way to submit all of your product pages, millions, to Google for serps? XML, RSS, Google Product Search, etc. These are products that are updated on a daily basis, and change often.
Intermediate & Advanced SEO | | Copstead0 -
How to deal with category browsing and duplicate content
On an ecommerce site there are typically a lot of pages that may appear to be duplications due to category browse results where the only difference may be the sorting by price or number of products per page. How best to deal with this? Add nofollow to the sorting links? Set canonical values that ignore these variables? Set cononical values that match the category home page? Is this even a possible problem with Panda or spiders in general?
Intermediate & Advanced SEO | | IanTheScot0