126.96.36.199.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.
- Through filemanager or any FTPclient openup root directory site.
- Go to subdirectory
- 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
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.