DISCLAIMER: this post is older than one year and may not be up to date with latest WordPress version.

If WordPress asks you your FTP host, username and password each time you’re trying to upgrade, you should eaither check your file permissions or use this very useful hack which will make WordPress remember your FTP host, username and password.

Simply add the code below to your wp-config.php file:

define('FTP_HOST', 'ftp.yoursite.com');
define('FTP_USER', 'Your_FTP_Username');
define('FTP_PASS', 'Your_FTP_password');
define('FTP_SSL', true); // If you can use a SSL connection set this to true

Thanks to Jesse for this tip!

Tags

One Comment

  1. I enjoy this post.Thank you.

Leave a Comment

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