Wordpress FTP connection setting for localhost to upload and install WooCommerce

前端 未结 4 843
伪装坚强ぢ
伪装坚强ぢ 2021-02-06 08:52

I can\'t upload WooCommerce .zip file and install the plugin on the local host. Every time I click install button Wordpress asking for connection information for the FTP credent

4条回答
  •  时光取名叫无心
    2021-02-06 09:36

    Ok I solved the problem by editing wp-config.php in the htdocs folder where I installed Wordpress -> like image 1:

    I added the below lines to the wp-config.php like image 2

    define('FS_METHOD','direct');
    define("FTP_HOST", "localhost");
    define("FTP_USER", "admin");
    define("FTP_PASS", "1234");
    

    The username and password is the same as the username pass when I installed the Wordpress during the installation.

提交回复
热议问题