WordPress.org

Ready to get started?Download WordPress

Forums

How to Change FTP 'Update Automatically' Details? (3 posts)

  1. kev
    Member
    Posted 4 years ago #

    Hi there,

    I've just restored my database and have began upgrading versions of plugins etc.

    When I click, 'Update Automatically' it no longer asks me for my FTP details. These, I can only assume are still the same details that point towards my old server.

    How can I change the details so I can update on my new FTP detals?

    Cheers

  2. Geetar
    Member
    Posted 4 years ago #

    Add the following code at the end of your wp-config.php file:

    /** Override default file permissions */
    if(is_admin()) {
    add_filter('filesystem_method', create_function('$a', 'return "direct";' ));
    define( 'FS_CHMOD_DIR', 0751 );
    }

    And WordPress won't ask you anymore about any FTP details

  3. kev
    Member
    Posted 4 years ago #

    and it doesn't need editing?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.