WordPress Wednesdays: Setting up Default Settings for FTP in WordPress

Now that you are using WordPress 2.7 or WordPress 2.8 and are updating your plugins when new updates are available using the WordPress admin – you might be tired of entering the same information over and over (FTP host, FTP user, and FTP password). If you want to just have the WordPress admin automatically connect and not prompt you for these items – you can enter the following in your wp-config.php file and you will set from then on to update plugins without having to remember all the info.

define(“FTP_HOST”, “jappler.com”);
define(“FTP_USER”, “user”);
define(“FTP_PASS”, “password”);

* Please note that this is not personally recommended that you have your FTP credentials in any script for security reasons – but this is something you can at your own risk and something that does save some hassle (but can come with a price).