• I am trying to upload plugins but i get a message in wordpress that asks for FTP credentials to proceed with the upload or install. I only have SFTP credentials. i never had this issue of wordpress requiring this information before. Can you think of an fixes for this problem?

Viewing 4 replies - 1 through 4 (of 4 total)
  • This is user’s permission problem that will be solved by method given below that worked for me.

    step-1 : First open wp-config.php file of your wordpress installation folder.
    step-2: Copy below code and paste it at the end of the wp-config.php file.

    define('FS_METHOD','direct');

    step-3: Now open your server access console and enter root as username and its password.
    step-4: Copy below code and paste it into access console where you have to specify your plugin directory path and then hit enter.

    chmod 777 /yourwebsitename/public/wp-content/plugins/

    Note: Replace your website name in the place of yourwebsitename.
    Thank you.

    • This reply was modified 5 years, 8 months ago by wppundit.

    Allow permission from your host side or you can simply login to your admin and then after you can install the plugin from plugin add new

    This is user’s permission problem that will be solved by method given below that worked for me.

    step-1 : First open wp-config.php file of your wordpress installation folder.
    step-2: Copy below code and paste it at the end of the wp-config.php file.

    define(‘FS_METHOD’,’direct’);
    step-3: Now open your droplet access console and enter root as username and its password.
    step-4: Copy below code and paste it into access console where you have to specify your plugin directory path and then hit enter.

    chmod 777 /yourwebsitename/public/wp-content/plugins/
    Note: Replace your website name in the place of yourwebsitename.
    Thank you.

    Source: https://www.digitalocean.com/community/questions/wordpress-asking-for-ftp-credentials
    https://www.realesaletter.com
    https://stackoverflow.com/questions/17922644/wordpress-asking-for-my-ftp-credentials-to-install-plugins/22518031

    Thread Starter eddie777

    (@eddie777)

    thank you for your responses! We will be checking them out.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘wordpress is requiring FTP credentials before installing plugin’ is closed to new replies.