Help! WordPress Won’t Do Automatic Updates!

Home » Blog » WordPress » Help! WordPress Won’t Do Automatic Updates!

As you may have seen WordPress 3.7 just got released and with it automatic updates. Now, in some cases, people may discover that their particular sites can’t update automagically. In my findings in the sites, we manage for clients the most common reason is that you have had to update WordPress previously by entering your FTP credentials. If you’ve done that once, changes are WordPress remembered those for you, but in this case, those credentials need to be placed in your wp-config.php file in order for the automatic updates to work.

Luckily, all you need to do is add the following lines:

define( 'FTP_USER', 'username' );
define( 'FTP_PASS', 'password' );
define( 'FTP_HOST', 'ftp.example.org' ); // this usually can be 127.0.0.1

If this doesn’t work, you may need to add a few more constants–find more here–but in my experience, this solved all the issues we encountered. If you need help from a WordPress specialist, feel free to contact me.

First name
This field is for validation purposes and should be left unchanged.

Automatically sent to your inbox 🪄 

5 responses to “Help! WordPress Won’t Do Automatic Updates!”

  1. […] fond ? Pas de panique ! Plutôt que devoir entrer vos codes FTP à la main, Remkus vous suggère de les mettre dans votre fichier wp-config.php […]

  2. Kaspars Avatar

    Are you sure it isn’t an issue of PHP running as a different user and failing this comparison. I usually set define( 'FS_METHOD', 'direct' ) and all is good to go.

    1. Remkus Avatar

      That one works sometimes as well. I’ve found that with the older Plesk servers for instance, the FTP always works and the direct still doesn’t. But thanks for bringing that one to the attention as well!

  3. […] Ahora ¿qué pasa si WordPress nos anuncia que no podemos aprovechar esta nueva función de actualización automática? ¡No hay problema! Remkus nos sugiere que en lugar de entrar manualmente los códigos FTP los incorporemos en nuestro archivo wp-config.php […]

  4. Milan de Keijzer Avatar

    Hi Remkus,

    I have good results with this new plugin:
    http://wordpress.org/plugins/ftp-access/

    Also see this articles:

    http://digwp.com/2010/11/ftp-in-wpconfig/
    http://digwp.com/2013/10/background-updates/

    But the plugin works like a charm so far!

    Milan.

Leave a Reply

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