Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

WooCommerce- How to remove product & product-category from urls?

I'm using WooCommerce on a WordPress and it adds product & product-category to the URLs. http://dev.unwaveringmedia.com/8dim/product-category/all-party-supplies/ http://dev.unwaveringmedia.com/8dim/product/14-snowman-serving-tray/

I need to remove 'product' & 'product-category' from the URLs. Is there any way to modify the permalinks and remove them?

like image 663
Irfan Avatar asked Jan 15 '14 06:01

Irfan


People also ask

What happens when I delete a product in WooCommerce?

It's true that when you do remove your product page, any links to it from related items, up-sells, or cross-sells in WooCommerce will vanish with it. However, that can leave a big gap in your selling strategy.


1 Answers

Its good practice for SEO and UX to have a product category base. Product category bases help to distinguish products from posts. I usually change the product category base to "our-products" or "products".

To do this go to settings->permalinks-> enter your desired product category base.

like image 75
rhysclay Avatar answered Sep 19 '22 15:09

rhysclay