Update wordpress theme on ec2

后端 未结 7 2105
余生分开走
余生分开走 2020-12-22 23:56

I\'m hosting a wordpress site on ec2 and I\'m trying to update my theme through the admin screen. Its asking me for Hostname and ftp username and password. Is ec2-xxx.comput

7条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-23 00:31

    Try adding FTP credentials to wp-config.php: http://codex.wordpress.org/Editing_wp-config.php and http://codex.wordpress.org/Editing_wp-config.php#WordPress_Upgrade_Constants

    That should make WP admin stop asking for FTP details. But depending on how you've set up permissions via the command line, may have to go to the command line to edit files like wp-config.php . And you may not have sufficient permissions to upload and for WP to unzip a theme.

    As per other answers, I use SFTP with a server of ec2-xx-xxx-xx-xx.compute-1.amazonaws.com username of ec2-user

提交回复
热议问题