Skip to content

How to Remove WooCommerce from WordPress Completely (Proven Steps)

Flat shopping cart with a cross and bin chip for removing WooCommerce from WordPress

To remove WooCommerce from WordPress, you need to do more than delete the plugin. You also need to clear its data from your database, handle leftover extension files and protect your SEO rankings.

We checked every step against the WooCommerce developer docs in October 2026. We also used our own WooCommerce reset test, which compared deleting and uninstalling the plugin. Skipping a step leaves bloated tables, broken pages or lost organic traffic.

This guide starts with how to deactivate WooCommerce or hide the store without deleting anything. It then walks through full removal, from backup to SEO cleanup.

Before You Remove WooCommerce: Things to Do First

Removing WooCommerce deletes store data you may need later, and the cleanup cannot be undone. Back up the whole site and export your products and reports first. A few minutes of preparation now saves hours of troubleshooting later.

Back Up Your Site and Export Your Data

Before touching anything, back up your entire site: files and database. Use a plugin like UpdraftPlus or your hosting control panel’s built-in backup tool. This is not negotiable.

If your store has order history, customer records, or product data you might need later, export it first. For products, go to Products > All Products and click Export at the top of the page, as the product CSV exporter docs show. For sales and customer data, open WooCommerce > Analytics and use the Download link on each report.

The old WooCommerce > Reports screens were deprecated in WooCommerce 4.0, according to the Analytics docs. Core WooCommerce also has no full order export with line items. That needs an export extension.

Export button at the top of the WooCommerce Products screen

Once you delete WooCommerce data, it’s gone. There’s no undo button.

Deactivate vs. Delete (What’s the Difference)

Comparison of deactivating and deleting the WooCommerce plugin and what each keeps

This confuses a lot of people. Deactivating WooCommerce turns it off but keeps all its files and data the same as before. Your products, orders, and settings stay in the database. If you reactivate the plugin later, everything comes back.

Deleting the plugin removes the plugin files but still leaves data in your database by default. Its database tables, options and custom post types stay behind until you remove them.

Worth knowing: If you’re on the edge about removing WooCommerce permanently, deactivating is the safer first step. You can also learn how to reset WooCommerce if you want to start fresh without fully uninstalling it.

How to Deactivate or Disable WooCommerce Without Deleting It

To deactivate WooCommerce, go to Plugins > Installed Plugins and click Deactivate under WooCommerce. Your products, orders and settings stay in the database and come back when you reactivate it. To hide only the shop while you decide, use Coming soon mode instead.

Pick the option that fits your situation:

  • From the dashboard: Use the Deactivate link on the Plugins screen. Step 1 below shows each screen.
  • With WP-CLI: Run wp plugin deactivate woocommerce on the server. The WP-CLI docs list its options.
  • When the dashboard will not load: Rename the wp-content/plugins/woocommerce folder over FTP or File Manager. WordPress turns off a plugin it cannot find.
  • Hide the store only: Go to WooCommerce > Settings > Site visibility, choose Coming soon and turn on Apply to store pages only. The Coming soon mode docs cover the details.
    Coming soon option with Apply to store pages only in WooCommerce Site visibility settings

If the Deactivate link is grayed out, an active extension lists WooCommerce as a required plugin. Since WordPress 6.5, a plugin cannot be deactivated or deleted while plugins that depend on it are active. Deactivate those extensions first.

How to Remove WooCommerce from WordPress (Plugin Removal)

This part is straightforward. Two steps, and the plugin is gone.

Step 1: Deactivate the WooCommerce Plugin

  1. Log in to your WordPress admin dashboard.WordPress login form with username and password fields
  2. Go to Plugins > Installed Plugins.Installed Plugins link under Plugins in the WordPress admin menu
  3. Find WooCommerce in the list and click Deactivate below the plugin name.click Deactivate

WordPress will disable WooCommerce immediately. Your site’s store functionality stops working, but no data is deleted yet.

Step 2: Delete the WooCommerce Plugin

  1. After deactivating, the plugin row will now show a Delete link.WooCommerce plugin row showing the Delete link after deactivation
  2. Click Delete.
  3. Confirm the prompt when WordPress asks if you’re sure.

The plugin files have been removed from your server. But your database still contains all the WooCommerce data: products, orders, customer records, settings and custom tables. That’s what the next section covers.

How to Remove WooCommerce Data Completely

This is the step most guides skip. Getting it wrong leaves your database filled with data that slows your site and can cause conflicts with future plugins.

There are two ways to approach this: a quick method using a single line of code, or a manual method where you delete the data yourself from the WordPress dashboard.

Quick Method: Using the WC_REMOVE_ALL_DATA Constant

WooCommerce includes a built-in flag that tells it to wipe all its data when the plugin is deleted. As per the official WooCommerce developer documentation, here’s how to use it:

  1. Access your site’s wp-config.php file. You can do this via FTP (using a tool like FileZilla) or through your hosting panel’s File Manager.Access your site's wp-config.php file
  2. Scroll to the bottom of the file and add this line above the line that reads /* That's all, stop editing! Happy publishing. */: define( 'WC_REMOVE_ALL_DATA', true );WC_REMOVE_ALL_DATA line added to wp-config.php
  3. Save the file.
  4. Go back to your WordPress admin and delete the WooCommerce plugin as described in Step 2 above.
  5. Once the plugin is deleted, return to wp-config.php and remove that line of code.

When WooCommerce is deleted from the Plugins screen with this constant in place, its uninstall routine removes its tables, settings and data. Our reset WooCommerce test found one catch with WP-CLI. wp plugin delete woocommerce left every product and order in place, while wp plugin uninstall woocommerce removed them.

Four Action Scheduler tables also stay by default because other plugins may use them. The WooCommerce docs add a second constant, WC_REMOVE_ACTION_SCHEDULER, for sites where no other plugin uses Action Scheduler.

Important: This method is destructive and permanent. WooCommerce’s own documentation explicitly states that WooCommerce Support cannot assist with anything that goes wrong during this process. Always back up first.

Manual Method: Deleting Data from the WordPress Dashboard

If you prefer to control exactly what gets removed, do it manually from the admin panel before deleting the plugin.

Work through these areas in order:

  1. Products: Go to Products > All Products. Select all and bulk delete. Then go to Products > Categories and do the same.All products selected with Move to Trash chosen in the WooCommerce bulk actions
  2. Orders: Go to WooCommerce > Orders. Select all, choose the bulk action Move to Trash and click Apply. Empty the trash. This works the same whether your store uses HPOS or the older posts storage.All orders selected with Move to Trash chosen in the WooCommerce Orders bulk actions
  3. Coupons: Go to Marketing > Coupons. Bulk delete all.WooCommerce Coupons screen with all coupons selected and the Move to Trash bulk action
  4. Log data: Go to WooCommerce > Status > Logs. Delete all log files.WooCommerce log files list with all files selected and the bulk actions menu
  5. Transient data: Go to WooCommerce > Status > Tools and click Clear Transients.Clear transients button for WooCommerce transients on the Status Tools tab
  6. Customer accounts: Go to Users > All Users and delete the accounts if they’re no longer needed.Delete link under a customer account in the WordPress Users list

After clearing all of this, deactivate and delete the plugin as described above.

Removing WooCommerce Database Tables (Advanced)

Even after using the manual method or the WC_REMOVE_ALL_DATA constant, some database tables can remain. That happens most when WooCommerce extensions were installed alongside the core plugin.

To check and remove leftover database tables:

  1. Log in to your hosting control panel and open phpMyAdmin.Login to Hosting Panel
  2. Select your WordPress database from the left panel.Select your WordPress database from the left panel.
  3. Look for tables with the prefix wp_woocommerce_ or wp_wc_. Common ones include woocommerce_sessions, woocommerce_api_keys, woocommerce_order_items, wc_product_meta_lookup and wc_tax_rate_classes. Stores on HPOS also have wc_orders, wc_orders_meta, wc_order_addresses and wc_order_operational_data. Select those tables.WooCommerce Database
  4. From the dropdown at the bottom, choose Drop and confirm.From the dropdown at the bottom, choose Drop and confirm.

Do not drop tables unless you’re certain they belong to WooCommerce. If you’re unsure, check against the list of default WordPress tables before deleting anything. A mistake in phpMyAdmin can break your site. Leave the four wp_actionscheduler_ tables alone if another plugin still schedules tasks.

Don’t Forget WooCommerce Extension Plugins

Removing WooCommerce core does not remove the extension plugins you installed alongside it. Payment, shipping and product add-on plugins stay installed and keep their own data. Deactivate and delete each one first. Then clean up the tables they left behind.

Things like payment gateway plugins, shipping plugins, and product add-ons are separate plugins. They stay installed and active even after WooCommerce is gone. Some of them will throw errors or warnings because WooCommerce is no longer there for them to hook into.

After removing WooCommerce, go to Plugins > Installed Plugins and look for anything related to WooCommerce. Deactivate and delete each one individually. Common culprits include WooPayments, WooCommerce Shipping, WooCommerce Subscriptions and any third-party extensions you added over time.

Each of those extensions may also have left its own data in your database, separate from what WC_REMOVE_ALL_DATA cleans up. For a thorough cleanup, use a plugin like Advanced Database Cleaner to scan for orphaned tables and options from deactivated plugins. Run this after all extensions are removed.

Store owners miss this step more than any other. Leftover extension tables are the usual reason a database stays large after WooCommerce is gone.

The SEO Impact of Removing WooCommerce (And How to Handle It)

Three steps to protect rankings before removing WooCommerce

Removing WooCommerce affects your search rankings as well as your database. Product, category and shop URLs that Google indexed start returning 404 errors. Redirect the ones with traffic or backlinks before you remove the plugin, and check Search Console afterward.

When WooCommerce is active, it creates URLs for every product page, category page, cart page, checkout page and account page. These URLs get indexed by Google. When WooCommerce is removed, those URLs return 404 errors. If those pages had organic traffic or backlinks pointing to them, you’ll lose that ranking equity immediately.

Setting Up 301 Redirects for Old Product Pages

Before removing WooCommerce, identify which product pages were getting organic traffic. Pull a list of indexed WooCommerce URLs from Google Search Console or a tool like Screaming Frog.

For each URL that had meaningful traffic or backlinks, set up a 301 redirect pointing to a relevant page on your site, your homepage, a blog post, a services page, or whatever makes the most sense contextually.

You can manage redirects easily using a free plugin. For a full walkthrough, see our guide on setting up redirects in WordPress.

301 redirects pass link equity from the old URL to the new destination. They won’t fully replace a good ranking product page, but they prevent a total loss and give Google a clear signal that the content has moved.

WooCommerce created the /shop/, /cart/, /checkout/ and /my-account/ pages. Our uninstall test removed them along with the data. If you deleted the plugin without the constant, they stay behind as empty pages. Delete them from Pages > All Pages and redirect their URLs to your homepage.

Checking Google Search Console After Removal

After removing WooCommerce and setting up redirects, log in to Google Search Console and open the Page indexing report. Removed URLs show up there as Not found (404) once Google crawls them again.

Use the URL Inspection tool on a few old product URLs. It confirms that each one now redirects to its new page.

It’s also worth checking your sitemap. If you’re using an SEO plugin like Yoast SEO or Rank Math, make sure WooCommerce product pages and category pages are no longer being submitted to Google. Submitting 404 URLs in your sitemap wastes crawl budget.

What to Do After Removing WooCommerce

With WooCommerce gone and the cleanup done, a few final steps will put your site in the best possible shape.

  • Check your site speed: WooCommerce loads its own scripts, stylesheets and database queries on many pages. Once it’s removed, run a speed test with Google PageSpeed Insights or GTmetrix and compare the result with your earlier test. If you need help with ongoing performance, our guide on speeding up a WooCommerce store applies equally well to any WordPress site.
  • Review your theme: Many WooCommerce themes include specific template files for the store and enqueue WooCommerce styles even when the plugin is gone. Check your active theme’s functions.php and look for hooks specific to WooCommerce. Remove or comment them out if they’re no longer needed.
  • Flush your permalink structure: After removing WooCommerce, go to Settings > Permalinks and click Save Changes without changing anything. This resets WordPress’s rewrite rules and clears any permalink conflicts related to WooCommerce.
  • Consider what comes next: If you removed WooCommerce because it wasn’t the right fit rather than because you’re leaving ecommerce entirely, there are solid alternatives worth exploring. Our breakdown of WooCommerce alternatives covers the main options. They range from light WordPress plugins to fully hosted platforms.

If you’d rather have an expert handle the transition, our WooCommerce developers can manage the whole process cleanly and without the risk of breaking anything critical.

Conclusion

Removing WooCommerce from WordPress involves more than clicking delete. The plugin, its data, its tables and its extensions each need their own step. Protect your SEO before you touch any of them.

Back up first and clear the database with the WC_REMOVE_ALL_DATA constant or a manual cleanup. Remove extension plugins one by one. Set up 301 redirects for product pages with organic traffic and check Google Search Console afterward.

Done in the right order, you can fully remove WooCommerce without losing rankings or leaving behind a bloated database that slows your site down for months.

If you only need a break from selling, deactivate WooCommerce or switch on Coming soon mode instead. Both keep your store data safe.

Frequently Asked Questions (FAQs)

Q1. Can I remove WooCommerce without losing my product data?

Yes, if you export it before deletion. Go to Products > All Products and click Export to download a product CSV. Sales and customer reports download from WooCommerce > Analytics. Once you delete WooCommerce and its data, that information is gone for good.

Q2. Will removing WooCommerce break my WordPress site?

Removing WooCommerce alone won’t break WordPress core. It can break pages and features that depend on WooCommerce. That includes theme features built around it, shortcodes like woocommerce_cart and extensions that hook into WooCommerce. Check your theme and remaining plugins after removal.

Q3. Does deactivating WooCommerce delete the data?

No. Deactivating WooCommerce only turns off the plugin. All products, orders, customer data, and database tables remain intact. You need to add the WC_REMOVE_ALL_DATA constant to wp-config.php before deleting the plugin, or manually remove the data yourself, to clear it from the database.

Q4. How do I know if WooCommerce data is still in my database after removing the plugin?

Open phpMyAdmin through your hosting control panel and look for tables prefixed with wp_woocommerce_ or wp_wc_. If those tables are still present, the data wasn’t fully removed. You can drop them manually in phpMyAdmin or use a database cleanup plugin like Advanced Database Cleaner to handle it.

Q5. Can I reinstall WooCommerce after removing it?

Yes. If you removed the plugin without using the WC_REMOVE_ALL_DATA constant, your data likely still exists in the database and will reappear when you reinstall. If you used the constant or manually deleted the data, you’ll start completely fresh, which is what most people removing WooCommerce permanently actually want.

Ekta Lamba
Ekta Lamba

Ekta Lamba is a tech writer at DevDiggers focused on making WordPress and WooCommerce straightforward for non-developers. She covers plugin errors, platform updates and WordPress basics. Her articles are written so readers can follow along without a second tab open to translate the jargon.

Leave a Reply

Your email address will not be published. Required fields are marked *