テーマインストールでwp-contentフォルダがありません。
と言われたので、wp-config.phpに下記を追加。
define(‘FTP_BASE’, ‘/xxx/wordpress/’);
define(‘FTP_CONTENT_DIR’, ‘/xxx/wordpress/wp-content/’);
define(‘FTP_PLUGIN_DIR’, ‘/xxx/wordpress/wp-content/plugins/’);
define(‘FTP_THEMES_DIR’, ‘/xxx/wordpress/wp-content/themes’);
さらにテーマフォルダがないと言われたので、wp-adminに.htaccessを作成。
<files async-upload.php>
AddHandler application/x-httpd-phpcgi .php
</files>
<files plugin-install.php>
AddHandler application/x-httpd-phpcgi .php
</files>
<files update.php>
AddHandler application/x-httpd-phpcgi .php
</files>
<files update-core.php>
AddHandler application/x-httpd-phpcgi .php
</files>

