Remove the product and product-category word in WooCommerce

Simply remove the product and product-category word in WooCommerce in the most simple way.

By default, in the permalink of WooCommerce, there will be the words ‘product’ and ‘product-category’. This helps distinguish the post’s path or its categories. WooCommerce discourages removing these words to avoid duplicate errors or conflicting links between regular posts and the product. However, many people still want to remove them so that the path of the product is shorter, more search engine friendly.

Remove the product and product-category word in WooCommerce

There are many different methods to do this,