Support » Fixing WordPress » Uploading an image not working

  • Resolved cafeyak


    I’m new to WP but everything was smooth until I got to image upload. I’m getting a message: “

    Unable to create directory wp-content/uploads/. Is its parent directory writable by the server?

    ” I saw similar question in the forum from years ago but the suggested resolutions (making the change on Miscellaneous which I don’t have or changing permissions to 777 which my passive FTP won’t allow) didn’t work. I did create the “uploads” directory under wp-content but that didn’t improve things.
    Any solutions? Is there something I can do or my host can help with?
    Note, I’m moving my existing Dreamweaver-built site to WordPress, so I have all my images in another folder already. Is there a way to direct the upload to pick from there (instead of uploading images to WP which is what I’m trying to do now)?
    Thanks in advance!!!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Do you have cPanel access to your domain? Your host would have provided you the login information to your control panel.
    You just need to move to the Uploads folder and give it proper permissions. Give it 777 to try and if it works, bring it down to 755.

    You should ask your Host’s support team if you aren’t able to solve it yourself.

    I do have access to Cpanel but it doesn’t allow the change of permissions – will check with the host.
    Do you know about moving the images from the entire folder or redirecting the upload to pick up images from a different folder?

    Well, that sounds strange. I’ve not heard of a host that doesn’t allow you to even CHMOD your files. Are you sure? You should really check out with host’s support about why is it so.

    For your other query, yes there is a way to change the uploads folder, but i think you’ll be again struck with the problem of improper permissions. However, if you still wanna try, you just need to edit the wp-config.php file found in the root of your blog.
    Add the following code at the end of the file:
    define( 'UPLOADS', '/blog/wp-content/uploads' );

    Change /blog/wp-content/uploads to whichever folder you wanna set as WordPress’s uploads folder. Make sure that the folder or subfolder should be in the same directory as your blog. Else you need to use the full filsystem path name beginning with localhost.

    Thank you. I was able to make the change in C-Panel and it works perfectly! Thanks for advice on the folder!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Uploading an image not working’ is closed to new replies.