Wordpress upload error: The uploaded file could not be moved to uploads.

Wordpress rights when uploading to 777

Sometimes you get an error message when uploading photos after creating a new Wordpress blog. Wordpress reports, for example, "The uploaded file could not be moved to uploads.". The reason for this is that the upload script does not have permission to create this folder or create a file in the uploads folder. As a rule, the SafeMode setting is then set to “on” at the hoster.

Wordpress rights when uploading to 777
In Transmit on the Mac, you can assign the rights for the folder in this info window.

However, the solution to this problem can easily be done with an FTP program like CyberDuck or Transmit on Mac. Windows users are more likely to use Win-FTP. It doesn’t matter which FTP program you use: you navigate to the WordPress folder on the server and then to “wp-content”. There should be an “uploads” folder in there. Now select this folder and call up the information about this folder. With Transmit, this works with the key combination CMD and I.

This information window shows, among other things, the rights for this folder (user/group/all). Here we select 777 - as a tick in all areas - and click on "Apply to contained". This not only provides the uploads folder with the new rights, but also all files and folders in it. This is important if you file your files in month-based folders.

Now try it again. If everything is set correctly, the upload should now work without an error message.


Did you like the article and did the instructions on the blog help you? Then I would be happy if you the blog via a Steady Membership would support.

2 comments on "Wordpress upload error: The uploaded file could not be moved to uploads."

  1. Seriously, 777? The fact that this is absolutely unsafe should not go unmentioned here. I find it critical to give such tips the newbies then google and then wonder about hacks afterwards.

    1. Hello Bernhard! Thank you for your hint. What would be the way to get it working again safely? Most hostings hardly allow any setting options and changing the rights to 777 was the only thing that helped me. But I am open to any other path that also leads to the goal and is still safe.

Post a comment

Your e-mail address will not be published. Required fields are marked with * marked

In the Sir Apfelot Blog you will find advice, instructions and reviews on Apple products such as the iPhone, iPad, Apple Watch, AirPods, iMac, Mac Pro, Mac Mini and Mac Studio.