The conventional method of turning off and on plugins in WordPress works 99.9% of the time. But sometimes, when you're doing development work in a fast way (possibly "cowboy coding" in a sloppy way… :p), you'll need to make plugin stop being loaded by WordPress in a different way. For that very small percentage case, it's useful to know how to disable a plugin when you aren't able to login to the admin area of a WordPress site. That's where the (S)FTP hack we'll cover today comes in.
Reasons you might need to use this non-standard way of disabling a plugin (or theme) could be:
Here's the video of how you can deactivate a plugin without having access to the WordPress dashboard:
That's it. If you take those steps, WordPress can no longer find the thing it was looking to load, and it'll "fail better" by just skipping loading the problem file. It's not the most elegant way to do it—when you finally get to login to the site WordPress will complain to you about the missing file—but it does work. And in a desperate pinch, it's a great little trick to have in your back pocket.
Related
Source: Deactivate a WordPress Plugin via FTP
No comments:
Post a Comment