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.

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 directory

Done. WordPress auto update is disabled. Next time, when there is a wordpress update, a message like shown below displays to admin. So the admin can can click on “Please update now” to continue updating the wordpress. If there is any issue, then read  update wordpress manually.

Note: Please take backup of your site before updating the wordpress

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

About the Author

SRINI S

A passionate blogger. Love to share solutions and best practices on wordpress hosting, issues and fixes, excel VBA macros and other apps

Leave a Reply

Your email address will not be published. Required fields are marked *