WordPress 3.8: unable to locate wordpress content directory (wp-content) WordPress 3.8: unable to locate wordpress content directory (wp-content) wordpress wordpress

WordPress 3.8: unable to locate wordpress content directory (wp-content)


Adding this line to my wp-config.php worked.

define('FS_METHOD', 'direct');

I have a local development environment on an Ubuntu server.


Try adding this line into your wp-config.php, it works for me

define('FS_METHOD', 'ftpsockets');define('FTP_BASE', 'xxx');

Replace the xxx with your ftp home path e.g /opt/htdocs/wordpress


Try this one:)

//* FTP Settings **//** wp-content path */define('FS_METHOD', 'ftpext');define('FTP_BASE', '/');define('FTP_CONTENT_DIR', '/wp-content/');define('FTP_PLUGIN_DIR', '/wp-content/plugins/');define('FTP_USER', 'testdomain4.com');define('FTP_PASS', 'XXXXXXXXXXXX');define('FTP_HOST', 'ftp.enterpriseit.us');define('FTP_SSL', false);

see http://codex.wordpress.org/Editing_wp-config.php