WordPress asking for FTP username/password?

by Josh Highland on June 7, 2010

wordpressFTP Wordpress asking for FTP username/password?

Are you annoyed with your wordpress install asking you for your FTP cradentials everytime you try to upgrade a plugin? I know I was.  Thankfully, there’s a simple solution which will save the FTP login (username/password/server) so WordPress stops asking you for them.  Here’s how you do it.

  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, we normally put it after the mysql username/password block.
define("FTP_HOST", "localhost");
define("FTP_USER", "yourftpusername");
define("FTP_PASS", "yourftppassword");

Once you’ve made that edit, save the file and voila! No more punching in your ftp username and password all the time.

  • digg Wordpress asking for FTP username/password?
  • facebook Wordpress asking for FTP username/password?
  • stumbleupon Wordpress asking for FTP username/password?
  • twitter Wordpress asking for FTP username/password?
  • delicious Wordpress asking for FTP username/password?
  • reddit Wordpress asking for FTP username/password?
  • friendfeed Wordpress asking for FTP username/password?
  • posterous Wordpress asking for FTP username/password?
  • tumblr Wordpress asking for FTP username/password?

{ 1 comment… read it below or add one }

1 Sid July 2, 2010 at 1:06 pm

nice handly little tip there!

Leave a Comment

Previous post:

Next post: