Last Updated: February 25, 2016
·
1.516K
· arnonate

Wordpress wp-config local dev FTP file permissions

I have encountered problems downloading and installing plugins and themes in a WP local dev environment. This can easily be fixed by adding one small line of code to the wp-config file...

define('FS_METHOD', 'direct');

Defines the method by which files are served, evidently "Direct" is not the default method used by Wordpress.

Have a fresh tip? Share with Coderwall community!

Post
Post a tip
Did you know?

WordPress sites collect scripts from themes, plugins, and tag managers. A compromised plugin update can add a skimmer to every page without a change in your own templates.

Security insights from Cside