Hello guys I know some of you may have experience this that every time you try to update your plugins or WordPress it always ask for your FTP access accounts. For me yes and it was quite frustrating because some of my sites just updates automatically without me adding my FTP access so I searched and found this quick solution.
Go to your server by using FileZilla or any FTP client tool you have and open your wp-config.php at the end of this line
add this code
//*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);
Save it and you are good to go, but be careful i’m not quite sure if this is the safest way in solving this or if there are issues with this fix. If you think you have a better solution that would be awesome.