How to fix a corrupted WordPress installation

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.

Download a fresh copy of WordPress

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.

Setup an FTP client and connection

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.

Navigate to the folder of your website

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-admin, wp-contents and wp-includes, along with various other PHP files, with most of their names starting with wp-.

Overwrite the WordPress files with the fresh version

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.

Check the WordPress admin area again

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.

Fatal error - help i can't get my website working!
There has been a critical error on your website. Please check your site admin email inbox for instructions. SOS
There has been a critical error on this website
White screen of death
critical error on my website
My website showing http error 500 and not removing on refresh
Cannot access the website admin area
Unable to open the admin url of the wordpress site
Wordpress site corrupted following upgrade
WordPress upgrade to 5.9 went wrong
Recovery link
Recovery link
Ошибка 500
I have a problem
Can't update wordpress
Fatal error when debugging
Cannot update to WordPress 6.2
CORB blocked cross-origin response https://infinityfree.net/errors/404/ with MIME type text/html
cURL error 28: Operation timed out after 10000 milliseconds with 0 bytes received (http_request_failed)
A critical error has occurred on this site
Unable to login to the WordPress Dashboard
Can't register domain and can't add SSL
There is a critical error on your website
Wordpress does not update
Ошибка 500
My site is not open anymore
Wp update 6.2 crashed my website
My wordpress installtion crashed and now I see this error!
Updated wordpress, website down?
Critical Error
Website error
Fatal error: require_once(): Failed opening required
Error and function override please help me someboy
Site doesn't open anymore
Site doesn't open anymore
There has been a critical error on this website
Random Internal Server Error - Unstable Website / Outage
Website not loading
Website not loading
I Could not access my website
Site Keeps Getting Redirect to ww01.site.com
Ditplanet.rf.gd unexpectedly closed the connection
Critical error
Critical error
There has been a critical error on this website
I cant go to wp-admin (wordpress admin panel)
There has been a critical error on this website
Website appearing blank
Error in my website desktop view
Instructions can be found in the site administrator's email inbox
Of my website there's just the header online
There has been a critical error on this website
Critical error
Critical error
WordPress update went south
How to safely update to WordPress 6.1 (and fix your site if you didn't)
Ssl
Ssl
Ssl
Website restore 15th nov backup
Site Builder
Wordpress admin panel is not working
Deleting lines of code
Website has been fix from website outage but now critical error
There has been a critical error on this website
Download backup failed
There has been a critical error on this website
Missing files
Wordpress error
Cant Open wp-admin panel
Unable to update db details in Softaculous
Unable to update db details in Softaculous
Unable to update db details in Softaculous
The screen stays white
The screen stays white
My website is offline
The screen stays white
Critical error on wp-admin page
Critical error on wp-admin page
403 Forbidden when trying to access wp-admin
My website does not open
My website is down (500 error)
Critical error on the website
My website does not open
Domain Pointing
There has been a critical error on this website
Admin page
My website does not open
Website error (HTTP 500) after wordpress 6.2 update
Domain Pointing
Cannot delete files/folders in FTP
Error 500
WordPress error after update
Fatal error - help i can't get my website working!
Blank Screen
50-50 cpu ban

My recent experience was upgrading to WordPress 5.9, and somehow the upgrade failed, and site was not working. I found that the easiest way to get the upgrade done well, and back online in minutes, was to use the Softaculous icon in the control panel > WordPress, and it leads you through with a couple clicks. (Might have to push through some ‘this is a potential dangerous page’ messages from your browser.)

4 Likes