Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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
add comment

2 Answers

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:

local_root=/path/to/your/wordpress/

and restart vsftpd for changes to take effect.

share|improve this answer
add comment

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
add comment

Your Answer

 
discard

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.