WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have moved my Wordpress site to a new host, because of performance problems on the old host.

I have updated wp-config.php with the new host's values, but when I try to delete a plugin from wp-admin, I receive

"Plugin could not be deleted due to an error: Unable to locate WordPress Plugin directory."

I have defined FTP_BASE correctly in wp-config.php.

Where else would I need to set the value of local file system root folder?

share|improve this question
Should we guess the plugin name? – Max Yudin Feb 12 '13 at 11:01
You could try. This error is not dependent on the plugin - it affects all plugins. – Steve Feb 14 '13 at 5:52

Create separate FTP user for WordPress and set your installation directory as FTP root. Or try to change it for existing user.

share|improve this answer

If you're using vsftpd, you can specify local root to your WP directory, aka:

sudo vim /etc/vsftpd/vsftpd.conf

and add the line:


and restart vsftpd for changes to take effect.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.