How To Add FTP Details automatically in 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.

Open your wp-config.php via FTP Client or cPanel and use you favorite editor to edit it
Add this code

define('FTP_HOST', 'Your_FTP_Hosting');
define('FTP_USER', 'Your_FTP_Username');
define('FTP_PASS', 'Your_FTP_Password);
//If you use SSL connection, set this to true
define('FTP_SSL', false);

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