- Joined
- May 20, 2016
- Messages
- 149
- Points
- 28
If you have a issue when installing a new Wordpress plugin in your website's plugin manager but it always asked details for the FTP account (image 1), you can fix this by using a simple way as following:
Required FTP login when installing new WordPress Plugin (image 1)
You open the file "wp-config.php" in the folder containing your WordPress site and add the following PHP code:
Then you can save this file and try to reinstall plugins you wanted from the plugin management page on your website. Now WordPress will automatically install the plugin without asking your FTP login again.
Hope it helps!
Required FTP login when installing new WordPress Plugin (image 1)
You open the file "wp-config.php" in the folder containing your WordPress site and add the following PHP code:
Code:
define('FS_METHOD', 'direct');
Hope it helps!