WordPress asking for ftp username and password on update

I had a client ask how to remove the request for the ftp username and password each time an wordpress update was requested. To remove this, just add the following information to your wp-config.php

define('FTP_USER', 'username');
define('FTP_PASS', 'password');
define('FTP_HOST', 'ftp.example.org:21');

voila! No more asky 🙂


I am a g33k, Linux blogger, developer, student and Tech Writer for Liquidweb.com/kb. My passion for all things tech drives my hunt for all the coolz. I often need a vacation after I get back from vacation....