Enable Automatic Updates in WordPress

Enable Automatic Updates in WordPress

Don’t want to worry about maintaining your site and want to automatically update WordPress for major versions? Let’s take a simple way.

The engine automatically installs small updates without even informing the site owner about it. These are usually security enhancements that must be applied.

However, the system is not automatically updated when there is a new major (or major) release. You will have to do it manually.

Consider how easy it is to put this on automatic.

How does automatic updating work in WordPress?

This feature has been working since version 3.7. Its purpose is to improve the security of web resources.

WordPress allows you to turn off automatic updates. But we do not recommend doing this, as your site becomes vulnerable to hackers.

On the other hand, if you maintain multiple sites, it will be time-consuming to update all of them.

Let’s look at 2 ways.

Preparing for Automatic WordPress Updates

The most important level of security that every website should have is regular backups. And it does not matter if the system is updated automatically or manually.

There are many great tools for this. The best of them we considered in one of the previous articles.

We recommend using the free UpdraftPlus plugin. It can save copies of files and databases both locally and remotely Works with Google Drive and Dropbox.

Once you’ve set up automatic WordPress backups, you can enable automatic WordPress updates for major versions.

Method 1: Automatic update using a plugin

This method is recommended for novice users.

  1. Install the Easy Updates Manager extension first.
  2. After activation in the admin panel, open Console > Update Options .
  3. In the Automatic Updates section, select Custom and click on Enable Major Releases.
  4. The plugin will automatically save the settings.

Method 2: Automatic manual update

This method requires you to make changes to the WordPress engine files in order for you to add code to your WordPress files. Before doing this, create a backup copy of the site.

We will need wp-config.php, which lies in the main directory of the site. If you want to modify this file on a live site, use FTP to access the server.

Also see: Install and Configure Yoast SEO Breadcrumbs

Open the file and before the line

/* That's it, no further editing. Good luck! */

add code

define( 'WP_AUTO_UPDATE_CORE', true );

Next, in the file of the functions.php active WP theme, insert the line

add_filter( 'allow_dev_auto_core_updates', '__return_false' );

Now your WordPress site will be automatically updated, without your intervention, whenever a new version is available.

Leave a comment

Your email address will not be published.