In this tutorial, we are going to cover the step-by-step process of restoring the WordPress core for a WordPress website.
The WordPress core might get corrupted due to various reasons, primarily due to malware infection, conflicting themes or plugins, etc.
Restoring WordPress core helps in solving a majority of WordPress Critical errors.
Let's see how you can restore the WordPress core on your WordPress website hosted at SiteCountry through the control panel.
We see that this current website just displays a white/blank page as shown in the below screenshot :
Step 1: Log in to your Hosting Control Panel.
Step 2 : Once logged in, go to the file manager as shown below :
Step 3 : Now, go inside the domains folder as shown below
Inside the domains folder, go to domains> select the domain name where you are facing the issue by double-clicking on it to open the next folder. Now go inside the public_html folder of this particular domain.
Step 4: Now go to Google and search for "download wordpress org" as shown below and click on the first link that comes up.
Now, download the WordPress core from the download button as shown below :
Remember that you need to download this file only once, even if you are going to restore WordPress core for multiple websites, the same Core file would work for all websites.
Step 5: Now go back to the Hosting File Manager and you will see the WordPress core files in the opened public_html folder. Select all the files and deselect one folder: wp-content and one file: wp-config.php as shown in the below screenshot
Step 6: Delete all of the selected files as shown below :
It's better to keep to "To Trash" option as Enabled (On).
Step 7: Now upload the downloaded WordPress core zip file as shown below :
Step 8: Once uploaded, extract the file as shown below :
Now, files will get extracted inside the wordpress folder, go inside the folder as shown below :
Select all the folders, except the wp-content folder as shown below, and move it to the path after removing wordpress from the shown path :
Click on the move button.
The WordPress core has been reinstalled successfully. You can try visiting the website now, it should work fine.