Often during troubleshooting, you may need to deactivate all plugins and activate them one by one. In this article, we will show you how to deactivate all WordPress plugins when you cannot access the WordPress Admin Dashboard.
Using FTP/File Manager
- Go to cPanel > File Manager.
Or, DirectAdmin > User > System Info & Files > File Manager.
Or, Login to FTP. - Navigate to the [wp-content] directory.
- Rename the [plugins] directory to [bk-plugins].
- Go to WP Admin > Plugins.
- Done!
Using phpMyAdmin
- Go to cPanel > phpMyAdmin.
Or, DirectAdmin > User > Extra Features > phpMyAdmin. - Click the database on the left.
You can find the database name in the [wp-config.php] file in your WordPress install directory:define( 'DB_NAME', 'databasename' );
- Click "wp_options" table.
Your table name might be different, e.g., "XX_options". - Click "Edit" located to the left of "active_plugins".
- Enter the following in the text box next to "option_value":
a:0:{}
- Click "Go".
- Done!