This may happen in small cases. WordPress asking your FTP password when you want to install plugin from your WordPress admin. I still don’t know what cause it, but in most cases is because server configuration which may different in every share hosting.
So just in case you have this issue you can add your FTP account in your wp-config.php.
Here how to do it:
- Download your wp-config.php, open it in your favorite text editor.
- Insert these lines somewhere in your wp-config.php, but i prefer put it under database code:
==================================== /*** FTP login settings ***/ define("FTP_HOST", "localhost"); define("FTP_USER", "ftp-user"); define("FTP_PASS", "ftp-password"); ====================================
Note: don’t forget to change “ftp-user” and “ftp-password” to your ftp account credential
- Save and upload your wp-config.php file again.
- Test it, and it should be fine now.