1. Home
  2. Docs
  3. WooCommerce
  4. How to remove “product” & “product-category” slug from WooCommerce permalinks?

How to remove “product” & “product-category” slug from WooCommerce permalinks?

Permalink Manager allows to easily remove the permalinks slugs added to WooCommerce permalinks. Below you can find instructions on how to bulk edit product, categories and tags permalinks. Of course you can adjust each of them manually.

Some of the functionalities presented in this post are available only in Permalink Manager Pro.

This tutorial shows how to easily remove the permalink bases from WooCommerce URLs. Similarly you can use it also as a reference for the other custom post types & taxonomies.

How to edit WooCommerce permalinks?

The first thing you will need to do after Permalink Manager is installed & enabled is to open the plugin’s dashboard (“Tools -> Permalink Manager“) and go to “Permastructures” tab.

Go to Permalink Manager dashboard

In the bottom, you will find a subsection titled “WooCommerce” where the permastructures for Products, Product Categories and Product Tags can be edited.

Permastructure settings

Now you can replace the permalink bases: /product/, /product-category/ and /product-tag/ with any word or remove it completely. Please always remember to save the new settings with “Save permastructures” button displayed in the very bottom of the page.

The saved settings will be automatically used for default permalinks of new products, categories and tags. To apply the changes to the old permalinks as well, please follow the instructions in the next step.

New permastructures settings with /product/, /product-category/ and /product-tag/ tags removed completely.

If you would like to use the new permastructures for old permalinks, please go to another section: “Tools -> Regenerate/reset“.

Regenerate/reset subsection.

To reset the Product’s permalinks please set:

  • Mode” to: “Regenerate custom permalinks
  • Select content type” to: “Post types
  • Select post types” to: “Products
  • Select post statuses” to “Published
Regenerate WooCommerce permalinks (products)
Form settings for “Products”

After “Regenerate” button is clicked, a list of updated products’ permalinks should be displayed.

To reset the Product Categories and Product Tags permalinks please set:

  • Mode” to: “Regenerate custom permalinks
  • Select content type” to: “Taxonomies
  • Select post types” to: “Product tags, Product categories
Regenerate WooCommerce permalinks (product categories and tags)
Form settings for “Product categories” and “Product tags”

As was the case with the Product permalinks, the list of updated permalinks will be displayed after “Regenerate” button is clicked.

Translate WooCommerce permalinks

It is also possible to translate the permastructures and set different permalink formats for each language defined with WPML or Polylang. In this article, you can find more information on this.

Translate WooCommerce permalinks (products)

Translate WooCommerce permalinks (product categories & tags)

Was this article helpful to you? Yes No
Ending in
00 Days
00 Hrs
00 Mins
00 Secs
Expired!
Use coupon LIFE19 during checkout to get a lifetime license with 30% discount!
Buy Permalink Manager Pro