WordPress.org

Support

Support » Installation » How to Change FTP ‘Update Automatically’ Details?

How to Change FTP ‘Update Automatically’ Details?

  • 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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Geetar
    Participant

    @geetar

    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

    and it doesn’t need editing?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to Change FTP ‘Update Automatically’ Details?’ is closed to new replies.