WordPress.org

Ready to get started?Download WordPress

Forums

Problem uploading photo (2 posts)

  1. kaibawhite
    Member
    Posted 1 year ago #

    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.

  2. pwhstacy
    Member
    Posted 1 year ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic