Screenshots
Details
How to Remove “product-category” Keyword from WooCommerce Category URL
- Install and activate “Permalink Manager for WooCommerce”
- Go to WordPress Dashboard > Settings > Permalinks
- Scroll down to “Permalink Manager for WooCommerce”
- Select the radio button “Category” beside “Remove WooCommerce keyword from the url and leave category slug”
- Click on Save Changes.
It will change your URL from “www.yoursite.com/product-category/music-category/” to “www.yoursite.com/music-category/”
How to Include Parent and Child or Subcategory in WooCommerce Category URL
- Install and activate “Permalink Manager for WooCommerce”
- Go to WordPress Dashboard > Settings > Permalinks
- Scroll down to “Permalink Manager for WooCommerce”
- Select the radio button “Category with parents” beside “Add category parents hierarchy”
- Click on Save Changes.
It will change your URL from “www.yoursite.com/product-category/music-category/” to “www.yoursite.com/music-category/rock-category”
How to Remove the keyword “product” from the Product URL in WooCommerce
- Install and activate “Permalink Manager for WooCommerce”
- Go to WordPress Dashboard > Settings > Permalinks
- Scroll down to “Permalink Manager for WooCommerce”
- Select the radio button “Product” beside “Remove WooCommerce keyword from the url and leave product slug”
- Click on Save Changes.
It will change your URL from “www.yoursite.com/product/album/” to “www.yoursite.com/album/”
How to Remove the term “product” from the product url and add a category in WooCommerce
- Install and activate “Permalink Manager for WooCommerce”
- Go to WordPress Dashboard > Settings > Permalinks
- Scroll down to “Permalink Manager for WooCommerce”
- Select the radio button “Category” beside “Change WooCommerce keyword to product’s primary category and leave product slug”
- Click on Save Changes.
It will change your URL from “www.yoursite.com/product/album/” to “www.yoursite.com/music/album/”
Which permalink structure is best for SEO?
Removing /product/, /product-category/, or /shop/ from URLs is not recommended by WooCommerce owing to the way WordPress resolves URLs. It uses the product-category (or any other text) basis of a URL to determine whether it leads to a product category.
There are SEO plugins that allow you to delete this base, however doing so can cause a lot of performance and duplicate URL issues.