Subscribe:     Subscribe by Email  Subscribe by Twitter  Subscribe by Facebook

Fix for WordPress Image Upload Issue

wordpress-logoBloggers with self-hosted WordPress blogs must have come across an issue where when you try to upload an image or any media using the uploader in WordPress, and WP fails to move the file to your ‘uploads’ directory.

This issue is quite common in WordPress 2.5 and onwards and reasons are still unknown. Sometimes it gets fixed by giving the 0777 file permissions to all files and folders in the uploads directory, sometimes it doesn’t.

I have compiled a list of few fixes that are known to fix the following error WP error.

“The uploaded file could not be moved to /home/abc/public_html/yoursite.com/wp-content/uploads.”

Method 1: From your WordPress, go to Settings > Miscellaneous. There you will see the text box for “Store uploads in this folder”. By default you should have “wp-content/uploads” entered there. If this is your ‘uploads’ folder, then try leaving the text box blank (for the default value) or enter the default value if it doesn’t have anything in it.

Method 2: Another way is to CHMOD all the folders in your uploads directory to 0777. This is just a temporary fix and won’t be of any use later. You will have to CHMOD the folder again next month.

Method 3: You can also try making a new ‘uploads’ directory. You can name the new one with something like ‘uploads’2 or anything similar and change the uploads directory location (as told in Method 1). Don’t rename the old ‘uploads’ directory, because if you do, all the previously images will break and I’m sure you wouldn’t want to edit each of your posts again.

Remember to CHMOD the ‘wp-content’ folder to 0755 and the ‘upload’ folder to 0777. I’m sure this would fix the uploading issue, but still there are no confimartions that these work for all. It may or may not work for you.

If you have any other fixes to get rid of this WP error, then do drop in a comment below and tell. I’ll include it here with the other methods.

If you enjoyed this post, you might want to subscribe our RSS feed or become our Facebook fan! You will get all the latest updates at both the places.

Related Posts

Comments

blog comments powered by Disqus

© 2009 Sizzled Core. All Rights Reserved.

Content licensed under Creative Commons.  |  page counter