blog

How to Update WordPress From cPanel

Welcome, in today’s tutorial, we will learn how to update WordPress from cPanel. When there are issues on the WordPress dashboard at the backend, you may need to manually update your WordPress from cPanel. This won’t be possible at such times, because the website would have crashed and only the cPanel would be accessible. At this point, the only thing that can save you or assist you in restoring and recovering your crashed website is cPanel. We discussed this in the last tutorial.

Read More:

Reasons for Updating WordPress From cPanel

When the automatic WordPress update goes wrong, and it crashes, gradually causing website unresponsive. This will make the user experience bad at both the front end and the back end. Sometimes, the website won’t even allow users to see some pages.

crashed error signs displayed on website

When a plugin update fails and it creates a broken or corrupt some files which fails to load up when the website is loaded the files to be retrieved crashes and the website becomes unresponsive to users.

When there a malware in the website, sometimes the best and only solution is to manually update the WordPress files by so doing; you are updating the WordPress directly from the cPanel dashboard.

Steps to How to Update WordPress From cPanel

To get started, we need to login into the cPanel dashboard of the affected website.

Step 1: Login to cPanel Dashboard

the cPanel login page

Login to your cPanel dashboard. Since the WordPress backend dashboard can’t be accessed due to this error. The other option is to work with cPanel. Once you have logged into the cPanel dashboard, take your time to look around. And then proceed to the next step.

Step 2: Locate Your Public_html Folder

locate the public_html folder on the left hand side of the cPanel

Click on files and locate your public_html folder under the left hand side of the list of folders available. click on this and it will open up a lot of other folders on the right hand side view. The main folders to watch out for is the “wp-admin” folder, the “wp-content” folder and the “wp-includes” folder.

Step 3: Deactivate your Plugins

Deactivate the plugins. Go to the wp-content folder and open it by double clicking on it. There is other folders inside but our focus is the plugins folder. We will rename this folder to plugins_old

This would deactivate all the plugins found and used in your WordPress website.

Step 4: Create a New Folder

create a new folder

Create a new folder and call it any name you want. This folder would be used to house all the files and folders that are not needed in the WordPress folder. The whole idea is to manually update the WordPress folder.

Step 5: Move All Your Files and Folders

move the files and folders into the new folder

Highlight all the folders and files in the public_html folder exlcluding the wp-content folder. Ten locate the move button button above and click this. The pop-up would request you type the folder destination. Just enter the name of the folder you just created. In out own case, this is the temp_folder. This would then move all the files and folders into this temp_folder.

Step 6: Download WordPress Unto Your Local PC

We proceed forward by getting the WordPress downloaded manually. The first thing to do is to go to the WordPress Website.

Click on the Get WordPress button to get redirected to the WordPress Download page.

click on the download WordPress to download the latest version

This would download a zip file onto your PC. This is the WordPress Folder. Using an application like winrar, it can be unzipped to the actual WordPress folder as shown below.

download WordPress to your PC

Once this was down, you should be able to see your WordPress folder. This when opened, you should be able to see all the recent folders just like the ones that were in the public_html folder when you opened it. Perfect.

Step 7: Transfer This folder to Your cPanel using FTP

Filezilla dashboard

Using an File Transfer Protocol like Filezilla, you can open a port and transfer these folders into your public_html folder. Just input your username of of your cPanel into the hostname, the host is the cPanel address, the password is the password of your cPanel. The port is usually 21 or you can leave this empty. After inputting all of this, click on autoconnnect and watch the local host connect with the cPanel.

The transfer of files ongoing

Wait until this process has been completed. The transfer may take long depending on your internet speed and PC processor speed.

Step 8: Rename Your Plugin Folder back to Normal Plugin

reverting to the old plugin name

Change the name of the plugin folder from plugins_old to plugins. this would automatically activate the plugins back to active state.

The look

Step 9: Refresh Your Website

Now that we are done transferring the files, we need to refresh the website. When we refresh the website, we will notice that the WordPress backend has been restored, and we can check the dashboard to see that all of the settings have been preserved.

The WordPress backend dashboard

Finally, we head back to the plugins tab and check the tabs. And since we have already renamed the plugin folder back to its original name. All the plugins would appear at their rightful places.

Conclusion

The beautiful front end

Even the front end for the visitors has been beautifully replaced and there are no more errors or crashed gibberish displaying. Just the WordPress Theme contents. This is how we update the WordPress from cPanel using this sample website as a case study.
Tell us what you think in the comment below. Do you have similar problem? Were you able to follow the steps outlined here and solve it yourself?
If you can’t solve the problem, you can reach us online for quick assistance.

smartechlabs

Recent Posts

Did We Have Other Human (Homo) Species on Earth?

Other Homo Species Ever wonder where we came from? How did our species, Homo sapiens,…

10 hours ago

Meet My Brothers

meet my brothers free ebook Mia life takes an unexpected turn when she discovers she…

1 day ago

My Hockey Alpha

My hockey alpha The story unfolds through the lens of Nina, who seeks revenge on…

1 day ago

The Governor’s daughter Free eBook

''The Governor’s Daughter'' is a captivating debut novel that delves into a dystopian world where…

1 day ago

“The Chaos Dragon Prince” by Cosmicprime: A Review

“The Chaos Dragon Prince” by Cosmicprime Main Characters: Cain: Our determined protagonist, a modern Earthling…

1 day ago

“Paragon of Sin” Review by KevinAscending

“Paragon of Sin” by KevinAscending Main Characters: Wei Wuyin: Our protagonist, born Blessed but turned…

1 day ago