travis.media

How To Manually Update A WordPress Plugin Via FTP

If you normally download WordPress plugins from their repository, then you are used to updating them within the WordPress dashboard. It's as simple as pressing 'Update.'

Well…..simple, until one day you do it and your site breaks.

Even worse is doing this on a site that you are maintaining for a client!

In addition, there will be times where you purchase a premium version of a free plugin or purchase a third party plugin, and any updates to these come by way of a zip file.

In either case, you will want to update a WordPress plugin via FTP.

In fact, any time that you want to be certain that you will not compromise a site, downloading the zip file update from the actual company's website and manually installing this may be your best bet.

How To Update A WordPress Plugin Via FTP

Here's how you would do it:

1. Download an FTP client. I recommend Cyberduck or FileZilla. They are both free and will do the job well.

2. Get your FTP login information from your hosting company. Normally you can go to your cPanel, select the FTP Accounts folder, and down at the bottom you can click "Configure FTP client." This will show you your login data (and often have a FTP configuration file that you can download and open which will connect your FTP client for you!!).

3. Once you are logged in go to the wp-content folder (or make sure you are in this folder), and open up the plugins folder.

4. Now on your computer (not the FTP client), go back to where you downloaded your updated plugin zip file and double click it to extract it in to a new folder. Rename this folder so that it has the words NEW- in front of it (so if wordpress-seo is the folder, rename it to NEW-wordpress-seo).

5. Drag this file into your plugins folder in the FTP client. (Be sure not to drag into another plugin's folder, but the actual root folder called plugins.)

6. Now in the FTP client, rename the original (current) plugin folder so that it has the words OLD- in front of it (so if wordpress-seo is the folder, rename it to OLD-wordpress-seo.

**Now to make sure we are tracking, there will be a NEW- and OLD- version of this plugin in your FTP client. The OLD is the old version and the NEW is the updated version. At this point your plugin is disabled on your site.

7. Finally, rename the NEW- version back to its original name by deleting the prefix NEW-.

**So in the end you have the live updated plugin folder and the old folder with the OLD- prefix.

Now Test Your Site

Now check your site and see that if it is functioning properly after the update. If something goes bonkers, then do the reverse of the above. That is….rename the live folder with the NEW- prefix and remove the OLD- from the older version to revert back.

Conclusion

So this is how to safely update a WordPress plugin via FTP. It allows you to easily revert back to the old version of the plugin if something breaks, and is a great approach to updating a client's site or a third party plugin that provides you with only a zip file.

----------

** This article may contain affiliate links. Please read the affiliate disclaimer for more details.

About Me Author

Travis of

Travis Media

From agency work with WordPress and PHP, to freelancing full-time, to jumping into the corporate space and working on large, mission-critical projects as a DevOps engineer, I create content to share what I’m learning along the way and to help you, the developer, succeed in the industry. Read More
Explore

You May Also Like