WordPress Auto Update resets the Wp-config.php file
-
We have WordPress 4.9.6 installed and hosted on Plesk Server. We have a problem where WordPress would update automatically and the wp-config.php file would get reset automatically making the site inaccessible.
We have tried disabling the Updates by defining these lines in the wp-config.php file but with no luck.define( 'WP_AUTO_UPDATE_CORE', false ); define( 'AUTOMATIC_UPDATER_DISABLED', true );Even after adding these lines in the wp-config.php file, the updates happen which resets the config file values and makes the site inaccessible after automatic update.
We then have to edit the username and password details for the database in config file each time to make the site working again.Note: this is a simple blog site and we will manage the updates manually. Any critical security update will be installed manually.
Isn’t this the proper method to disable the automatic updates?
Are there any other methods that we can follow to disable Word press from updating automatically?
The topic ‘WordPress Auto Update resets the Wp-config.php file’ is closed to new replies.