WordPress asking for FTP details when I Install/Upgrade Plugins

Jovani

Well-known member
Registered
Joined
Jul 10, 2012
Messages
141
Points
0
Hello,

When I installed a new plugin then Wordpress redirected to a page and show the message

Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.
How to solve this problem? please suggest me ways

thanks in advanced
 

Alex_smith

Well-known member
Registered
Joined
Dec 19, 2012
Messages
90
Points
0
Hello Jovani,

Opening your wp-config.php file in root hosting

Add this:

define('FS_METHOD','direct');
And your problem will be solved. I sure that :)

Good luck!
 

Jovani

Well-known member
Registered
Joined
Jul 10, 2012
Messages
141
Points
0
My problem is solved but when I make my wordpress friendly URLs then htaccess file didn't created. what is the problem?
Seem my public_html have not still set chmod 777, right?
 

Alex_smith

Well-known member
Registered
Joined
Dec 19, 2012
Messages
90
Points
0
My problem is solved but when I make my wordpress friendly URLs then htaccess file didn't created. what is the problem?
Seem my public_html have not still set chmod 777, right?
For sure, you will need to run 2 these commands ( note that it's very important )

chown -R username:username *
chmod -R 777 /path/to/public_html
777 can change to 775 for security
(change username above to your appropriate username)
Now done. Your problems can be solved. :)
 

Jovani

Well-known member
Registered
Joined
Jul 10, 2012
Messages
141
Points
0
Incredible...everything is working fine as you suggested me. Great!
thanks for that :cheers:
 
Older Threads
Replies
5
Views
4,835
Replies
11
Views
5,616
Replies
3
Views
3,696
Newer Threads
Replies
5
Views
3,363
  • Locked
Replies
9
Views
5,646
Replies
9
Views
5,799
Replies
0
Views
3,269

Latest Hosting OffersNew Reviews

Sponsors

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