Solution For WordPress Asking FTP While Install Plugins From Admin

Hi Friends, Yesterday I was working on one wordpress project and as wordpress have so many plugins and also having functionality to install from admin but sometimes while installing plugins from wordpress admin it is asking FTP details everytime to install plugins So it is hard to enter FTP details everytime to install plugin. So I have searched about it on internet and found one solution so I am sharing here on my site with my readers so they will not get stuck with this problem.

To remove asking FTP details while install plugins from admin follow up below steps :

1. Open wp-config.php in your blog root folder.

2. Find below line in wp-config.php.

define('NONCE_KEY', 'put your unique phrase here');

3. Paste this code below this line.

define("FTP_HOST", "domain.com");
define("FTP_USER", "your FTP username");
define("FTP_PASS", "your FTP password");

4. Save file and then try again to install plugin from admin. Voila!! you will see this time it will not ask for FTP details.

  • Kartik

    Doesn't worked