WordPress how to update via autologin FTP

If you run multiple blogs like I do, you are bound to want to save some steps. What steps can you save clicks on? How about during updates. Each update often requires you to click or enter the host/login/password during each upgrade step.

Why even bother with that step? If you open your wp-config.php file and enter the required information there you will never be prompted for that information again. That not only saves a step but you will never had to risk the security exposure of passing your credentials over the wire without any encryption.

Open your wp-config.php file found in the root of your WordPress installation. Locate a blank line and insert the following code replacing the username, hostname and password with your correct information.

define('FTP_USER', 'username');
define('FTP_PASS', 'password');
define('FTP_HOST', 'ftp.mysite.com:21');
define('FTP_SSL', false);

One Reply to “WordPress how to update via autologin FTP”

Comments are closed.