Title: Adding credentials into wp-config file
Last modified: August 30, 2016

---

# Adding credentials into wp-config file

 *  [ibrahimmumcu](https://wordpress.org/support/users/ibrahimmumcu/)
 * (@ibrahimmumcu)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/adding-credentials-into-wp-config-file/)
 * I dont like that this plugin asks me everytime I want to use. Can I write something
   like:
 * define(‘FS_METHOD’, ‘ftpext’);
    define(‘FTP_BASE’, ‘/path/to/wordpress/’); define(‘
   FTP_CONTENT_DIR’, ‘/path/to/wordpress/wp-content/’); define(‘FTP_PLUGIN_DIR ‘,‘/
   path/to/wordpress/wp-content/plugins/’); define(‘FTP_PUBKEY’, ‘/home/username/.
   ssh/id_rsa.pub’); define(‘FTP_PRIKEY’, ‘/home/username/.ssh/id_rsa’); define(‘
   FTP_USER’, ‘username’); define(‘FTP_PASS’, ‘password’); define(‘FTP_HOST’, ‘ftp.
   example.org’); define(‘FTP_SSL’, false);
 * If is so, how? Can you please explain?
 * [https://wordpress.org/plugins/ssh-sftp-updater-support/](https://wordpress.org/plugins/ssh-sftp-updater-support/)

Viewing 1 replies (of 1 total)

 *  [njomza](https://wordpress.org/support/users/njomza/)
 * (@njomza)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/adding-credentials-into-wp-config-file/#post-6410999)
 * Here is the explanation:
 * [http://codex.wordpress.org/Editing_wp-config.php#WordPress_Upgrade_Constants](http://codex.wordpress.org/Editing_wp-config.php#WordPress_Upgrade_Constants)

Viewing 1 replies (of 1 total)

The topic ‘Adding credentials into wp-config file’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/ssh-sftp-updater-support.svg)
 * [SSH SFTP Updater Support](https://wordpress.org/plugins/ssh-sftp-updater-support/)
 * [Support Threads](https://wordpress.org/support/plugin/ssh-sftp-updater-support/)
 * [Active Topics](https://wordpress.org/support/plugin/ssh-sftp-updater-support/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ssh-sftp-updater-support/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ssh-sftp-updater-support/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [njomza](https://wordpress.org/support/users/njomza/)
 * Last activity: [10 years, 10 months ago](https://wordpress.org/support/topic/adding-credentials-into-wp-config-file/#post-6410999)
 * Status: not resolved