How to fix error when installing Wordpress plugin asks for FTP details

MooseLucifer

Active member
Joined
May 20, 2016
Messages
73
Points
18
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:

Plugin-Install-Asks-for-FTP-Details.jpg
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');
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!
 
Older Threads
Replies
0
Views
919
Replies
16
Views
2,212
Replies
36
Views
10,869
Replies
6
Views
1,114
Replies
7
Views
2,008
Latest Threads
  • Deleted
  • Deleted by fwh
Replies
0
Views
4
Replies
0
Views
26
  • Deleted
  • Deleted by fwh
Replies
0
Views
4
Replies
2
Views
44
Recommended Threads
  • Locked
Replies
4
Views
3,631
Replies
15
Views
4,874
Replies
2
Views
1,260

Latest postsNew threads

Latest Hosting OffersNew Reviews

Sponsors

Latest Blog ArticlesMost Viewed Threads

Tag Cloud

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

Top