How to deactivate plugin when unable to access WP-Admin
Usually during the troubleshooting process, many websites will recommend that you deactivate all plugins and activate them one by one. The worst thing is that sometimes you are locked out of WordPress admin panel and cannot easily deactivate plugins.
In this article, TipsMake.com will show you how to deactivate all WordPress plugins when you cannot access wp-admin.
There are two methods to disable plugin. One requires you to use FTP and the other requires you to use phpMyAdmin.
Disable all plugins using FTP
In this method, you will need to use the FTP client or the host file manager.
First, you need to connect to your website using an FTP client or a file manager in cPanel. Once connected, you need to navigate to the / wp-content / directory.

In the wp-content directory, you will see a folder called plugins. This is where WordPress stores all the plugins installed on the site.
Right-click on the plugins folder and select Rename. Change the name of the plugins directory to whatever you like. The example will call it 'plugins.deactivate'. When you do this, all plugins will be deactivated.
Typically, this method is used when you are locked out of your admin area. If the problem is rooted in the plugins, then you should now be able to log into your WordPress admin area.
Once that is done, go back to the / wp-content / directory and rename 'plugins.deactivate' back into plugins. Now, you can reactivate each plugin to know exactly which is causing the problem.
Disable all plugins with phpMyAdmin
The FTP method is certainly easier, but you can also deactivate all plugins using phpMyAdmin.
First, you will need to login to the web hosting control panel. The example showing you the cPanel dashboard and your dashboard may look different.
You will need to click on the phpMyAdmin icon in the Databases section .

This will launch phpMyAdmin in a new browser window. You will need to select a WordPress database, if it is not already selected. You will then be able to see the WordPress database tables.

As you can see, all tables in the database have a prefix wp_ before the table name. Your tables may have a different prefix.
You need to click on the wp_options table . In the wp_options table you will see different options rows. You will need to find the active_plugins option, and then click Edit next to it.

On the next screen, you will need to change the option_value field to a: 0: {} and then click the Go button to save the changes.
That is all there is to it. You have successfully disabled all WordPress plugins using phpMyAdmin. If the plugin prevents you from accessing the WordPress admin area, then you can log back in now.
You should read it
- Instructions for creating web pages in Wordpress from A to Z (Part 2)
- 30 best free WordPress presentation plugins (2018)
- 20 WordPress plugins for photo websites (2018)
- How to log off Viber accounts remotely on iOS and Android
- Instructions to temporarily deactivate iCloud
- 8 best GIMP plugins and how to install them
- 6 best Vim plugin managers
- Instructions to deactivate NameDrop on iPhone
May be interested
- How to host a website for free with GitHub Pagesthere are many options and prices for web hosting plans. the more expensive plan is capable of hosting large websites but what if a simple hosting solution is needed for your small website?
- 10 Nginx rules to enhance WordPress securitywhen thousands of websites ran on nginx, some basic tips or nginx rules were collected to enhance wordpress site security. take a look at tipsmake.com now!
- 7 best website building and dragging tools for 2019if you need to create a website but do not have the web design skills, you should probably find website building tools by drag and drop.
- How to build a simple PHP websitewant to learn how to build a basic website? previously, you could start with html, but for now, the best solution is php.
- How to set up staging environment to develop WordPressusually, you will start developing a website in a local server, then upload it to a staging site (test). when everything is confirmed, you will push the website to the live server.
- 10 tips for using Tumblr for beginnerstumblr, founded in 2007, is much simpler than other blogging systems, and is aimed at users who like to post fast, concise posts.