Can I install/update WordPress plugins without providing FTP access?

wordpress installation failed: could not create directory.
update wordpress without ftp
install wordpress plugin without ftp
wordpress install plugin manually
update wordpress ftp
stop wordpress asking ftp credentials
wordpress permissions
wordpress needs ftp to update plugins

I am using WordPress on my live server which only uses SFTP using an SSH key.

I want to install and upgrade plugins, but it appears that you are required to enter your FTP login to install the plugins. Is there a way to install and upgrade plugins by manually uploading the files instead of having WordPress handle the entire process?


How to Update WordPress Automatically Without Using FTP [Quicktip], WordPress will only prompt you for your FTP connection information while trying to install plugins or a wordpress update if it cannot write to /wp-content directly. Sometimes you can’t update your WordPress and plugins without using an FTP account. This usually happens when WordPress can’t directly communicate with your /wp-content folder. Even if this happens to you, there are certain ways that you can bypass this issue and modify WordPress without FTP access.


As stated before none of the perm fixes work anymore. You need to change the perms accordingly AND put the following in your wp-config.php:

define('FS_METHOD', 'direct');

Install WordPress Plugins without FTP Access, Auto-Install Applications > Wordpress plugins to a newer version without providing your FTP connection information. This is a common issue whereby the WordPress system can't write to 'wp-settings.php'); /** Sets up 'direct' method for wordpress, auto update without ftp */ define('FS_METHOD','direct');. If you are not able to update/upgrade your WordPress and plugins to a newer version without providing your FTP connection information. This is a common issue whereby the WordPress system can’t write to your /wp-content folder directly. What's the problem WordPress will only prompt you for your FTP connection information while trying to install plugins or a WordPress update if it cannot write to /wp-content directly.


Just wanted to add that you must NEVER set the wp-content permission or permission of any folder to 777.

This is what I had to do to:

1) I set the ownership of the wordpress folder (recursively) to the apache user, like so:

# chown -R apache wordpress/

2) I changed the group ownership of the wordpress folder (recursively) to the apache group, like so:

# chgrp -R apache wordpress/

3) give owner full privilege to the directory, like so:

# chmod u+wrx wordpress/*

And that did the job. My wp-content folder has 755 permissions, btw.

TL;DR version:

# chown -R apache:apache wordpress
# chmod u+wrx wordpress/*

How to Update WordPress Automatically Without Using FTP, How to install Wordpress plugins and themes without FTP credentials. Get updates via: rss | twitter | email install a new theme or a plugin, you will find Wordpress asking for FTP credentials. In order to install directly the themes or plugins without the need to provide FTP user and password to Wordpress,  WordPress will ask you for FTP credentials while installing updates or plugins only if it finds /wp-content directory write protected, that means WordPress don’t have write permissions to the directory. Otherwise if it has write permission to necessary file and folder it will install without prompting for the FTP information.


  1. In wp-config.php add define('FS_METHOD', 'direct');
  2. Make server writable the directories wp-content/, wp-content/plugins/.
  3. Install the plugin (copy the plugin dir into the wp-content/plugins dir).

Worked on version 3.2.1

How to Edit wp-config.php File in WordPress Without FTP, Install & update WordPress plugins without FTP [Quick Tip] This method does not require you to have FTP/SFTP or SSH access, but it does require Don't hesitate to give the comments below if you have any questions. WordPress will only prompt you for your FTP connection information while trying to install plugins or a WordPress update if it cannot write to /wp-content directly. Otherwise, if your web server has write access to the necessary files, it will take care of the updates and installation automatically.


open wp-config.php file and add the following line:

define('FS_METHOD', 'direct');

this is working for me ...Thanks

What is FTP? How to Use FTP to Upload WordPress Files, WordPress will only prompt you for your FTP connection information while trying to install plugins or a WordPress update if it cannot write to  So in some cases, you are not able to update/upgrade your WordPress and plugins to a newer version without providing your FTP connection information. This is a common issue whereby the WordPress system can’t write to your /wp-content folder directly.


Let Wordpress users install plugins and themes without FTP , When I am trying to install a new theme, it is asking for FTP so that Wordrpess can update and/or install plugins without requiring FTP credentials. WordPress usually asks for your FTP credentials when it can't access the files We use cookies to provide our services and for analytics and marketing. Now I'm in Appearance > Themes > Add > New/Upload Theme. WordPress wants an FTP access. Well, I'm at my local machine and no FTP server is listening the port 21. I'm inspired by this post: Can I install/update WordPress plugins without providing FTP access? So, they say that after granting write permissions, no FTP prompt will appear.


Install & update WordPress plugins without FTP [Quick Tip] – Tomiup, wordpress is requiring FTP credentials before installing plugin side or you can simply login to your admin and then after you can install the plugin from plugin  WordPress.com users cannot install plugins unless they upgrade to the business plan which costs about $299 per year. If you are on a free, personal, or premium plan, then you cannot install third-party plugins. If you don’t want to pay the $299 per year, then you can move your blog from WordPress.com to WordPress.org.


How to install/update WordPress plugins without providing FTP access, Sometimes you can't update your WordPress and plugins without using an FTP account. certain ways that you can bypass this issue and modify WordPress without FTP access. update WordPress and all the plugins you have installed. your WordPress without ever having to provide any FTP details. Sometimes the 1-click WordPress plugin update fails which can break your website. The only way to fix that is by manually updating the plugin. In this article, we will show you how to manually update WordPress plugins via FTP without breaking your website. Why Update WordPress Plugins Manually?