How to fix problems with updating WordPress Plugins

Getting the WordPress error Unable to locate WordPress Content directory (wp-content) when trying to update Themes or Plugins? Here is the solution:

  1. Via FTP, open the wp-config.php file.
  2. Add the following to the end of wp-config.php (change the ftp and path details as needed):
    define(‘FS_METHOD’, ‘ftpsockets’);
    define(‘FTP_BASE’, ‘/public/www/’);
    define(‘FTP_CONTENT_DIR’, ‘/public/www/wp-content/’);
    define(‘FTP_PLUGIN_DIR ‘, ‘/public/www/wp-content/plugins/’);
    define(‘FTP_HOST’, ‘’);
    define(‘FTP_USER’, ‘ftpuser’);
    define(‘FTP_PASS’, ‘p855w0rd’);
    define(‘FTP_SSL’, false);
  3. Save the changes.
Australian WordPress Specialist

Australian WordPress Specialists.

OrganicWeb provides leading WordPress solutions. Specialities include developing high converting Websites built with SEO from the ground up. Contact us to get more customers from your Website.

Speak Your Mind

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

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>