Facing issues on wordpress blog where its asking for ftp login when trying to install new plugin ?
Add the below lines in wp-config.php and save it
This should do the trick in solving this issue
//*added ftp login credentials to avoid WordPress asking for FTP details every time I wanted to upgrade a plugin*
define(
'FTP_HOST'
,
'ftp.yoursite.com'
);
define(
'FTP_USER'
,
'Your_FTP_Username'
);
define(
'FTP_PASS'
,
'Your_FTP_password'
);
//*If you can use a SSL connection set this to true*
define(
'FTP_SSL'
, true);