WordPress files via FTP not visible on browser.

Hello all, this is a bit weird of an issue:

I installed WordPress from the Market Place and it is running very nice. I access via FTP or SSH and I don’t see any other than the wp-content folder: no wp-config.php, no wp-includes, no .htaccess, nothing but that folder. And inside that folder, only my custom built theme.

Weird, but, working nice until…

I’ve uploaded some images via FTP. The images are there and I can see them with the same permissions and groups than others, no difference. But if I access the images url, it throws a 404.

And I can see the file on the FTP via Filezilla or SSH.

The files are also 404 on the index, where I use them (Check the browser console).

So, no idea why do i have that 404, and no idea why there is no other file tha the ones in wp-content. I thought I could check on the .htaccess or wp-config, but they are not there.

Any idea anyone?


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

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.

Site Moderator
Site Moderator badge
September 29, 2023

Glad that this is sorted.

You can ensure the FileZilla or any other FTP client is pre-configured with the correct upload path. In this way that part of the upload is okay.

It’s not uncommon to enter the wrong path due to many reasons, so having it configured by default should shave some time.


Site Moderator
Site Moderator badge
September 29, 2023


So, your website shouldn’t be working only with a wp-content folder, it’s just not possible. Are you sure you are in the correct directory?

If you are not, check your Apache configuration file and see the DocumentRoot. There should be your website’s files. The Apache config for your website should be in the folder /etc/apache2/sites-enabled/

Additionally, I’ll recommend uploading the files from your wp-admin area rather than using SSH and FileZilla as you can mess some perms and ownership.

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

Featured on Community

Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.

Become a contributor

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow — whether you're running one virtual machine or ten thousand.

Learn more
DigitalOcean Cloud Control Panel