Normally, you can disable plugins — including WooCommerce — on your WordPress site from the Plugins > Installed Plugins section of your admin area.
If you can’t access this part of your site’s admin area for any reason, there are other ways to disable plugins.
Note: This document is meant to serve as a helpful guide for advanced troubleshooting; however, the procedures described are beyond the scope of our support policy and we cannot provide direct assistance with implementing them.
If you would like to seek assistance from a qualified WordPress/WooCommerce Developer, we highly recommend Codeable, or a Certified WooExpert.
Disable plugins with file manager or SFTP
↑ Back to topChanging the name of a plugin’s folder in your site’s files will cause the plugin to be disabled. Follow these steps to disable a plugin via the plugin folder:
- Log in to your site’s files using the file manager provided by your web hosting company or using a program such as Filezilla. Please reach out to your host for help with these steps.
- Navigate to the
/wp-content/plugins/
directory. - Find the folder for the plugin you would like to deactivate.
- Rename the folder, adding
-disabled
at the end. For example, if you are disabling the WooCommerce plugin with this method, you would rename thewoocommerce
folder towoocommerce-disabled
.
- Repeat steps 3–4 as necessary.
Disable plugins through your site database
↑ Back to topAnother more advanced option is to disable a plugin through your site’s database.
Many hosts offer a tool called phpMyAdmin for accessing a site’s database, and it is used in the example below.
Please note that making changes to your site’s database can have major effects on the entire site. Always back up your site before making any database changes, and contact your hosting provider for guidance if you’re unsure.
- Log into your site’s database.
- Find the table called
wp_options
.
- Find the row with the option called
active_plugins
.
- Click on the pencil icon.
- On the next screen, find the line with the name of the plugin that you want to deactivate. For example:
a:1:{1:0;9:19:"woocommerce/woocommerce.php";}
.
- At the start of the line for that plugin, change
a:1
toa:0
. - Click on “Go” in the bottom right corner to save your changes.
If you want to deactivate all of the plugins at once, you can click on the red X. This won’t delete the plugins from your site — it will only deactivate them.
Disable plugins through WP-CLI
↑ Back to topWP-CLI is a command-line tool for managing WordPress websites. It allows users to perform tasks, like updating plugins, configuring settings, and managing content directly from the command line, without needing to log into the WordPress dashboard.
If you’re not sure how to access WP-CLI for your site, reach out to your hosting provider to see if it is something they offer and how you can access it.
Once you access WP-CLI, you can apply the commands to deactivate plugins.
Please note that WP-CLI is a third-party resource and our Happiness Engineers aren’t able to provide support with these commands. If you are using WP-CLI and have any questions, please reach out to your hosting provider.
Questions and Support
↑ Back to topDo you still have questions and need assistance?
- Get in touch with a Happiness Engineer via our Help Desk. We provide support for extensions developed by and/or sold on WooCommerce.com, and Jetpack/WordPress.com customers.
- If you are not a customer, we recommend finding help on the WooCommerce Support Forum or hiring a WooExpert agency. They are trusted agencies with a proven track record of building highly customized, scalable online stores. Learn more about WooExpert agencies.