Posted at January 24, 2010
Error message came up when my friend upload a photo :
The uploaded file could not be moved to xxxxxxx
Yes, it seem he change to new host and since wordpress automatically save old location to database the error show up.
Solution
Open Admin Page -> Settings -> miscellaneous

Make sure value of Store uploads in this folder set to wp-content/uploads
Click Save Changes and try upload photo again.
Everything should be OK now
Thanks for reading, if you think this post help you please consider to buy me a beerSearch Terms :
The uploaded file could not be moved towordpress The uploaded file could not be moved tothe uploaded file could not be moved to wordpresshas failed to upload due to an errorwordpress has failed to upload due to an errorhas failed to upload due to an error The uploaded file could not be moved toWordPress The uploaded file could not be movedhas failed to upload due to an error wordpressThe uploaded file could not be moved to the upload folderThe uploaded file could not be movedThe uploaded file could not be moved wordpressthe uploaded file could not be moved to wp-content uploadswordpress has failed to upload due to an error The uploaded file could not be moved toThe uploaded file could not be moved to /wp-content/uploadshas failed to upload due to an errorThe uploaded file could not be moved toThe uploaded file could not be moved to wp-content/uploadswordpress error The uploaded file could not be moved towordpress the uploaded file could not be moved to the upload folderwordpress failed to upload due to an errorUpload Error: The uploaded file could not be moved to
If you enjoyed this post, please consider to leave a comment or subscribe to the feed and get future articles delivered to your feed reader.
Comments
3 Responses to “WordPress error: The uploaded file could not be moved to”
Leave Comment
This is the basic solution but after the change of directory most frequently the upload still fails until you change the permissions for the directory to 777 (open to anyone to write to the directory). This is a security weakness and should be avoided. I can’t find any information that suggests a more secure alternative. I think this is a issue WordPress should address to avoid the security risk.
I’d just like to add that with my server WordPress kept creating the upload directory if it was not present. I would set permissions to 777 and no go, errors as above.
No errors showed up in the server logs.
owner and group of the WP-created uploads folder was apache, but all other folders and directories had a different owner and group. So I used my server control panel to create the uploads directory, then set permissions once again, and this time it worked.
My ftp software (“Transmit”) could show me the owner and group of a folder but not change it. I succeeded when I deleted the one WP created and made a new empty upload folder in it’s place, then set permissions on it to 777.
I hope that helps anyone who is getting the same thing
Oh and I did do the solution as shown in the article first, so I expect that is a required step as well as the additional steps I took.
Thank you. I recently just moved my WP blog to a new host and was wondering the content upload path was that of the old host.
Stuart