Website Building » WooCommerce » How Do I Change the Category of a Slug in WooCommerce?

How Do I Change the Category of a Slug in WooCommerce?

Last updated on October 1, 2022 @ 11:32 pm

When you first install WooCommerce, it automatically creates a shop page and sets the permalink structure to /shop/. This can be changed in the WordPress settings, and the new structure will apply to all future products. However, if you want to change the URL of an existing product, you need to do this via the product itself.

In the WooCommerce products list, find the product you want to change and hover over it. Then click on the edit link that appears.

On the edit screen, scroll down to the product permalink section and click on the Change button next to the current URL. You’ll be able to enter a new slug here.

PRO TIP: If you are using WooCommerce, do not change the category of a slug. This could break your site.

Once you’re happy with your new slug, click on the Update button at the bottom of the page and your changes will be saved.

Changing the category of a slug in WooCommerce is easy to do via the product itself.

To change an existing products URL:

  1. In the WooCommerce products list, find the product you want to change and hover over it.
  2. Then click on the edit link that appears.
  3. On the edit screen, scroll down to the product permalink section and click on Change button next to current URL.

You’ll be able to enter a new slug here. Once you’re happy with your new slug, click on Update button at bottom of page and your changes will be saved.

Madison Geldart

Madison Geldart

Cloud infrastructure engineer and tech mess solver.