Support » Fixing WordPress » Uploads directory.

  • Is there a way to change the upload directory so that it points to a directory at a higher level than the wordpress install?

    I tried ../directory_name/sub_directory, but that just appends “../directory_name/sub_directory” onto the existing wordpress path.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Same here. I have my blog at and would like to have my images/uploads at

    Is there any way of doing this?

    The reason I want to do this is because I used a one-click install my hosting service offers to install WordPress. With it follows a warning that when upgrading, all files in the directory will be deleted. With images in a different folder it will make my upgrading a zinch.



    I’d like the answer to that question, too.

    I used in WP 2.05:

    …after upgrading to WP 2.1x and 2.2x, this doesn’t work anymore, so now if I make the option ../directory_for_uploads, then what I see in the urls becomes something ugly like:

    Why did the model change after 2.1?

    How do we specify now a HIGHER-level dir for uploads?

    I tried everything, absolute paths starting with, server paths like “/home/myusername/”, I tried everything, nothing works, I can’t simply make the path to be one level higher than the wordpress dir :(((

    Reason I’d like this to work is that I run 2 blogs on one domain, and I want all uploads to be in the main dir, like:

    and not in

    …or something of the sort…

    Thx for any help!

    PS I can hack the WP files, but it’ll mean for me more difficult upgrades all the time, so a better solution is what I search for 🙂
    Otherwise… I guess, we’ll have to post a bug ticket somewhere?



    Anyone, some help on that, or… it’s hardcoded and now in WP 2.1.x and 2.2.x and above, we can’t anymore declare an directory for uploads which is ABOVE the wordpress dir?

    Is my only chance to file a ticket in the trac, or there’s some workaround?…

    I am sure that a lot of people use upload directories which are outside the WP install, so what do we do…?

    In 2.0.5 ../ (in options -> misc -> uploading)

    “Go one dir higher” so ../my-uploads/ correctly stored uploads in:

    Now, since 2.1.x and higher, ../my-uploads/ still uploads everything in the correct dir on the server, but produces invalid URLs like: …it’s even strange that they work…

    Thx for any advice on that:)



    Anyone, any advice on that…? Please? 🙂



    ? 🙁

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Uploads directory.’ is closed to new replies.