Where to located WordPress Folder in Server

Posted December 8, 2020 1.6k views
Building on DigitalOcean

I have updated my child theme file via Wordpress which has caused an error with WordPress “There has been a critical error on your website.”

I want to amend this file via accessing the server via Fillezilla, but I can’t locate my wordpress folder anywhere?

I installed Wordpress using Easy Engine if that makes a difference.

It is not in any of the usual place - var/www

Many thanks for anyone that can help, I lost all the dev work ive done otherwise.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
2 answers

Hi @JJD,

If it’s not in the /var/www folder then I would suggest checking your Nginx configuration. I haven’t used EasyEngine but according to Google it says it’s using Nginx. This means that you have an /etc/nginx folder.

What you can do in there is check the folder /etc/nginx/sites-available. In there you should have a .conf named after your domain. Inside if you check the file, you should be able to see a DocumentRoot variable. In there you should be able to see the path to your website.


  • Hi @KFSys,

    Thanks for such a quick response, you are correct that it is setup using Nginx, but there is no such folder within that directory =/

    • @KFSys got it!

      Ended up creating a fresh droplet and creating a fresh install of wordpress using easy engine to see where it was store.

      For future reference for people you can find your WordPress site (if installed using Easy Engine) here -

      Site Root | /opt/easyengine/sites/

      • Hi @JJD,

        That’s really weird the folder was not actually available. Can you send the tutorial which you used or the resources you used to create your droplet so that I can further investigate?

        I’m really curious as to where Nginx is installed and files stored.

        Looking forward to your reply!

To upload the WordPress files to your host, return to the folder on your computer where you unpacked the WordPress software that you should already have downloaded. Using your FTP client, connect to your web server and upload all these files into the root directory of your hosting account.