Knowledge base article

Disable automatic WordPress updates via wp-config.php

This guide will teach you how you can disable automatic WordPress updates by adding an entry to your wp-config.php file

Automated WordPress updates are recommended for security purposes however on occasion it may be preferred to manually apply updates to ensure compatibility.

To complete this guide, please ensure you have SSH Access to your hosting server. Serversaurus hosting relies on key based authentication to login via SSH/SFTP. To set up SSH access you can generate a SSH key pair and configure it in cPanel before proceeding with this guide.

Let's begin!

  1. Open your terminal window and ssh onto your hosting server:
  2. Change into the public_html directory (or alternative document root location):
    cd public_html
  3. Open the wp-config.php file:
    vi wp-config.php
  4. Paste the following text to the end of your wp-config.php file by typing i:
    define( 'AUTOMATIC_UPDATER_DISABLED', true );
  5. Once completed press esc and wq! to save.

Well done! Automated WordPress updates are now disabled.

Last updated November 30, 2023

Can't find what you're looking for?

Submit a question

  • Drop files here or
    Max. file size: 2 MB, Max. files: 3.
    • This field is for validation purposes and should be left unchanged.