WordPress Automatic Upgrade Tip

As a tip to everyone who uses WordPress 2.5 and needs to input their FTP details every time, you can force WordPress to remember them by adding this to your wp-config.php:

define('FTP_HOST', 'ftp://example.com/');
define('FTP_USER', 'example_user');
define('FTP_PASS', 'example_pass');
//Set to true if your host uses SSL connections
define('FTP_SSL', false);

This can be reduced to just your password, if your database already remembers the other details.

Comment (1)

  1. Ryan McCue wrote::

    Hmm… Fixed.

    Saturday, April 26, 2008 at 7:12 pm #

Trackback/Pingback (1)

  1. [...] got the above code from this site, but there is a mistake in the code the author put… define(’FTP_HOST’, [...]