Title: Uploads directory.
Last modified: August 18, 2016

---

# Uploads directory.

 *  [dg77](https://wordpress.org/support/users/dg77/)
 * (@dg77)
 * [19 years, 12 months ago](https://wordpress.org/support/topic/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)

 *  [Kalli](https://wordpress.org/support/users/kalli/)
 * (@kalli)
 * [19 years, 3 months ago](https://wordpress.org/support/topic/uploads-directory/#post-405709)
 * Same here. I have my blog at mysite.net/wordpress and would like to have my images/
   uploads at mysite.net/globalimagedirectory
 * 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.
 *  [lelion](https://wordpress.org/support/users/lelion/)
 * (@lelion)
 * [19 years ago](https://wordpress.org/support/topic/uploads-directory/#post-405715)
 * I’d like the answer to that question, too.
 * I used in WP 2.05:
    `../directory_for_uploads`
 * …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:
 * `http://www.mydomain.com/../directory_for_uploads`
 * 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 [http://www.mydomain.com](http://www.mydomain.com),
   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:
 * [http://www.mydomain.com/wordpress-uploads/](http://www.mydomain.com/wordpress-uploads/)
 * and not in
    [http://www.mydomain.com/blog1/wp-uploads/](http://www.mydomain.com/blog1/wp-uploads/)
   and [http://www.mydomain.com/blog2/wp-uploads/](http://www.mydomain.com/blog2/wp-uploads/)
 * …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?
 *  [lelion](https://wordpress.org/support/users/lelion/)
 * (@lelion)
 * [19 years ago](https://wordpress.org/support/topic/uploads-directory/#post-405716)
 * 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)
    meant:
 * “Go one dir higher” so `../my-uploads/` correctly stored uploads in: [http://www.server.com/my-uploads/](http://www.server.com/my-uploads/)…
 * Now, since 2.1.x and higher, `../my-uploads/` still uploads everything in the
   correct dir on the server, but produces invalid URLs like:
    `www.server.com/../
   my-uploads/` …it’s even strange that they work…
 * Thx for any advice on that:)
 *  [lelion](https://wordpress.org/support/users/lelion/)
 * (@lelion)
 * [19 years ago](https://wordpress.org/support/topic/uploads-directory/#post-405717)
 * Anyone, any advice on that…? Please? 🙂
 *  [lelion](https://wordpress.org/support/users/lelion/)
 * (@lelion)
 * [19 years ago](https://wordpress.org/support/topic/uploads-directory/#post-405718)
 * ? 🙁

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Uploads directory.’ is closed to new replies.

## Tags

 * [path](https://wordpress.org/support/topic-tag/path/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 3 participants
 * Last reply from: [lelion](https://wordpress.org/support/users/lelion/)
 * Last activity: [19 years ago](https://wordpress.org/support/topic/uploads-directory/#post-405718)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
