HOW TO DEACTIVATE/DISABLE WORDPRESS PLUGINS WITHOUT ACCESSING WP-ADMIN?

While troubleshooting any WordPress issues, you are asked to deactivate all plugins and activate them one by one. This sounds very easy if you have access to WordPress dashboard, but what if you do not have access of wp-admin !!! Most of the times, when you are being asked to deactivate all plugins, you have already locked yourself out from accessing the WordPress dashboard.

In this article, we are going to show you, how you can deactivate all WordPress plugins when you do not have access to the WordPress dashboard.

Deactivate All Plugins Using cPanel file manager

You can deactivate all WordPress plugins through cPanel file manager. In both cases, you just need to navigate to the/wp-content/ folder and rename it. Following are the complete steps for cPanel file manager method:

  1. Login at cPanel, Under Files section, Go to File Manager. Don't know how to login to cPanel? Please refer to how to login to cPanel.

  2. Expand the public_html folder, and navigate to the /wp-content/plugins folder.



  3. Right-click on the plugins folder and rename it like plugins.old. This will deactivate all of the plugins at once.



  4. Now, reactivate the plugins folder again by renaming it back to plugins. This will allow you to access the WordPress Dashboard again.

  5. Now you can activate one plugin at a time until your website breaks again. When it does, you’ll know the culprit plugin.

Deactivate all plugins through phpMyAdmin

You can also deactivate all plugins through phpMyAdmin. Following are the complete steps.

  1. Login at cPanel, under Databases section, locate phpMyAdmin and click on it.

  2. You will be redirected to phpMyAdmin control panel.

  3. At phpMyAdmin control panel, from the left hand side pane, select your WordPress database.

  4. Now, from the right-hand side locate the table wp_options and click on it.

  5. Under the option_name column (field) find the active_plugins row.

  6. Click on option_value field and change it to: a:0:{}

    Deactivate All Plugins From phpMyAdmin

Deactivate all plugins through FTP

  1. Connect your WordPress content using FTP. Looking to connect FTP? Please refer to how to connect FTP for more details.

  2. Go to the public_html/wp-content/plugins folder.

  3. Right-click on the plugins folder and rename it.



  4. This is it. You have deactivated plugins of your Wordpress website.

Related Articles

How to fix 403 forbidden error in WordPress?

What is 403 FORBIDDEN ERROR IN WORDPRESS?  The 403 Forbidden error code is shown to a web...

How to Migrate / Transfer WordPress Website from WordPress.com to AccuWeb Hosting?

If you have a basic plan at Wordpress.com, you can refer to the below steps and migrate the...

How to Change WordPress Admin Username through MySQL Database?

This article will provide you the step by step guidance on how to change the WordPress admin...

How to write a comment in WordPress

Video Tutorial Get Wordpress Hosting

How to Enable PHP Error Log for a WordPress website?

Wordpress is widely used open-source CMS and it is coded in PHP and MySQL. Wordpress provides a...

  • 1 Users Found This Useful

Was this answer helpful?