Best way to disable wordpress auto update?

There are pros and cons with wordpress auto update. Sometimes, your site may crash if wordpress fails to update automatically. I suggest updating wordpress manually.

To disable wordpress auto update feature, you need to configure wp-config.php file. The wp-config.php is an important wordpress file, located at the root of your wordpress file directory.

Configuring wp-config.php file

  1. Open wp-config.php file via FTP or host provider site
  2. Add below code anywhere in wp-config.php file (add at the end, before ?> line, to avoid confusion)

           define(‘WP_AUTO_UPDATE_CORE’, false );       Configuring-wp-config-php-to-disable-wp-auto-update

  1. Save and upload the file to your wordpress file root directory

Done. WordPress auto update is disabled. Next time, when there is a wordpress update, a message like shown below displays to admin to update wordpress manually.

wordpress-update-message-on-wp-admin-page