• TessaFortyfive

    (@tessafortyfive)


    This seems to be a common problem but I haven’t found what seems like the right answer.

    I’ve just transferred our site from a local server to online. Since being live, I can’t upload images – I get the error message: ‘The uploaded file could not be moved to wp-content/uploads’.

    If I go into the FTP client and change the permission of wp-content/uploads to 777, it works, which is great, but it seems that this is very insecure so I don’t want to leave it like that. I have tried to upload an image to ‘train’ it and then change the permission back to 755 as suggested in one of the forums, but it goes back to not working.

    What can I do? I have tried 755, 766, 744, 644… (I tried this tutorial https://www.wpbeginner.com/wp-tutorials/how-to-fix-image-upload-issue-in-wordpress/ but ended up with all the images going blank until I changed them back to 755 – very stressful!)

    I would really appreciate some expertise on this one –?thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • ShaunG

    (@shaung)

    It might be a problem with the assigned owner of the folder, especially if you went from a local windows server to a unix based server. Try to rename wp-content/uploads to wp-content/uploads_old (so you dont loose your old files, if there are any) then create a new uploads folder and chmod it to 775 and see if it works.

    Thread Starter TessaFortyfive

    (@tessafortyfive)

    Thanks for the suggestion – unfortunately that didn’t seem to change anything (other than some of the images disappeared from the site). I still get the error message and can’t upload any images.

    Does it make a difference that the index.php file in wp-contents is set to 644? I don’t know what that one means!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Error uploading images (unable to move to wp-content/uploads)’ is closed to new replies.