Avoid duplication – Make shop base and product category the same URL?
-
My store has only one category. Therefore, the category base required by WooCommerce is unnecessary, adding length to the URL for no purpose. Additionally, when breadcrumbs are used, clicking on either the shop base or category base will show essentially the same thing at two separate URLs, so it is confusing and pretty much duplicate content.
eg.
mystore.com/shop/ and mystore.com/shop/product-category list the same products, because there is only one category. Is is essentially a duplicate page, which is confusing, especially if people are looking at a breadcrumb on a single product page that looks like this: mystore.com/shop/product-category/product-name. It implies that the customer can click on ‘shop’ or ‘product-category’ and see different things, but they list the same products, because there is only one category.
Furthermore, I want to concentrate all my SEO efforts on one ‘category’ page, not two (a shop page listing the products from only one category is essentially a duplicate of the product category page).
How do I natively bypass either the shop base or the category base so my shop and product category page are the same URL? Such as:
mystore.com/shop/ (with no mystore.com/shop/product-category)
or mystore.com/product-category (i.e. category name as the shop base)I’d prefer not to mess with 301 redirects in case I ever needed to create another category sometime in the future.
Many stores sell only a few products, often all the same category. Surely there is a native solution for this?
Any help would be appreciated.
Thanks.
- The topic ‘Avoid duplication – Make shop base and product category the same URL?’ is closed to new replies.