PCI Compliant Web Hosting and Managed Service Provider
Hosting Solutions since 1995

WordPress Updates and FTP

Author: ; Published: Jun 25, 2012; Category: WordPress; Tags: ; No Comments

WordPress Logo -- blue in color, 100x100 in sizeAre you hosting with a WordPress hosting provider where you are asked for your FTP credentials when you go to update WordPress itself?  WordPress Plugins?  WordPress Themes?

Wouldn’t it be nice if you didn’t have to enter the FTP information (and not save the FTP information in your browser)?

Yes, there’s a way to have WordPress store that information for you so that you are never asked; and updates are now just one click rather than several clicks.

In order to take advantage of this tip, you will need to gather three pieces of information:

  1. Your FTP server host name — this is typically your domain name; check with your hosting provider if you are not sure.
  2. Your FTP user id.
  3. Your FTP password

 Now edit your wp-config.php file (this file will be in the same folder as your WordPress home directory; if you are not sure of the exact location, ask your hosting provider), and add the following lines modifying the areas for your FTP server host name, your FTP user id, and your FTP password.

// ** FTP SETTINGS FOR AUTO-UPDATE ** //
define(‘FTP_HOST’, ‘FTP server host name’);
define(‘FTP_USER’, ‘FTP user id’);
define(‘FTP_PASS’, ‘FTP password’);

 Double check the four additional lines (don’t copy and past the above “as is” without first substituting your own information), and save then file.

See Editing wp-config.php on the WordPress Codex.

Considerations:

  1. Make sure your .htaccess file secures wp-config.php
  2. See our article on how to create secure passwords which are hard to crack.

If you are one of our managed hosting customers, we can set this up for you.  Just contact us.

 

Peter Abraham
Former CEO of Dynamic Net, Inc. Will be transitioning to a new career in the near future.
Peter Abraham

@

Peter Abraham

Leave a Comment