I installed WordPress on my virtual machine. I connected it using SSH. I'm trying to install new template using WordPress Admin. When I click to download, it redirects me to FTP connection page.

I'm able to connect my machine using FileZilla and create/delete directory (permissions are OK). But, when I'm trying to connect using WordPress, I get error like unable to locate wordpress content directory (wp-content)

I googled and researched definitely and I tried all advice, but I could not find any solution. Can you help me?

Also, I tried to upload my theme using FileZilla, and I did. Although my theme is uploaded, it was not seen on Themes.

  • "when I'm trying to connect using WordPress" - you mean the FTP connection page from inside WordPress? I'd guess then you're not giving it the correct path to the WordPress installation in the FTP details.
    – Rup
    Aug 16, 2016 at 13:34
  • Yes, I mean the FTP connection page from inside WordPress. How can I check FTP details in WordPress?
    – Jack Brown
    Aug 16, 2016 at 13:48

1 Answer 1


It should be related to folder permissions check the codex here it shows how to set directory permissions: https://codex.wordpress.org/Changing_File_Permissions

  • As I said above, permissions are OK. Its not related to them.
    – Jack Brown
    Aug 16, 2016 at 13:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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