I'm getting prompted for FTP credentials (ftp username, ftp password, host address) everytime I'm trying to install a plugin or theme in my WordPress Website.
How can I prevent it?
I'm getting prompted for FTP credentials (ftp username, ftp password, host address) everytime I'm trying to install a plugin or theme in my WordPress Website.
How can I prevent it?
Since the files are not getting access you are prompted with FTP credentials.
There are 2 options to follow :
define( 'FTP_USER', 'username' );
define( 'FTP_PASS', 'password' );
define( 'FTP_HOST', 'ftp.example.com:21' );
Can I install/update WordPress plugins without providing FTP access?