How to stop asking FTP/ FTPS credentials from Wordpress?


New member
Here is the possible questions are:
1) How to stop WordPress from asking for FTP/SFTP credentials when installing a plugin or theme?
2) Why WordPress asking for my FTP credentials to install plugins?
3) How to Disable FTP Login Details in WordPress when Upgrading Plugins?
4) How to Resolve "WordPress Asking for FTP Credentials" Error?

Screenshot of this problem are given below:

Now I will give soluation to fixed this problem.

It's very easy soluation. Let's follow:
=>> First go to your website's root directory and then open wp-config.php file.
Now just add below line of code inside your wp-config.php file.
define('FS_METHOD', 'direct');

Check the below screenshot:
ftp 2.jpg

I hope you have already solve your problem by following this process.
If you face any problem to fixed this issue, Comments here.