WooCommerce, URL Structure Setup Help

TroyHyp

Newbie
Joined
Dec 11, 2020
Messages
2
Reaction score
0
Hi there, can anyone suggest what to do with an issue that I have been looking into for a while.

We have a WooCommerce store that has Yoast installed along with a permalink manager and redirection tool but struggling to understand how I should setup urls to a product.

As an example store.com/shop seems to show all products on the website, then we setup categories and url to a product can be store.com/category/product.html but also noticed that we can access that same product via store.com/shop/product.html and store.com/shop/product.html.

Does anyone know the best way to set this up, do we get /shop and /category removed and force all urls to something like store.com/product.html or should we block /shop somehow and make store.com/category/product.html the only way that google can index that product.

Any feedback appreciated, I read a lot online but most articles suggest to pick the best url structure for your business though not able to understand what the best way forward is.

Cheers and thanks

Mal
 
Direct link to the product under site.com/product. Then it doesn't matter if the product is linked under multiple category pages, it will always link to the same URL.
 
Best URL Structure that will make your crawlers understand your sitemap is: /shop => shows all the products; /product-category/{cat-name} => For each product category; /{product-name} => for each product and that's the default structure for woocommerce. Easy even for a normal human to understand your sitemap
 
Back
Top