Join subscribers on our YouTube channel and enjoy other Divi video tutorials!
Examples & Use Cases
If you are wondering why this post is necessary, let me give you some real examples that I have personally seen in my experience as both a theme and plugin user and a plugin developer.
Auto-Update Is Not Working
Let’s say you have purchased a premium plugin from a developer, and normally their auto-update system works great to get the next version of the plugin, but for some reason you notice it did not work. If you contact them, they may say to go to your account and download the plugin, and then re-upload it to your website. But some users do not know how to do that, so this post will explain it.
Theme Error On Latest Version
Occasionally users will get some issue such as missing CSS file in the Divi theme. I have found that the best solution to solve this is to simply download the Divi theme again and re-upload it to the site over top of the existing file. This way, you know for sure that the theme file is correct and not corrupted. But how to do that? Follow the tutorial to find out.
Sometimes a plugin developer may be aware of a minor issue and has already fixed it, but the upload is not yet released. In this case, they developer may send you the file and tell you to upload this new file to solve the issue. If you do not know how to proceed, follow the rest of this tutorial.
Method 1. Re-Upload File In WordPress Dashboard
The first, easiest, and best way for you to replace an existing theme or plugin file is to simply upload the file as a new file. For this example, we will use a plugin, but a theme would be very similar.
Download The File
If this is a free plugin in the WordPress repository, you can go to the WordPress plugin repository (https://wordpress.org/plugins/) and search for the plugin and then click the blue “Download” button and save the file to your computer.
If this is a premium plugin from a developer such as myself, you would log into the account on our website, find the download section, and download the plugin file.
Next, go to your WordPress admin area to Plugins>Add New. Here you will see a button to “Upload Plugin” at the top of the screen. After clicking that, choose the file you downloaded and install it.
If this seems confusing, don’t worry. When you upload the file, WordPress will notice if the file is the same plugin or theme and give you a message like, “This plugin is already installed.” It will give you two choices:
- Replace current with uploaded
- Cancel and go back
This is super convenient because it also tells you about the similarities or differences between the existing file and the file you just uploaded.
NOTE: Replacing a plugin is the same as updating to a new version. It will not change any settings. This is because the settings are saved in the database, so upgrading or replacing the file will not have any negative affect and will not affect your settings.
Method 2. Replace File With File Manager Or FTP
If for some reason you want another method, you can also do this by replacing the existing theme or plugin folder by using a file manage. I personally find the various file manager plugins super convenient, but you can also use the file manager in your hosting provider account. The same would be possible with FTP, for those advanced users, but if you are using FTP you probably already knew that.