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.
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.
Jens has been running the blog since 2012. He acts as Sir Apfelot for his readers and helps them with technical problems. In his spare time he rides electric unicycles, takes photos (preferably with the iPhone, of course), climbs around in the Hessian mountains or hikes with the family. His articles deal with Apple products, news from the world of drones or solutions to current bugs.
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.
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.