2.13.1.2.2. Disabling plugins in WordPress
Disabling plugins can be useful if there are problems with the site and there is no access to it adminpanels.
Manually
- Go to subdirectory
wp-content/plugins
. - Rename the directory of the plugin or plugins that you want to temporarily disable (if you need to disable all plugins at once, rename the directory itself
plugins
).
Disabled plugins can be re-enabled by returning their original names to directories.
Using a database query
- In the site config file takealook the name of the database to which it is connected.
- Openup database in phpMyAdmin.
- Execute the following SQL query:
UPDATE wp_options SET option_value = '' WHERE option_name = 'active_plugins';
If the names of the tables in the database do not start with the standard
wp_
, and with a different prefix, make the appropriate changes to the SQL queries.
Deactivated plugins can later be activated via Adminpanel WordPress in the usual way.