Website Building » WooCommerce » How Do I Change Product Category URL in WooCommerce?

How Do I Change Product Category URL in WooCommerce?

Last updated on January 13, 2023 @ 5:17 pm

If you’re using WooCommerce to sell products online, then you may want to change the product category URL structure to something more SEO friendly. By default, WooCommerce category URLs look like this:

yoursite.com/product-category/category-name/

However, changing the URL structure is fairly easy and can be done in the WordPress admin panel. Here’s how:

  1. Login to your WordPress admin panel and go to WooCommerce > Settings. On the Settings page, go to the Products tab and click on the Product categories link.
  2. On the Product categories page, you’ll see a field labeled “Category base”. By default, this field is set to “product-category”. You can change this to anything you want. For example, if you wanted your category URLs to look like this:yoursite.com/shop/category-name/
  1. Then you would simply change the “Category base” field to “shop”. Once you’ve made your changes, don’t forget to click on the “Save changes”. That’s it! You’ve successfully changed your WooCommerce product category URL structure.
PRO TIP: If you are planning to change the product category URL in WooCommerce, it is important to first take a backup of your site. This is because changing the URL can potentially break your site if not done correctly.
Morgan Bash

Morgan Bash

Technology enthusiast and Co-Founder of Women Coders SF.