Title: Multisite upload path
Last modified: August 20, 2016

---

# Multisite upload path

 *  [Ooypunk](https://wordpress.org/support/users/ooypunk/)
 * (@ooypunk)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/multisite-upload-path/)
 * Can someone explain the meaning of the following settings?
    – Upload Path – Upload
   Url Path – Fileupload Url
 * The reason I ask is this:
    On my multisite setup, on the third blog I changed
   Upload Path to ‘wp-content/blogs.dir/3/images’, but when I upload a new image,
   it still is saved into wp-content/blogs.dir/3/files. Furthermore, when I change
   both Upload Url Path and Fileupload Url (can someone explain the difference?)
   to [http://blog3.domain.com/images](http://blog3.domain.com/images), it can’t
   the files. And yes, I changed the .htaccess accordingly.
 * Is this a bug, or am I not using the correct settings?

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

 *  Moderator [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * (@ipstenu)
 * 🏳️‍🌈 Advisor and Activist
 * [13 years, 7 months ago](https://wordpress.org/support/topic/multisite-upload-path/#post-3118134)
 * Why are you trying to change the location of file uploads? What’s the end goal
   with this?
 *  Thread Starter [Ooypunk](https://wordpress.org/support/users/ooypunk/)
 * (@ooypunk)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/multisite-upload-path/#post-3118135)
 * We no longer desire to change to location of the uploads, but the other question
   remains. My boss requires files to be in the /images directory (so domain.com/
   images), because all our other sites have the files in /images.
 *  Moderator [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * (@ipstenu)
 * 🏳️‍🌈 Advisor and Activist
 * [13 years, 7 months ago](https://wordpress.org/support/topic/multisite-upload-path/#post-3118137)
 * > My boss requires files to be in the /images directory (so domain.com/images),
   > because all our other sites have the files in /images.
 * That would be called ‘Changing the location of file uploads’
 * WordPress uses /files/ instead of /images/ and … there isn’t a great way to do
   this (and actually I strongly suggest you not, unless there’s a compelling code
   reason). I would go back and tell my boss that the standard is /files/ because
   you may not always upload images.
 *  Thread Starter [Ooypunk](https://wordpress.org/support/users/ooypunk/)
 * (@ooypunk)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/multisite-upload-path/#post-3118138)
 * I may have found a workaround, I would like to hear your opinion on this.
 * 1. I changed `RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L]` into`
   RewriteRule ^images/(.+) wp-includes/ms-files.php?file=$1 [L]`
    This way WP can
   still distinguish the files of separate blogs, and we get our /images directory(
   virtually). 2. As changing Fileupload Url does nothing (*), I dug in and put 
   this in functions.php:
 *     ```
       function filter_attachment_url($url=""){
       	$url = str_replace('/files/', '/images/', $url);
       	return $url;
       }
       add_filter('wp_get_attachment_url','filter_attachment_url');
       ```
   
 * (*) I still think having options in the settings that don’t work is a bit silly.
 *  Moderator [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * (@ipstenu)
 * 🏳️‍🌈 Advisor and Activist
 * [13 years, 7 months ago](https://wordpress.org/support/topic/multisite-upload-path/#post-3118140)
 * They do work, just not the way you’re thinking they do.
 *  Thread Starter [Ooypunk](https://wordpress.org/support/users/ooypunk/)
 * (@ooypunk)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/multisite-upload-path/#post-3118154)
 * Could you enlighten me, please?

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

The topic ‘Multisite upload path’ is closed to new replies.

## Tags

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

 * In: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
 * 6 replies
 * 2 participants
 * Last reply from: [Ooypunk](https://wordpress.org/support/users/ooypunk/)
 * Last activity: [13 years, 7 months ago](https://wordpress.org/support/topic/multisite-upload-path/#post-3118154)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
