WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] WP asks for FTP user/pass when upgrading a plugin (10 posts)

  1. wattt
    Member
    Posted 4 years ago #

    Hello.

    On one of my blogs, everytime I have to upgrade a plugin, wordpress asks for my ftp username and password. How can I get rid of that? The other blog I have (hosted somewhere else) these details are not asked when upgrading a plugin directly from dashboard.

    Is there any way to stop WP from asking for my details?

    Thanks

  2. esmi
    Forum Moderator
    Posted 4 years ago #

    From what I've seen, this seems to relate to ether the hosting provider or the way in which WP is first installed (e.g using Fantastico). Unfortunately, I don't know of any way to stop the request for FTP details or a way to save those details for future use. :-(

  3. wattt
    Member
    Posted 4 years ago #

    Nope, I didn't use fantastico to install wp. Anyway, thanks :)

    So the topic is still not resolved, does anyone know how to get rid of that request?

  4. doc4
    Member
    Posted 4 years ago #

    wattt,

    I've always looked at this as a security feature but It is best to upgrade a plugin through FTP regardless.

  5. MichaelH
    Member
    Posted 4 years ago #

    wordpress asks for my ftp username and password. How can I get rid of that?

    Can put these in wp-config.php

    define('FTP_USER', 'username');
    define('FTP_PASS', 'password');
    define('FTP_HOST', 'ftp.example.org:21');

    Related;
    http://codex.wordpress.org/Editing_wp-config.php#FTP.2FSSH_Constants

  6. esmi
    Forum Moderator
    Posted 4 years ago #

    I wonder if some providers that offer 1-click installs are adding these additional settings to wp-config.php?

  7. gariben
    Member
    Posted 4 years ago #

    ask your host to install/recompile suPHP. that would get rid of the problem..

    There is also a plugin that remembers the ftp login/password

  8. wattt
    Member
    Posted 4 years ago #

    Thanks for the info. MichaelH, your method worked.

    doc4, you are right, but when using a lot of plugins that require frequent updates, it takes too much.

    Thanks again.

  9. shadowperspective
    Member
    Posted 4 years ago #

    I wonder how I'll be able to get the ftp user name and password when I use http://myname.wordpress.com. (Hosting provider?)
    I'd like to put differnet theme from smashing magazine but as a new blogger-would be blogger- I don't know, ftp or php things. Could you help me, please?
    Thank you

  10. oznola
    Member
    Posted 4 years ago #

    i am puzzling over these thing now. i host my own site so i have complete control over things.

    i can give a username and pw but i get the error wp-content not found.

    subsequently i believe that i must create a user on the server called "wordpress" that will have its home dir set to /usr/share/wordpress (where wordpress is on my machine).

    subsequently i can give write accesss privledges to the wordpress user/group only.

    by restring read/write privledges to a wordpress group this could solve allot of the problems that might be coming from some admins setting file permissions to loosely which could open the door to hacking.

    this is educated speculation but i believe it is the path to a more secure wordpress.

Topic Closed

This topic has been closed to new replies.

About this Topic