Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
FTP setup in WP Config
define('FS_METHOD', 'ftpext'); // tells WordPress to use FTP to upload/update plugins and theme's.
define('WP_TEMP_DIR', ABSPATH . 'wp-content/');
define( 'FTP_BASE', '/' );
define( 'FTP_CONTENT_DIR', '/wp-content/' );
define( 'FTP_PLUGIN_DIR ', '/wp-content/plugins/' );
define('FTP_USER', 'username');
define('FTP_PASS', 'password');
define('FTP_HOST', '');
define('FTP_SSL', false);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment