Skip to content
rk-new-header-logo-main
  • Android AppsExpand
    • RaptoKit App
    • Temp Mail App
    • AI Image Generator
    • Terabox Downloader
  • Blog
  • All Tools
  • About
  • Contact
rk-new-header-logo-main
E-commerce · SEO

How to Remove Product OR Product-Category Slug from WooCommerce URL

Shrey Kajaria Hours Last Updated On:December 11, 2024

Do you want to How to Remove Product slug from WooCommerce URL? or you want to How to Remove Product-Category slug from WooCommerce URL? Then you are at the right place.

WooCommerce is one of the most popular eCommerce platforms for WordPress. However, its default URL structure includes slugs like /product/ or /product-category/, which can make URLs longer and less SEO-friendly.

In this guide, we’ll show you how to remove these slugs using the powerful Rank Math SEO plugin. By the end, your WooCommerce URLs will be clean, professional, and optimized for SEO. So without wasting further time let’s get into this tutorial.

Table of Contents

Toggle
  • How to Remove Product or Product-Category Slug from WooCommerce URL
  • Why Remove Product or Product-Category Slugs from WooCommerce URLs?
  • Conclusion

How to Remove Product or Product-Category Slug from WooCommerce URL

Well, removing this is very easy process with the help of Rank Math SEO plugin, as you won’t need to do any coding stuff, and just clicking two times these prefix will get removed, let me show you step-by-step.

Step: 1: Install Rank Math SEO Plugin

The installation and activating process of Rank Math on WordPress is very easy.

Get Rank Math SEO Plugin

You can do that in two ways:

Method 1: You can download it from WordPress plugin library:

Just go to Google and search “Rank Math Plugin download”.

  • In the very first result, you will get WordPress official site. 
Rank Math Plugin download
  • Click on that result. You will land on WordPress’s plugin library with Rank Math’s downloadable link.
Rank Math Plugin download page
  • Simply download this zip file, and extract it.
  • Then go to the WordPress admin dashboard. Click on: Plugins > Add New > Upload Plugin > Choose File > Install Now > Activate it.
how to install rank math plugin

Method 2: From the WordPress admin‘s dashboard.

This process is straightforward.

  • Just go to the “Plugins” section. 
  • Click on add new and type Rank Math in the search box.
Rank Math Plugin installation
  • It will provide the Rank Math plugin. Install it and activate it.
Get Rank Math SEO Plugin

Step 2: Enable and Access the WooCommerce Settings in Rank Math

rank-math-dashboard

First, Open Rank Math SEO Dashboard.

enable-rank-math-woocommerce-module

Then, in modules section scroll down, find WooCommerce module, and then enable it. Then click on the settings button near to it.

Step 3: Enable the Option to Remove Slugs

enable-rank-math-woocommerce-module

Now you will see some WooCommerce settings and under it you will find an option remove base (to remove the product prefix from slug) and remove category base (to remove the product-category prefix from slug).

Just enable these options to remove the product & product-category prefix from the slugs.

save-woocommerce-setting

After that just scroll down and click on the Save Changes button to save it, and you’re down.

Why Remove Product or Product-Category Slugs from WooCommerce URLs?

Default WooCommerce URLs

  • Example of a product URL: https://yourstore.com/product/shoes/
  • Example of a category URL: https://yourstore.com/product-category/footwear/

Benefits of Removing Slugs

Cleaner URLs: After removing the slug:

  • https://yourstore.com/shoes/
  • https://yourstore.com/footwear/

Improved SEO: Search engines prefer shorter and more descriptive URLs.

Better User Experience: Clean URLs are easier to remember and share.

Conclusion

Removing the /product/ and /product-category/ slugs from your WooCommerce URLs is a simple yet effective way to improve your website’s SEO and user experience. With the Rank Math SEO plugin, this process is quick and hassle-free.

Get Rank Math SEO Plugin

Start optimizing your WooCommerce store today and enjoy the benefits of clean, SEO-friendly URLs!

shrey-kajaria-new-profile
Shrey Kajaria
Visit Website

⭐ Helping Bloggers in boosting their website & earnings with my awesome growth strategies since 2021. Digital Marketer | Content Creator | SEO Expert | Founder of Blogging Raptor & RaptorKit.

  • Write For Us
  • Contact
  • Privacy

© 2026 RaptorKit - Free SEO, Digital Marketing & Online Tools

Table of Contents

×
  • How to Remove Product or Product-Category Slug from WooCommerce URL
  • Why Remove Product or Product-Category Slugs from WooCommerce URLs?
  • Conclusion
→ Table of Contents
Scroll to top
  • Android Apps
    • RaptoKit App
    • Temp Mail App
    • AI Image Generator
    • Terabox Downloader
  • Blog
  • All Tools
  • About
  • Contact