WordPress FTP access for installations

Posted on August 26, 2011 by admin

1. Locate your WordPress root diectory and find the “wp-config.php” file.
2. Edit the file and insert this somewhere in the middle as it’s own block,

Put it after the mysql username/password block.

/*** FTP login settings ***/
define(“FTP_HOST”, “localhost”);
define(“FTP_USER”, “yourftpusername”);
define(“FTP_PASS”, “yourftppassword”);

Of course you’ll want to change “yourftpusername” and “yourftppassword” to the actual FTP usernames/passwords for your site.

Note to myself : Remember to create FTP accounts in ISPConfig and forward port 20 21 22 to the server.