How To: Stop WordPress Asking For FTP details To Upgrade/Install Plugins and themes on macOS

Have you ever got the message Connection Information and a form is prompting you to enter FTP information when doing updates, delete, install new themes, or plugins? I usually get that message when I try to install new plugins and themes or update WordPress core, plugins, or themes after every new WordPress installation in my mac.  That was always annoying.

But after lots of research, I’ve found a simple solution to this problem.

Change the folder permission:

wp_Info1

  1. Right-click on the WordPress install folder and open the “Get Info” window from the menu.
  2. Unlock the by clicking on the “padlock” icon at the bottom of the window
  3. Set “Privilege” as “Read & Write” for all users under the Sharing & Permissions section
  4. Click the “Cog” icon and select “Apply to enclosed items“.
  5. Close the Info window

Update Wp-config.php File:

  1. Open your WordPress’s wp-config.php file
  2. Add this line code define('FS_METHOD', 'direct');
  3. Save file.

Now try to update or install again. Problem Solved?

I really hope that helps someone, I spent ages being confused over this “thing”! If you have any more details or information, or if this works for you, then please add a comment below.

About