• Hello,

    I want to save the ftp login information to my WP-Config.php. At the moment there is only username and URL, but no password information prefilled when updating my blog.

    Trouble is, I don’t know where to put the data. Several tutorials online say you should put it in the wp-config.php, but I’m not sure if this is still the case. After all, some information is already saved somewhere except the ftp password, but in the wp-config.php I can find no information at all.

    So, where do I put this information?

Viewing 1 replies (of 1 total)
  • Hi,

    Yes, you you can add that information in wp-config.php. Even if it is not there yet, you can just add it in the last line of wp-config.php

    From what I read in codex, the code should be like this :

    define( 'FS_METHOD', 'ftpext' );
    define( 'FTP_HOST', 'ftp.example.org' );
    define( 'FTP_BASE', '/path/to/wordpress/' );
    define( 'FTP_USER', 'username' );
    define( 'FTP_PASS', 'password' );
    define( 'FTP_SSL', false );
Viewing 1 replies (of 1 total)
  • The topic ‘Save FTP Information To WP-Config.php’ is closed to new replies.