Removing product, product-category from WooCommerce URLs

WooCommerce uses a fixed URL structure for products and product categories. This often creates long and repetitive links that are hard to read and do not reflect how a store is actually organized.

WooCommerce URLs are built on top of built-in rewrite rules, which limits how much you can change using the default settings. While you can edit the product slug, fixed URL parts, such as /product/ and /product-category/, cannot be easily removed.

This happens because WordPress uses permalink bases to tell different content types apart. To change or remove these URL parts, you need either custom code or a dedicated permalink plugin.

Permalink Manager offers a convenient way to handle this. It allows you to safely modify or remove URL bases directly from the admin dashboard, without causing broken links or 404 errors.

Remove product, product-category from WooCommerce URLs

Permalink Manager allows you to customize WooCommerce permalinks directly from the WordPress admin dashboard, without writing any PHP code. The configiration process is simple, and it usually takes only a few clicks.

Step 1: Open Permastructures Editor

To change and override the default WooCommerce permalink settings, open the Permastructure editor. You can find it by navigating in your WordPress dashboard to "Tools -> Permalink Manager -> Permastructures".

Permastructures settings

The WooCommerce content types are organized in a separate subsection for your convenience. You will find the settings for content types controlled by WooCommerce grouped into a separate section near the bottom of the page.

Settings for WooCommerce content types
Permastructure settings for WooCommerce content types

Step 2: Edit the URL Structure

You may now replace the permalink bases /product/, /product-category/, and /product-tag/ with any word you choose or delete them entirely.

Permalink settings for WooCommerce content types

Please remember to save the updated options by clicking the "Save Permastructures" button at the bottom of the page.

To prevent any unexpected modifications to existing URLs that could negatively impact SEO, these changes will not affect them automatically.

The modified formats will be used automatically only for new permalinks. If you wish to update the existing URLs, you can do so by using the "Regenerate/reset" tool.

Step 3: Update Existing URLs (Optional)

If you want your product URLs to follow the new structure without permalink bases, you need to reset their custom permalinks. This can be done using the "Regenerate/Reset" tool found in the Tools section.

You will need to use it separately for post types (Products), and for taxonomies (Product Categories & Product Tags), depending on which ones need to be updated.

Products

After opening the tool, you will see a simple form with a handful of settings. To set the new format for Products, use the settings listed below:

Field Selection
Mode Regenerate custom permalinks
Select content type Post types
Select post types Products
Select post statuses Published
Regenerate product permalinks
Regenerate/reset subsection.

Products categories & tags

Resetting the permalinks for Product Categories and Tags involves steps identical to those used for Products. The settings, however, are shown below and differ a bit from the settings used for Products:

Field Selection
Mode Regenerate custom permalinks
Select content type Taxonomies
Select taxonomies Product categories & Product tags
Regenerate WooCommerce permalinks (product categories and tags)
Form settings for “Product categories” and “Product tags”

If you want to remove /product-category/ from WooCommerce permalinks, using "Permastructures" to bulk update them is more convenient than changing them one by one. Permalink Manager allows you to modify the shop URLs in yet another method.

When you only need to change a few products or product categories, using URI Editor is the simplest and most straightforward option. To open the URI Editor, click the "Permalink Manager" button next to the title input field.

How to edit WooCommerce permalinks using URI Editor?

The URI Editor for product categories and tags may be found at the bottom of the form that allows you to make changes to the term.

URI Editor opened on "Edit category" page

FAQ

Will Removing URL Bases Affect My SEO Rankings?

The URLs are an important element of your SEO strategy and should be analyzed with care. In a brand-new WooCommerce store, updating permalinks usually has little impact on SEO because the site has minimal traffic and few, if any, backlinks.

While URL length does not directly affect the position in search results, it can influence how users perceive your links in search results, which can impact click-through rates.

Shorter, cleaner URLs often look better in search results and can encourage more visitors to click. Search engines typically display only the first 65–75 characters of a URL in results pages.

For an established site, changing existing URLs requires caution. Pages or products that already have backlinks, organic traffic, or authority should generally keep their current permalinks to avoid broken links and loss of SEO value.

When moving to WooCommerce from another platform, like Magento, product URLs may change. Permalink Manager can help restore the original URLs WooCommerce has changed and avoid this risk.

Technically, no. While you can change the base in "Settings -> Permalinks", you cannot leave it blank. You may find tutorials suggesting entering a single dot (.) into the Product or Product category base field in permalink settings for WooCommerce.

While the native permalink settings will not let you remove WooCommerce URL bases, it is possible with a custom permalink plugin, such as Permalink Manager.

Remove product-category base

If you use the same permalink base (like "product") for different content types or remove it completely in built-in permalinks settings, WordPress will not be able to differentiate between different content types.

This configuration may trigger URL conflicts and return 404 errors. WordPress may incorrectly identify standard pages or posts permalinks as WooCommerce product or category links, or the reverse.In such cases, only one content type will load correctly, while the other returns a 404.

Do I Need to Set Up Redirects for Old URLs?

Removing the "/product/" or "/product-category/" base may break existing backlinks. When this happens, visitors and search engines can hit "404 Not Found" pages, which may affect both referral and organic traffic.

Permalink Manager Pro prevents this problem out of the box. The plugin uses a canonical redirect and detect when a user visits an old URL to seamlessly redirects them to the new address.

Last updated by Maciej Bis on: February 17, 2026.


Maciej BisFounder of Permalink Manager & WordPress Developer

The developer behind Permalink Manager, a plugin for managing permalinks, has been working with WordPress, creating custom plugins and themes, for more than a decade.

Go up