Welcome to Web Hosting Forum - Net Hosting Talk

Register now and be part of our community! When you register with the Net Hosting Talk you can join in with topics, start new topics, and generally be a part of the first level of our community. It's also quick and totally free, so what are you waiting for?

How to uninstall and completely remove WooCommerce

edwin

Moderator
Messages
40
Reaction score
3
Hi all,

When you uninstall and even delete, the WooCommerce plugin the reality is that not all of your data is erased.

The test is very simple, uninstall and delete the WooCommerce plugin, now install it again: Surprise! your products, orders, and all WooCommerce settings are still there.

This is because WooCommerce when uninstalling or deleting it, only the plugin folder is deleted, but all the information, the data, is in the database.

And it is not that they do it to a bad idea, it is a measure that has enough logic so that an accidental uninstallation/deletion of the plugin does not make all your orders, clients, products and configurations disappear, so that when you reinstall the plugin everything important of your Ecommerce continue like this.

Now if you really want to erase all traces of WooCommerce in some installation, not only the plugin, also everything it adds to the database, you just have to add this line to the wp-config.php on its own line above the /* That's all, stop editing! Happy publishing. */ before uninstalling it:

You don't have permission to view the spoiler content. Log in or register now.

Once you save the changes, you can uninstall and delete the WooCommerce plugin, and now it will remove all the installation data, leaving no trace in the database.
 

Advertisement

Top