Automatically add FTP details to WordPress

On some web server, we need to put username, password and server address when we need to enable automatically update our WordPress, plugin or themes. This is really bad if we must input this field each time updated.

Now I will show you How To Automatically added FTP detail on WordPress.

All need to do is put all parameters in our wp-config.php and all the field will be automatically passed by Web Server. Follow this guide how to do it.

  1. Open your wp-config.php via FTP Client or cPanel and use you favorite editor to edit it
  2. Add this code
define('FTP_PASS', 'Your_FTP_Password);
//If you use SSL connection, set this to true
define('FTP_SSL', false);

3- Done, now you are ready to auto update your plugins and themes


Leave a Reply

Your email address will not be published. Required fields are marked *