Wordpress asking me to install plugin ftp access or upload an image

Posted June 12, 2014 15.1k views
I know you've seen this question everywhere, well I'm not a novice at this, the truth that I know a little more. But so far I could not make or upload images wordpress install plugin without requesting my credentials, either ftp or ssh. (Putting my credentials, if you can) They have seen when a dropplet is created, there is an option that says "install wordpress on ubuntu 14.04", I tried this option and going great, installs and upload images from the best. How could you apply this setting in my wordpress? Do not want as it is in fact not know that you can, but I just want to let me upload files without any problem. Now tell me safe, it has to do with the keys, because when installing a wordpress dropplet installing automatic check on my panel and did not generate any type of key. How I can do to upload files without ask me establish my credentials without keys in digital ocean? I hope you can help They are infinitely grateful Thanks

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
3 answers
Hi @jhoedram! We wrote an article to address this issue. You can see instructions on how to set up your wordpress updates here:
by Justin Ellingwood
WordPress is the most popular content management system (CMS) on the web currently. While WordPress can be a great way to manage you content, there are some very insecure configurations that are given throughout the internet. This article will cover how to set up secure updates and installations using SSH keys instead of FTP, which is an inherently insecure protocol.

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.


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.

Use this code , wordpress asking for ftp details because wordpress doesn’t have permission to write in your server.
use these two commands in terminal.

$sudo a2enmod rewrite
$sudo chown -R www-data /var/www

video guide