mac local wordpress install theme ftp

wordpress FTP connection setting for localhost to upload and install theme

enter image description here

解决方案

chmod 777 /Applications/XAMPP/xamppfiles/htdocs/wordpress/wp-content/plugins/
chmod 777 /Applications/XAMPP/xamppfiles/htdocs/wordpress/wp-content/themes/

Then add these to wp-config.php:

/** Add here*/
define('FS_METHOD','direct');
define("FTP_HOST", "localhost");
define("FTP_USER", my_wordpress_user”);
define("FTP_PASS", password”);
/** To here*/

In the line above, my_wordpress_user and password are the ones used in wordpress.

发表评论

电子邮件地址不会被公开。 必填项已用*标注