Tell WordPress to remember your FTP credentials

Tell WordPress to remember your FTP credentials

If the above method do not work on your server, or if you don’t want to implement it for some reason, here is another useful snippet. This one simple tells WordPress to remember your FTP credentials so you won’t be asked again when an upgrade is available.

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