I was not able to upload images to my wordpress post after i transferred my entire wordpress to a new host. The error returned was
“Unable to create directory /blog/wp-content/uploads/2010/xx. Is its parent directory writable by the server?”
Tried changing the permission of the wp-content folder and its subdirectories to
775 and then to
[jaguars]$ chmod -R 775 wp-content/ ...... ...... [jaguars]$ chmod -R 777 wp-content/
But both didnt work..
The wordpress upload folder was set to /blog/wp-content/uploads in the Settings > Miscellaneous
Changed this to blog/wp-content/uploads (removed the ‘/’ before blog)
Now uploading works, but still there was a problem. The files are uploaded and saved to new folder /blog/blog/wp-content/uploads [two ‘blog‘ in the path.]
Finally, changed the upload folder to wp-content/uploads in the Settings > Miscellaneous
Everything works perfect now.
I changed back the permission setting to
[jaguars]$ chmod -R 755 wp-content/
I guess the misconfiguration happend because, in my earlier installation, wordpress was installed into root. and in here to the /blog directory.