- This topic has 0 replies, 1 voice, and was last updated 12 years, 9 months ago by .
Viewing 1 post (of 1 total)
Viewing 1 post (of 1 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › General Stuff › Instructions/F.A.Q › Deactivating a Plugin via FTP (When you don't have access to WP Dashboard)
Tagged: deactivate plugin, delete plugin via FTP
If you have made some PHP code modification to a plugin and it broke the site, it means there was an error in the code that you have modified or added.
The first thing you need to do is deactivate the plugin in question temporarily so you can get your WordPress site back up and running. We are going to find out which plugin is reporting the error (this will be the plugin whose code you modified) and then delete that plugin via FTP. If you delete a plugin, WordPress will detect this and mark that plugin as disabled (turning off that plugin).
Step 1: Load up your favourite FTP program (I use the free Filezilla FTP software) and connect to your host. Your hosting provider should have provided the ftp password and user ID for your account when you signed up with them. Please contact them if you are not sure what this is.
Step 2: Browse to the directory {blogroot}/wp-content/plugins. Under this directory you should see a directory name matching the plugin in question. Delete this using your FTP client.
Step 3: Now, when you log back into your WordPress dashboard and go to the plugins menu, you should see the following message
The plugin {PLUGIN NAME} has been deactivated due to an error: Plugin file does not exist.
Step 4: Re-install a fresh copy of the plugin (unmodified copy) that you just deleted so you can continue working on it.
Video Tutorial
The video tutorial on the following page shows 2 techniques to deactivate WordPress plugins without having to log into your WordPress admin: