WordPress frequently releases updates, which you can install through WordPress’ admin interface. Usually, this works without a hitch. But with some (big) upgrades, the upgrade fails half way and leaves you with a broken website.
Fortunately, you can still fix your website without any data loss, and this article tells you how to do that.
First of all, you will need to download a fresh copy of WordPress. You can download this from the official WordPress website: https://wordpress.org/download/
From there, you can download a .zip file with the WordPress files. You will need to extract this archive on your own computer.
The archive contains a folder called
wordpress that contains the files and folders of WordPress. Keep track of where you left this folder because you’ll need it later on.
To upload the WordPress files, you will need an FTP client and FTP connection. This article explains this in more detail: How to upload files with FTP.
You can use any FTP client you want, but we recommend to use FileZilla. It’s a free FTP client available for most popular operating systems, and most of our guides assume you’re using FileZilla.
In your FTP client, you need to navigate to the folder in your account that contains your website files.
If the website was the original domain of the account, then the folder is likely linked to the
htdocs folder. For subdomains and addon domains added later on, there will be a folder with the name of the domain, which contains another
htdocs folder that holds the files of that website.
You can find the folder of your domain through the Domains menu from the account page in the client area, or through the various domains sections in the control panel.
If you installed WordPress to a subfolder, you’ll also find your website files in the subfolder. For example, if your site is installed on
example.com/blog/, then you’ll find
A WordPress website folder typically contains the folders
wp-includes, along with various other PHP files, with most of their names starting with
When you’ve found the WordPress files of your website, it’s time to overwrite them with the files you downloaded from WordPress.org.
To do this, go back to the
wordpress folder on your own computer that you got from the extracted zip from WordPress.org. Then, select all the contents of this folder, and upload them to the folder on your website that contains the WordPress files.
In FileZilla, this means that you should have the fresh WordPress files from the
wordpress folder in the left pane (local files) and the WordPress files from your live site on the right pane (remote files). Then, copy all the files from the left pane, and drag them to the right pane to start the upload.
If you’re uploading the WordPress files to the right location, it should ask what to do with the files already there. You should select “Overwrite” and click the boxes to apply this action to all uploads.
In FileZilla, the bottom of the screen will show the upload queue. It can take a while for all the uploads to be completed.
After the uploads have completed, you can check the WordPress admin area again. It may contain additional information or steps needed to complete the upgrade. After completing these steps on screen, you should have a fully functional and fully upgraded WordPress website.