Best ways to Update WordPress Safely

Best ways to Update WordPress Safely
Share this on:
514 times

Are you looking for ways to update the WordPress CMS? If yes, then you have landed on the right page. In this article, I will discuss three different methods that can be used to update WordPress safely. WordPress is one of the most popular CMS’s, catering to 35% of all websites. 

It often releases updates to keep the platform up to the mark. But, often beginners fear that an update may break their website. This fear is understandable, but using the latest version of WordPress for the best security and performance of your website is very important.

What do stats say? According to a recent survey, 49.07% of the top 10,000 sites do not use the latest WordPress version, and 33.58% of those sites lag behind by two updates. Despite this scenario, people blame WordPress security for the failure of any website. The reality is the opposite. All these updates include bug and security fixes. It’s better to update your WordPress core as well as plugins and themes regularly to protect your website from being hacked.

So, follow this write-up until the end to safely update your WordPress site.

Why Should You Update the WordPress CMS?

An update is a new version of the software to replace the old one to improve performance, add new functionalities, and resolve bugs or security issues. WordPress, and its plugins, like all software, receives updates regularly. Why do I need to update the current version when it is working well? I know this is a question that might have crossed your mind. Here is a list of reasons that will help you understand why updating matters:

Security

There are many concerns regarding WordPress security – from companies that do business with WordPress websites to consumers who engage with them. To address these concerns, WordPress has a team to monitor the platform and update the software as soon as vulnerabilities are detected.

New features and functionalities

New features are added to every newly released version. Whether it is entirely new stuff, or just upgrades to old stuff, those updates bring a lot of improvement. This will not only ease your work as a website owner but will also enhance the experience of your visitors.

Speed and Performance

Each new release comes with customizations designed to make your website faster. Sometimes, updates are released to improve the performance and speed of the software. And this helps to improve the performance of your website. So, by now you are aware of why WordPress Updates are so important. Next, we proceed to show you various ways to update your site.

Things to remember before updating WordPress

The upgrade process will affect all files included in the central WordPress installation because it contains all the primary data used to run WordPress. If you have made any modification to those files, there are chances your changes will get lost. So, one of the most crucial things you have to do before upgrading WordPress is to make a complete backup of WordPress. Even if you have an automated WordPress backup plugin set up, you still have to create a new backup and store it securely in a remote location.

A complete WordPress backup includes:

  • All images and media uploads
  • WordPress database
  • Core WordPress files
  • WordPress plugins and themes
  • It is essential to have a backup because it will allow you to restore WordPress if something goes wrong.
  • After you have made a full backup and stored it in a different location, you can proceed to update WordPress.

How to Update the WordPress Safely?

There are three easy methods available to update your WordPress site to the newest version. Let’s take a look at them carefully.

Method #1: By Using the WordPress Admin Dashboard (One-click Update)

This is one of the easiest and simplest ways to update the WordPress core files. If a new update is released for WordPress Core, then you will see a notification on the WordPress admin dashboard, as shown in the image below.

Best way to Update WordPress Safely

Click on the “update now” link and it will redirect you to an entirely new window.

Best way to Update WordPress Safely

Next, you will be asked to make a backup of your database and files. Keep in mind, while updating, your website will remain in maintenance mode. After you backup, click on the “Update Now” button. Doing this will start the update process.

Best way to Update WordPress Safely

Once the update is completed, you will be redirected to a new screen, as shown below. You will see all the bug fixes and security updates listed here.

Best way to Update WordPress Safely

Congratulations! You have updated your WordPress site to the newest version successfully.

Method #2: Using FTP to Manually Update WordPress

This method lets you use FTP to upload WordPress files manually. In case, the first upgrade method doesn’t work for some reason, you can try this technique. To do this, you are required to use FileZilla, or any FTP program like WS_FTP Pro. To use an FTP program, you need the following details – username, password, hostname, and port.

After getting these details, you can move forward. Even for this method, you have to meet all the above-mentioned prerequisites. After that, you can proceed further and start the update process.

Step 1:  Download the Latest WordPress version First, go to the official WordPress website and download the latest version.

Best way to Update WordPress Safely

Once the download process is completed, extract the WordPress archive to your computer by using WinRAR or WinZip. You will see many subfolders inside the WordPress folder like wp-admin, wp-includes, and wp-content as well as files like index.php, wp-login.php, etc.

Step 2: Access the WordPress Root Directory You should try to access the WordPress root directory by using the FTP details.

Best way to Update WordPress Safely

After getting access to the root directory, move the latest WordPress version files to the root directory. You have to change existing files and folders for that purpose. Remove the current wp-admin and wp-includes folder from the host. If you are using FileZilla, you have to choose those folders and click the Delete option. 

Best way to Update WordPress Safely

Ensure that you do not alter the wp-content folder. The reason being is that your plugins, themes, and all media files reside inside that folder.

Step 3: Upload the Current Versions of all Folders and Files After removing the old wp-admin and wp-includes folders, it’s time to upload the new ones. For that purpose, go to the WordPress folder inside your computer system.

Best way to Update WordPress Safely

Then, select the wp-includes and wp-admin folders. Right-click and choose the Upload option. Once you find the latest version of all the folders, upload the new files. In this case, you don’t have to delete anything; you need to overwrite all files. Select all the files from the left panel, right-click, and choose the Upload option.

Best way to Update WordPress Safely

After the upload process is done, you will get a confirmation dialog box. In that box, choose the overwrite option and click the OK button. Then go to the wp-config-sample.php file and see if any coding lines are missing in the wp-config.php file. If this is the case, copy those lines and paste them into the existing wp-config.php file on the webserver. The final step is to check if your website is working as required. For that purpose, go to your admin area, i.e., yoursite.com/wp-admin/upgrad.php/. 

If everything is working well, upgrade your database.

Method #3: Using SSH & WP-CLI

For this method you have to use SSH in your WordPress root directory, public_html. Updating the WordPress ecosystem through WP-CLI is a time-consuming process. The reason is that you will have to update both the file and the database. If you have installed WordPress in a specific folder, i.e., public_html on your site, then the WordPress root directory is your site.

First, use the cd command to go to the root directory:

cd public_html

Then, check the WordPress version:

wp core check-update

The output will be as shown as:

version | update_type | package_url | +———+————-+—————————————————————+ | #.#.# | minor | https://downloads.wordpress.org/release/wordpress-#.#.#.zip | | #.#.# | major | https://downloads.wordpress.org/release/wordpress-#.#.#.zip

If no update is available for your WordPress site, there will be a message like “Success: WordPress is at the latest version.” For updating WordPress, use the command below:

wp core update

The output will be as shown:

Updating to version #.#.# (en_US)… Downloading update from https://downloads.wordpress.org/release/wordpress-#.#.#-no-content.zip… Unpacking the update… Cleaning up files… No files found that need cleaned up. Success: WordPress updated successfully.

To update the WordPress core via WP-CLI, use the following commands:

Database updates: wp core update-db

Theme updates: wp theme update –all

Plugin updates: wp plugin update –all

Wrapping Up

Once you upgrade WordPress, you need to make sure that everything is working as expected. Just go to your website in a new browser window and review the WordPress admin area settings. So these are the methods you can use to safely update your WordPress site. At first, they might seem a bit difficult, but a second time around, you’ll be able to do an upgrade in a matter of minutes. I hope this article will help you update WordPress to the latest version easily.

Word Count: 2,088

Are you considering a guest post on Blogging Fusion? Contact us today to get started, or review our article guidelines.

Advertise Here?
Article Biography
  • Date Published: July 19 2023 T00:00 (AM)
  • Listed Under: Wordpress
  • Word Count: 2,088
  • Read: 514 times
  • Article Type: General
  • Link to Article:
  • <a target="_blank"" href="https://www.bloggingfusion.com/post/best-ways-to-update-wordpress-safely">Best ways to Update WordPress Safely</a>
Search Blog
Trending Post
Why eSIMs are a Game Changer for Smartphone Users
Why eSIMs are a Game Changer for Smartphone Users

The new buzzword in the mobile technology industry is eSIM. Thought of as a virtual SIM card, an eSIM is a small chip embedded inside a range of the .......

read more
What Is A Zero Turn Mower?
What Is A Zero Turn Mower?

Before knowing what a zero turn mower is, one should know that before the introduction of these mowers people used various traditional methods to clean their lawn grass which .......

read more
How to Deal With Dandelions in your yard
How to Deal With Dandelions in your yard

Dandelions are herbs and have been around for millions of years. The Chinese mention this herb in the early 7th century and the Arabian doctors did not get around .......

read more
43,822 communities are networking on Blogging FusionJoin Today!
Business Directory Blogging Fusion
Blogging Fusion Business Directory

Blogging Fusion Business Directory is the oldest directory on the internet. We were established in July of 2006 and have been growing in leaps and bounds, and it's because of dedicated website owners like yourself.

Office Hours
  • Mon: 8:00am - 8:00pm
  • Tues: 8:00am - 8:00pm
  • Wed: 8:00am - 8:00pm
  • Thurs: 8:00am - 8:00pm
  • Fri: 8:00am - 8:00pm
  • Sat: 10:00am - 4:00pm
  • Sun: closed
Members
  • Active: 4,338
  • Pending: 20
  • Subscribers: 4,253
  • Members Online: 58
Businesses
  • Active: 349
  • Pending: 324
  • Verified: 317
  • Featured: 13
  • Favorites: 3
Reviews
  • Active: 2
  • Pending: 0
  •  
Blog Stats
Directory Stats
  • US Cities: 30,253
  • CA Cities: 10,087
  • UK Cities: 891
  • UA Cities: 1
  • AU Cities: 305
  • CN Cities: 1,052
  • NZ Cities: 339
  • DE Cities: 916
  • Categories: 1,485
  • Total Images: 1,281
  • Total Videos: 91
  •  
Traffic Stats
  • 2023: 13,903,057
  • 2024: 23,263,359
  • Oct: 1,969,545
  • Nov: 1,448,006
  • Dec: 772,559
  • December, 19 : 54,478
  • Yesterday: 35,959
  • Today: 14,519