WordPress.org

Support

Support » How-To and Troubleshooting » Problem uploading photo

Problem uploading photo

  • When I try to upload a photo to the post I’m writing by clicking on the Upload/Insert “Add Media” button, I’m having trouble. I browse and select the photo, it appears to be uploading and then it gives me this message:

    “IMG_3001.JPG” has failed to upload due to an error
    Unable to create directory uploads/2012/10. Is its parent directory writable by the server?

    Any help would be very welcome!

    Thank you.

Viewing 1 replies (of 1 total)
  • Login to your Blog as admin, go to Miscellaneous under Settings.

    You’ll find the option “Store uploads in this folder” Set it to default which is “wp-content/uploads“, unless u specifically want the content in some other folder.

    This should solve your problem !

    There is a more complicated way of changing the file upload path of your wordpress blog, this is recommended only for those who know how to handle wp-config file !

    For this you’ll have to modify wp-config.php file. Add below mentioned code before

    require_once(ABSPATH.’wp-settings.php’); code in your wp-config file

    define(‘UPLOADS’, ‘wp-content/new_folder’);

    Once you save this new configuration all your uploaded files will go to the ‘new_folder’ under wp-content directory.

Viewing 1 replies (of 1 total)
  • The topic ‘Problem uploading photo’ is closed to new replies.