WordPress 持續跳出 connection information

在 AWS EC2 上安裝完 WP 後如果在更新以及安裝佈景時跳出 connection information (如下圖)。


你可以在 wp-config.php 的 define(‘NONCE_SALT’, ‘….’); 下一行加上

define('FS_METHOD', 'direct');

 

官方說明在此:https://codex.wordpress.org/Editing_wp-config.php