Title: Multisite upload error/ fail
Last modified: August 21, 2016

---

# Multisite upload error/ fail

 *  [SeekerW](https://wordpress.org/support/users/seekerw/)
 * (@seekerw)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/multisite-upload-error-fail/)
 * I am having a problem with uploads on the whole multisite.
    The site contains:
   Mainsite and three subsites (as map, not domain)
 * When i upload a image, attachment of something it is showing in de media list,
   but the image is not viewable, also the link to image is not recognized. What
   do i need to do? Here is my (.htaccess)-file
 *     ```
       <IfModule mod_rewrite.c>
       RewriteEngine On
       RewriteBase /
       RewriteRule ^index\.php$ - [L]
   
       # uploaded files
       RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L]
   
       # add a trailing slash to /wp-admin
       RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]
   
       RewriteCond %{REQUEST_FILENAME} -f [OR]
       RewriteCond %{REQUEST_FILENAME} -d
       RewriteRule ^ - [L]
       RewriteRule  ^[_0-9a-zA-Z-]+/(wp-(content|admin|includes).*) $1 [L]
       RewriteRule  ^[_0-9a-zA-Z-]+/(.*\.php)$ $1 [L]
       RewriteRule . index.php [L]
       </IfModule>
       ```
   

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

 *  Thread Starter [SeekerW](https://wordpress.org/support/users/seekerw/)
 * (@seekerw)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/multisite-upload-error-fail/#post-4844413)
 * Like i told,
    i have one domain with network site actived and three child sites
   with pathfolder. AllowOverride is set off at hostingcompany. How can i get this
   working;
 * I need to upload files (pdf, doc(x) etc) and images, but it keeps failing.
    The
   files uploaded to the blog.dir folder and but not showing in media list. But 
   if i edit the image it shows. How is this possible??
 *  Moderator [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * (@ipstenu)
 * 🏳️‍🌈 Advisor and Activist
 * [11 years, 11 months ago](https://wordpress.org/support/topic/multisite-upload-error-fail/#post-4844554)
 * You say it’s failing. Do you mean WP gives an error? If so, what error?
 * Have you checked your server error logs?
 *  [Bertalan](https://wordpress.org/support/users/beged/)
 * (@beged)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/multisite-upload-error-fail/#post-4844559)
 * I have a same/similar problem:
 * finally I discovered that my old uploads are in
    uploads/sites/x/2014/04 etc 
   so in the new (3.5+) structure
 * however might be some plugin set the upload directory back to the
    blogs.dir/
   x/files/2014/04 etc as the media library also use this one I do not see the images…
 * how can I set back the upload dir according to 3.9 ? (uploads)
 *  Thread Starter [SeekerW](https://wordpress.org/support/users/seekerw/)
 * (@seekerw)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/multisite-upload-error-fail/#post-4844564)
 * No not failing the upload. It’s uploading, but not showing as a image.
    I checked
   out the folder on the webhost server. And it was uploaded to the folder; the 
   upload path in the settings says: wp-content/blogs.dir/2/files wp-content/blogs.
   dir/3/files wp-content/blogs.dir/4/files
 * And i have three childsites and a mainsite
 * I have a site on a domain in a subfolder under a subdomain.
    The mainsite is 
   running with another wp installation.
 * Therefore i created a subdomain and there i installed the wp multisite.
    example:
   domain.com -> normal wordpress installation sub.domain.com -> installation multisite(
   but in the root it is a folder) multisite folder: root\multisite\childsite
 * I tested through XAMPP localhost with WP multisite installatie and with same 
   idea. It get’s uploaded.
 *  [Bertalan](https://wordpress.org/support/users/beged/)
 * (@beged)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/multisite-upload-error-fail/#post-4844572)
 * as i understand so far the /blogs.dir/x is an old (<3.5) structure for multisite
   uploads, the new one is the uploads/sites
 * this is my idea that one of the plugin, (in my case most probably the Tribulant
   Slideshow dir check function) which is not compatible with >3.5 multi site changed
   back the upload directory settings to the old blogs.dir style
 * however the deactivating/uninstall the plugin is not enough as it made changes
   in the path settings… (in the data base?)
 * I am looking for how to set up the path for the upload and the media library,
   without success so far
 * I do not want to restore an older system from backup without this as I have some
   new users etc. (lessons learned: more frequent backup and backup before any new
   editing)
 *  Moderator [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * (@ipstenu)
 * 🏳️‍🌈 Advisor and Activist
 * [11 years, 11 months ago](https://wordpress.org/support/topic/multisite-upload-error-fail/#post-4844605)
 * Bertalan – You have a similar but separate issue. Please make your own post. 
   It’s too hard to debug two separate issues in one thread.
 * > No not failing the upload. It’s uploading, but not showing as a image.
 * So you get the broken image?
 * > sub.domain.com -> installation multisite (but in the root it is a folder)
 * What does that mean?
 * Where is multisite actually installed?

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

The topic ‘Multisite upload error/ fail’ is closed to new replies.

 * In: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
 * 6 replies
 * 3 participants
 * Last reply from: [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * Last activity: [11 years, 11 months ago](https://wordpress.org/support/topic/multisite-upload-error-fail/#post-4844605)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
