Thursday, 5 February 2015

New Way to Automatically add FTP details to WordPress

Here is very important topic is that New Way to Automatically add FTP details to 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
    1
    2
    3
    4
    5
    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);
  3. Done, now you are ready to auto update your plugins and themes

No comments:

Post a Comment