I run apache2 on Ubuntu, i’m sure there is a configuration or permission problem causing this. When I attempt to update plugins through the admin control panel, after I enter the FTP login/pass and click Proceed. I get the error “Unable to locate WordPress Content directory (wp-content).”

And wp-content does exist and have proper permissions from the default install.

4 s
4

I ended up using code from this post on WordPress.org

Place this into my wp-config.php file

if(is_admin()) {
    add_filter('filesystem_method', create_function('$a', 'return "direct";' ));
    define( 'FS_CHMOD_DIR', 0751 );
}

Leave a Reply

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