How to Change Product Slugs in Bulk in WooCommerce
Shorten or clean up WooCommerce product URLs on many products without breaking old links: what WordPress redirects, what it does not, and how to check.
WooCommerce has no bulk screen for product slugs. The built-in bulk edit has no Slug field, and the CSV importer has no slug column (WooCommerce 11.2.1). Quick Edit changes one slug at a time, so changing product slugs in bulk takes a plugin. WordPress redirects the old address of a published product with a 301. StoreEdit AI Pro writes up to 1,000 new slugs a request, with a preview and undo.
| Changing WooCommerce product slugs in bulk at a glance | |
|---|---|
| Built-in bulk edit | No Slug field |
| Product editor and Quick Edit | A single product per save: the Edit button next to the address, or the Slug field in Quick Edit |
| CSV importer | No slug column in the import or the export; a changed Name keeps the old slug |
| Old address | WordPress redirects it with a 301 for a product that is published when its slug changes; not for a draft, a pending, a scheduled or a private product |
| Product base | The /product/ part, one setting for the whole shop under Settings › Permalinks; old links then need your own redirects |
| Plugins | WP Sheet Editor (premium version), BEAR (its free version’s field list does not name the slug) and Yangtics Bulk SEO Editor edit slugs for many products on one screen |
| StoreEdit AI Pro | One new slug per product, written by your assistant, for up to 1,000 products a request; preview, apply, undo |
| StoreEdit AI cannot | Change the product base, update links typed into pages, menus or emails, or choose products by price, stock, date, SKU pattern or sales |
Checked on 26 November 2026 against WooCommerce’s and Google’s documentation and the source code of WordPress 7.1.5 and WooCommerce 11.2.1. The plugins’ own pages and the code of StoreEdit AI 0.3.22 and StoreEdit AI Pro 0.3.11 were checked the same day.
WooCommerce changes a product slug one product at a time, in the product editor or in Quick Edit. A plugin or StoreEdit AI Pro changes many, and the old address of a published product leads to the new one.
Contents
- What is a product slug in WooCommerce?
- When should you change a live product slug?
- How do you change one product slug in WooCommerce?
- Can the built-in bulk edit or a CSV file change slugs?
- What does WordPress redirect after a slug change?
- How do you change the product base?
- Which plugins change product slugs in bulk?
- How does StoreEdit AI change product slugs?
- How do you check slugs after a bulk change?
- Which method fits a bulk slug change?
- Questions
- Sources
What is a product slug in WooCommerce?
A product slug in WooCommerce is the last part of a product’s address, such as blue-mug in example.com/product/blue-mug/. The Product name field generates the slug of a new product, according to WooCommerce’s product editor page (checked 26 November 2026). The same page says “Changing the title of an existing product does not alter the slug”. WordPress cleans a slug as it saves it (WordPress 7.1.5, wp-includes/formatting.php). The cleaning turns letters to lower case, replaces spaces with hyphens, strips accents and keeps at most 200 characters. Two published products cannot share a slug. WordPress adds a number such as -2 to the second one and saves that (wp_unique_post_slug()). The part before the slug, /product/ by default, is the product base, a shop-wide setting with its own section below. A live slug has links pointing at it, which is the first thing to weigh.
When should you change a live product slug?
You should change a live product slug when it is clearly broken, such as a slug full of supplier codes, a very long one or one copied from a messy import. Google’s URL structure page (checked 26 November 2026) recommends “readable words rather than long ID numbers” and hyphens between the words. The same page says URLs are case sensitive, and WordPress stores every slug in lower case. Leave a slug that already reads as plain words. Every change moves a page that people have bookmarked, shared or linked, so the old address has to keep leading somewhere. WooCommerce’s own route changes one slug at a time.
How do you change one product slug in WooCommerce?
You change one product slug in WooCommerce in the product editor or in Quick Edit. The editor steps follow WooCommerce’s product editor page (checked 26 November 2026).
- Open the product under Products › All Products.
- Click the Edit button next to the address below the Product name field; the button appears after the product’s first save.
- Type the new slug and confirm it.
- Click Update, then open the old address and check where it lands.
The editor has a second place for the same field. WooCommerce’s page says the Slug panel is “hidden by default”, and the Screen Options tab shows it. Quick Edit is the shorter route for a handful of products. Hover a product in the list, click Quick Edit, change the Slug field and click Update. WordPress 7.1.5 puts the Slug field in Quick Edit and leaves it out of the bulk edit form (class-wp-posts-list-table.php). Both routes save one product at a time, which leaves the question of many products.
Can the built-in bulk edit or a CSV file change slugs?
No, the built-in bulk edit and a CSV file cannot change slugs in WooCommerce 11.2.1. WooCommerce’s bulk editing page (checked 26 November 2026) lists the bulk edit’s fields, from categories and price to stock, and a slug is not among them. The bulk edit form in the code has no slug field (html-bulk-edit-product.php). The CSV importer’s page and its column schema name no slug column. Neither the importer nor the exporter reads or writes one (class-wc-product-csv-importer.php, class-wc-product-csv-exporter.php). A CSV import that changes a product’s Name leaves its slug as it was (class-wc-product-data-store-cpt.php). A new product created by an import gets its slug from its name. An export still helps here, because its ID, SKU and Name columns are a start for your own list of old and new slugs. The CSV routine for the other fields is in updating WooCommerce products with a CSV file. Whichever tool writes the new slugs, the old addresses come next.
What does WordPress redirect after a slug change?
WordPress redirects the old address of a published product after a slug change, with a permanent 301 redirect. WordPress 7.1.5 stores the old slug with the product each time a published product is saved with a new one (wp_check_for_changed_slugs()). A visitor who opens the old address and finds nothing there is sent to the product’s current address (wp_old_slug_redirect()). One product keeps several old slugs, so a slug changed twice redirects from both old addresses. A slug changed back to an old one is taken off the stored list. The old slug stays stored with the product, and the code sets no expiry for it. Google’s redirects page (checked 26 November 2026) recommends “a permanent server-side redirect whenever possible” for a moved page, and names the 301 and 308 status codes. Google’s site move page says to keep redirects as long as possible, and generally at least one year.
WordPress’s redirect does not cover four cases.
- A product that is not published when its slug changes. WordPress stores no old slug for a draft, a pending, a scheduled or a private product.
- An old slug given to another product. The redirect runs only when the old address finds nothing, so the old address then shows the other product.
- A change of the product base. WooCommerce’s permalinks page says old links then “return 404 errors unless you set up redirects”.
- A tool that writes the slug straight to the database, past WordPress’s own product update. WordPress stores no old slug then.
WP Sheet Editor’s guide to long product URLs (updated 15 April 2026, checked 26 November 2026) says a changed URL “will result in a 404 error for anyone using the old link”. The guide tells readers to keep a redirect plugin active. The WordPress code and that guide agree that old links must keep working, and they differ on whether WordPress does it by itself. One product settles it on your shop. Change its slug, open the old address in a private browser window and see where it lands. An old address that shows a 404 needs a redirect from a redirect plugin. The slug is one of the two parts of the address, and the other part is shop-wide.
How do you change the product base?
You change the product base under Settings › Permalinks, in the Product permalinks section. WooCommerce’s permalinks page (checked 26 November 2026) lists four options, named Default, Shop base, Shop base with category and Custom base. With any permalink structure other than Plain, Default gives addresses such as example.com/product/hoodie-with-logo. Shop base with category puts the product’s category in the address, as in example.com/shop/hoodies/hoodie-with-logo. Click Save Changes after you choose. The page says a second click on Save Changes typically resolves product pages that return 404 errors after the change. The same page says a new permalink structure “updates the URLs of existing products”, and that old links then need your own redirects. The product base is one setting for the whole shop. StoreEdit AI does not change it, and none of the three plugin pages below names it. The plugins below change the slug, the part each product owns.
Which plugins change product slugs in bulk?
Three plugins that change product slugs in bulk are WP Sheet Editor, BEAR and Yangtics Bulk SEO Editor. Each entry follows its maker’s own page, checked on 26 November 2026.
- WP Sheet Editor on WordPress.org (version 1.8.23, 10,000+ active installations): the page lists URL Slug among the fields of the premium version, and the free version’s field list leaves it out. The guide “WooCommerce – Add SKU or Title to Product URLs” (updated 13 May 2026) fills the URL Slug column of many products from the SKU, the title or both.
- BEAR on WordPress.org (version 1.2.6, 30,000+ active installations): BEAR’s FAQ page on copying the product title into the slug field says to use the variable
{TITLE}in the bulk editing form. The same answer says a cleared slug cell is filled again from the product title. The free version’s field list on WordPress.org does not name the slug. The WordPress.org page lists a History of operations “with roll-back possibility”. The same page says BEAR has a built-in MCP server for an AI assistant, and that every change made through it is previewed before it is written. - Yangtics Bulk SEO Editor on WordPress.org (version 1.0.1, 20+ active installations): the page lists bulk editing of the SEO title, meta description, noindex and slug fields. The plugin covers posts, pages, WooCommerce products, custom post types and taxonomies. The page says the plugin reports duplicate slugs “instead of silently appending -2 or -3”, and that it keeps a change log with before and after values. Yangtics Bulk SEO Editor needs exactly one of Yoast SEO or Rank Math active.
The three plugins write slugs in a grid or a form on one screen. A slug built from a SKU is as clean as the SKU, and the guide to bulk editing SKUs in WooCommerce covers that field. The guide to the best WooCommerce bulk edit plugins compares the bulk editors by preview and undo, and BEAR’s assistant route is set out in StoreEdit AI vs BEAR. StoreEdit AI Pro works from a request to your assistant as well, and a person approves each row in WordPress.
How does StoreEdit AI change product slugs?
StoreEdit AI changes product slugs when you ask your assistant, for example “Shorten the slug of every product in Mugs: remove the supplier code and keep the colour”. Writing slugs needs StoreEdit AI Pro. Your assistant reads the products, each with its slug as it is now, and writes one new slug for each product it names. One request covers up to 1,000 products. The plugin cleans each slug as WordPress cleans one, so the preview shows the slug that would be saved. WordPress shows every product with its slug now, the slug it would become and a tick box. Nothing changes until you press Apply selected, and you can untick any row first. The title of the product stays as it is.
StoreEdit AI refuses the whole request when one slug breaks a rule, and your assistant is told why. A slug with a / in it is refused, because the slug is the last part of the address and not a whole URL. A slug that is empty, or longer than the 200 characters WordPress stores, is refused, and a Greek letter counts as six. A slug with a percent code in it is refused. One slug given to two products, or one product named twice in the same request, is refused. A slug that another product already has, or that WordPress reserves, is shown in the preview with the slug WordPress would make of it, and is not written. WordPress would save such a slug with a number such as -2 at its end, and StoreEdit AI Pro never writes a slug you did not see. Your assistant can propose another slug for that product in a new request. A product that already has the proposed slug is skipped. StoreEdit AI does not check whether a new slug is another product’s old slug. Giving out such a slug ends that product’s redirect, so check the old addresses afterwards.
StoreEdit AI Pro writes each slug through WooCommerce and WordPress, the way a save in the product editor does. WordPress therefore stores the old slug of a published product, as it does after a save by hand. Each row is checked again as it is written. A product whose slug someone changed since the preview is skipped, and a slug that another product took in the meantime fails with the product left as it was. Undo puts back the slug of one product or of the whole request, exactly as the shop stored it. Undo leaves alone a product whose slug someone changed since. Undo fails for a published, scheduled or private product whose old slug another product has taken in the meantime. A draft or a pending product gets its old slug back even then, because WordPress lets drafts share a slug. Such a draft keeps the shared slug only while it is a draft, and WordPress adds a number such as -2 when it is published. Undo fails, too, for a product that had no slug before the change and has been published since. With the free plugin alone, or without a valid StoreEdit AI Pro licence, a slug request is shown as a preview and not applied. Undoing an applied slug change needs StoreEdit AI Pro installed and active, and a lapsed licence does not stop it. The behaviour follows the plugins’ code (StoreEdit AI 0.3.22 and StoreEdit AI Pro 0.3.11, IntentParser.php, ReadsSlug.php and SetSlugHandler.php, checked 26 November 2026).
On our test shop on 11 October 2026, the day slugs were added to the plugin, the old link answered with a 301 to the new one after the change. After undo, the new link answered with a 301 to the old one.

StoreEdit AI cannot do the following (its code and its WordPress.org page, checked 26 November 2026).
- Change the product base under Settings › Permalinks, or the slug of a category or a tag.
- Update links to the old address that you typed into pages, menus, blog posts or emails.
- Give each product its own price, stock number or category in one request; StoreEdit AI Pro’s move to the right category is the one exception.
- Set a price for a single variation.
- Choose products by their price, stock level, date, SKU pattern or sales.
- Edit, crop or generate images, or take one from your computer.
- Create products, or delete one for good; with StoreEdit AI Pro it moves products to the Trash, and undo brings them back while they are there.
- Import or export a CSV, or schedule anything other than a sale’s dates.
- Touch customers, single orders, payments, coupons, shipping or settings, write All in One SEO’s fields, or work on a multisite network.
The free StoreEdit AI plugin changes prices, sales, stock, categories, tags, titles and descriptions. StoreEdit AI Pro adds attributes, the right category, status, SEO fields, slugs, images, upsells and cross-sells, the Trash, custom fields and the sales analysis. StoreEdit AI Pro costs from $147 a year for one shop (storeeditai.com, checked 26 November 2026). A new slug often goes with a new search title, which is covered in bulk editing SEO titles and meta descriptions in WooCommerce. Each change is previewed, approved by you and undoable, as set out in the StoreEdit AI documentation and in connecting Claude to WooCommerce. A check of the old addresses closes any slug change.
How do you check slugs after a bulk change?
You check slugs after a bulk change by opening old addresses and updating the links you control. The steps apply to every method on this page.
- Change three products first, before the rest of the catalogue.
- Open each old address in a private browser window, and confirm that it lands on the new address.
- Update the links you control, in menus, banners, blog posts and emails.
- Read your product sitemap for the new addresses, and later the indexed pages in Google Search Console.
- Keep a record of old and new slugs, as a spreadsheet or as your tool’s log.
A redirect keeps an old link working, and a direct link spares the visitor the extra step. Google’s site move page (checked 26 November 2026) lists updating internal links to the new URLs among its steps. The methods compare as follows.
Which method fits a bulk slug change?
The method that fits a bulk slug change depends on how many products change and on who writes the new slugs. The table compares the routes of this page.
| Method | What it changes | What you see before it is written | How you go back |
|---|---|---|---|
| The product editor or Quick Edit | The slug of one product | The slug you typed | Type the old slug again |
| The built-in bulk edit | No slug | — | — |
| The CSV importer | No slug | — | — |
| A bulk-edit plugin | The slugs of many products, typed or built from the title or the SKU | Depends on the plugin; BEAR’s page lists a preview before every change made through its MCP server | Depends on the plugin; BEAR lists a History with roll-back, and Yangtics Bulk SEO Editor a change log |
| StoreEdit AI Pro | One slug per product, written by your assistant, up to 1,000 a request | Each product’s slug now and after | Undo one product or the whole request |
Quick Edit suits a handful of slugs. A bulk-edit plugin suits slugs built by one rule, such as the title or the SKU. StoreEdit AI Pro suits slugs your assistant writes product by product, with a check of every row first. The other product fields are covered in the guide to bulk editing WooCommerce products, and the ways back in undoing a bulk edit in WooCommerce. The questions below repeat the key answers in short form.
Questions
Do you need a redirect plugin after a slug change?
No, you do not need a redirect plugin after a slug change on a published product saved through WordPress. Test one product first. A new product base, or an old slug given to another product, needs your own redirect.
Can you use a CSV file to change product slugs?
No, you cannot use a CSV file to change product slugs with WooCommerce’s own importer. The importer has no slug column; a bulk-edit plugin with a slug field, such as the three on this page, does it.
Does changing a product’s name change its slug?
No, changing a product’s name does not change its slug once the product is published. A draft that has no slug yet takes one from its name when it is first published.
Can two products share one slug?
No, two published products cannot share one slug. WordPress adds a number such as -2 to the second slug and saves that.
Can you change the /product/ part of the address?
Yes, you can change the /product/ part under Settings › Permalinks. The setting changes every product address, and the old addresses need your own redirects.
Does a slug change hurt your search results?
No, a slug change with a permanent redirect does not have to hurt your search results, but nobody can promise a ranking. Google treats a permanent redirect as a signal to show the new address (Google’s redirects page, checked 26 November 2026).
Can StoreEdit AI change product slugs for free?
No, StoreEdit AI cannot change product slugs for free. The free plugin shows the preview of a slug change, and StoreEdit AI Pro writes it.
Sources
- WooCommerce, “WooCommerce Product Editor settings”, woocommerce.com, checked 26 November 2026.
- WooCommerce, “Bulk Editing Products”, woocommerce.com, checked 26 November 2026.
- WooCommerce, “Product CSV Importer and Exporter”, woocommerce.com, checked 26 November 2026.
- WooCommerce, “Product CSV Import Schema”, github.com, checked 26 November 2026.
- WooCommerce, “Permalinks”, woocommerce.com, checked 26 November 2026.
- WordPress source code, version 7.1.5: old slugs and unique slugs (wp-includes/post.php), the redirect (wp-includes/query.php), slug cleaning (
wp-includes/formatting.php) and Quick Edit (wp-admin/includes/class-wp-posts-list-table.php), checked 26 November 2026. - WordPress developer reference, wp_check_for_changed_slugs() and wp_old_slug_redirect(), checked 26 November 2026.
- WooCommerce source code, version 11.2.1: the bulk edit form (
html-bulk-edit-product.php), the importer (class-wc-product-csv-importer.php), the exporter (class-wc-product-csv-exporter.php) and the product save (class-wc-product-data-store-cpt.php), checked 26 November 2026. - Google Search Central, “URL structure best practices for Google Search”, developers.google.com, checked 26 November 2026.
- Google Search Central, “Redirects and Google Search”, developers.google.com, checked 26 November 2026.
- Google Search Central, “Site moves and migrations”, developers.google.com, checked 26 November 2026.
- WP Sheet Editor, version 1.8.23 on wordpress.org, checked 26 November 2026.
- WP Sheet Editor, “WooCommerce – Add SKU or Title to Product URLs” (updated 13 May 2026), wpsheeteditor.com, checked 26 November 2026.
- WP Sheet Editor, “How to Find and Fix Long WooCommerce Product URLs for Better SEO” (updated 15 April 2026), checked 26 November 2026.
- BEAR, “BEAR – Bulk Editor for WooCommerce Professional. AI assistant on board (MCP Server)”, version 1.2.6, wordpress.org, and the FAQ “Can I copy products title into slug field using bulk edit?” on bulk-editor.com, checked 26 November 2026.
- Yangtics Bulk SEO Editor, version 1.0.1, wordpress.org, checked 26 November 2026.
- StoreEdit AI, plans and prices, storeeditai.com, checked 26 November 2026.
- StoreEdit AI for WooCommerce 0.3.22 on WordPress.org, wordpress.org/plugins/storeedit-ai/, checked 26 November 2026.
- StoreEdit AI for WooCommerce 0.3.22 and StoreEdit AI Pro 0.3.11, the plugins’ code, checked 26 November 2026. Files:
IntentParser.phpfor the requests,ReadsSlug.phpfor the preview andSetSlugHandler.phpfor the write and undo.
See every new slug before it is written
StoreEdit AI Pro lets your assistant write a cleaner slug for each product, such as a whole range with supplier codes in its addresses. The preview lists each product’s slug now and the slug it would become. You untick any row you do not want, apply the rest, and can undo the request afterwards. An old link to a published product keeps working through WordPress’s own 301.