Skip to content (Press Enter)

marioernestoms

WordPress Specialist

  • About

WordPress ask to FTP credentials to install plugins

by marioernestomsupdated on 6 de May de 201710 de February de 2017
WordPress ask to FTP credentials to install plugins

After configuring WordPress in a VPS it is common to have a permission error in which FTP credentials are requested to install plugins.

Please enter your ftp credentials

What is a solution to solve the FTP credentials problem?

On a web server with Nginx this is easily solved by adding the following line in your wp-config.php file:


define('FS_METHOD', 'direct'); 

If you use Ubuntu to fix the permissions on the WordPress installation folder run the following command:

#change “root_directory_wordpress” with a name of the folder that WordPress was installed.


$ sudo chown -R www-data:www-data 

With this solution probably you will solve the problem if you can know more about permission on WordPress folders and files, You can click here and read this article on the WordPress Codex that talks about this.

If you know something more that I don’t mention on this post, please leave in comments and I’ll add in this post.

Share this:

  • Click to share on Twitter (Opens in new window)
  • Click to share on Facebook (Opens in new window)

Related

WordPress
0

marioernestoms

Post Navigation

Previous Article
Next Article

Recent Posts

  • WooCommerce – Block add to cart button
  • WooCommerce – Remove add to cart button
  • Ajax Login System with WordPress
  • How to install WordPress on VPS with SSH
  • Troubleshoot WordPress update failure message

Categories

  • HTML/CSS/JS
  • Servidores
  • WordPress
Recommended for you...

WordPress Theme one page scroll

by marioernestoms
Taxonomy Term field ACF
Recommended for you...

Taxonomy Term field ACF with WooCommerce categorys.

by marioernestoms
Recommended for you...

Learn to use Ajax in WordPress

by marioernestoms

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

© Copyright 2021 marioernestoms. All Rights Reserved. The Ultralight | Developed By Rara Theme. Powered by WordPress.