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
-
Site Speed Testing Tools For Production Sites
Hi Guys, Any free site speed testing tools for sites in production, which are password protected? We want to test site speed before the new site goes live on top priority pages. Site is on Shopify – we tried google page insights while being logged into the production site but believe its just recording the speed of the password page. Cheers.
Intermediate & Advanced SEO | | brandonegroup1 -
Advanced Commerce Category Descriptions and Features - How?
Hello, We are finding that our Ecommerce categories are very important along with our blog and product pages in one niche. How do we deck out a category description so we can have 10X content for that category? For example, if it as "blue running shoes" here's what I have designed so far: A short description at the top that is like two sentences with a "Read More" expansion div that drops down to a menu. The menu is anchor links to BELOW THE PRODUCTS description (rarely read thus the problem) to things like 1. What you should know about blue running shoes 2. Best blue running shoes in this category, a highlight of top product too 3. Features of blue running shoes in this category 4. a table comparison table of the top 5 products 5. FAQ 6. 1 minute video overview of blue running shoes The thing is, I don't think anyone reads the product description in our niche so I won't benefit much from "Time on Site". What can I do to get people to spend time reading my category descriptions and benefit from some "Time on Site" and other similar factors and thus move up above less comprehensive competitors?
Intermediate & Advanced SEO | | BobGW0 -
SEO: Can you rank Amazon product Pages ?
Hi Guys Just a general question about doing SEO for our product pages... We have a range of products on Amazon and wondered if it is worth build some good links to our product pages to get them ranked higher in Google ?? Is it easier to rank Amazon product pages ?? Thanks Guys G Gareth
Intermediate & Advanced SEO | | GAZ090 -
Category Page Outranks Homepage
I have an online party store and when I search for broad industry terms: (party supplies & party decorations) I notice that one of my category pages outranks the homepage. The homepage's Page Authority is better and more external links pointing to the homepage. Is there s technical SEO problem? Why would a category page outrank the homepage?
Intermediate & Advanced SEO | | PartyStore0 -
Adding a huge new product range to eCommerce site and worried about Duplicate Content
Hey all, We currently run a large eCommerce site that has around 5000 pages of content and ranks quite strongly for a lot of key search terms. We have just recently finalised a business agreement to incorporate a new product line that compliments our existing catalogue, but I am concerned about dumping this huge amount of content (that is sourced via an API) onto our site and the effect it might have dragging us down for our existing type of product. In regards to the best way to handle it, we are looking at a few ideas and wondered what SEOMoz thought was the best. Some approaches we are tossing around include: making each page point to the original API the data comes from as the canonical source (not ideal as I don't want to pass link juice from our site to theirs) adding "noindex" to all the new pages so Google simply ignores them and hoping we get side sales onto our existing product instead of trying to rank as the new range is highly competitive (again not ideal as we would like to get whatever organic traffic we can) manually rewriting each and every new product page's descriptions, tags etc. (a huge undertaking in terms of working hours given it will be around 4,400 new items added to our catalogue). Currently the industry standard seems to just be to pull the text from the API and leave it, but doing exact text searches shows that there are literally hundreds of other sites using the exact same duplicate content... I would like to persuade higher management to invest the time into rewriting each individual page but it would be a huge task and be difficult to maintain as changes continually happen. Sorry for the wordy post but this is a big decision that potentially has drastic effects on our business as the vast majority of it is conducted online. Thanks in advance for any helpful replies!
Intermediate & Advanced SEO | | ExperienceOz0 -
Is there a way to stop my product pages with the "show all" catagory/attribute from duplicating content?
If there were less pages with the "show all" attribute it would be a simple fix by adding the canonical URL tag. But seeing that there are about 1,000 of them I was wondering if their was a broader fix that I could apply.
Intermediate & Advanced SEO | | cscoville0 -
Category Pages - Canonical, Robots.txt, Changing Page Attributes
A site has category pages as such: www.domain.com/category.html, www.domain.com/category-page2.html, etc... This is producing duplicate meta descriptions (page titles have page numbers in them so they are not duplicate). Below are the options that we've been thinking about: a. Keep meta descriptions the same except for adding a page number (this would keep internal juice flowing to products that are listed on subsequent pages). All pages have unique product listings. b. Use canonical tags on subsequent pages and point them back to the main category page. c. Robots.txt on subsequent pages. d. ? Options b and c will orphan or french fry some of our product pages. Any help on this would be much appreciated. Thank you.
Intermediate & Advanced SEO | | Troyville0 -
How to prevent Google from crawling our product filter?
Hi All, We have a crawler problem on one of our sites www.sneakerskoopjeonline.nl. On this site, visitors can specify criteria to filter available products. These filters are passed as http/get arguments. The number of possible filter urls is virtually limitless. In order to prevent duplicate content, or an insane amount of pages in the search indices, our software automatically adds noindex, nofollow and noarchive directives to these filter result pages. However, we’re unable to explain to crawlers (Google in particular) to ignore these urls. We’ve already changed the on page filter html to javascript, hoping this would cause the crawler to ignore it. However, it seems that Googlebot executes the javascript and crawls the generated urls anyway. What can we do to prevent Google from crawling all the filter options? Thanks in advance for the help. Kind regards, Gerwin
Intermediate & Advanced SEO | | footsteps0