Title: Broken Image/media
Last modified: August 19, 2016

---

# Broken Image/media

 *  [scherschels](https://wordpress.org/support/users/scherschels/)
 * (@scherschels)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/broken-imagemedia/)
 * Right now I am running a wordpress network with around 300 blogs. All except 
   the main blogs images are broken. They upload to the correct folder in blog.dir
   but they do not show up. I am able to see images on the main site but that is
   all. Here is my .htaccess file
 *     ```
       RewriteEngine On
       RewriteBase /
   
       #uploaded files
       RewriteRule ^(.*/)?files/$ index.php [L]
       RewriteCond %{REQUEST_URI} !.*wp-content/plugins.*
       RewriteRule ^(.*/)?files/(.*) wp-includes/ms-files.php?file=$2 [L]
   
       # add a trailing slash to /wp-admin
       RewriteCond %{REQUEST_URI} ^.*/wp-admin$
       RewriteRule ^(.+)$ $1/ [R=301,L]
   
       RewriteCond %{REQUEST_FILENAME} -f [OR]
       RewriteCond %{REQUEST_FILENAME} -d
       RewriteRule . - [L]
       RewriteRule  ^([_0-9a-zA-Z-]+/)?(wp-.*) $2 [L]
       RewriteRule  ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
       RewriteRule . index.php [L]
   
       <IfModule mod_security.c>
       <Files async-upload.php>
       SecFilterEngine Off
       SecFilterScanPOST Off
       </Files>
       </IfModule>
       ```
   
 * Any one have any ideas?

Viewing 15 replies - 1 through 15 (of 31 total)

1 [2](https://wordpress.org/support/topic/broken-imagemedia/page/2/?output_format=md)
[3](https://wordpress.org/support/topic/broken-imagemedia/page/3/?output_format=md)
[→](https://wordpress.org/support/topic/broken-imagemedia/page/2/?output_format=md)

 *  Moderator [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * (@ipstenu)
 * 🏳️‍🌈 Advisor and Activist
 * [15 years, 5 months ago](https://wordpress.org/support/topic/broken-imagemedia/#post-1843360)
 * Did you upgrade from WPMU? There’s a lot out of date there…
 * There are now different .htaccess’ to use, if you’re using SubFolder or SubDomain
   installs [http://codex.wordpress.org/Create_A_Network#.htaccess_and_Mod_Rewrite](http://codex.wordpress.org/Create_A_Network#.htaccess_and_Mod_Rewrite)
 *  Thread Starter [scherschels](https://wordpress.org/support/users/scherschels/)
 * (@scherschels)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/broken-imagemedia/#post-1843370)
 * Yes it was from WPMU 2.8 but everything was ok at 3.0.1 but once it went to 3.0.3
   they broke. I also had some server issues that corrupted some of my database.
   I think I have everything in the database repaired but still not sure if it is
   a database or a .htaccess issue.
 *  Thread Starter [scherschels](https://wordpress.org/support/users/scherschels/)
 * (@scherschels)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/broken-imagemedia/#post-1843371)
 * I am also using subfolders
 * [http://blogs.wws.k12.in.us](http://blogs.wws.k12.in.us)
 * the blogs in the are all effected.
 *  [Andrea Rennick](https://wordpress.org/support/users/andrea_r/)
 * (@andrea_r)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/broken-imagemedia/#post-1843382)
 * > everything was ok at 3.0.1 but once it went to 3.0.3 they broke
 * This would be the kicker here. The rewrite rules should not have been affected.:-/
 * I’d be double-checking those db issues to see if anything affecting images was
   related to it first.
 *  Moderator [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * (@ipstenu)
 * 🏳️‍🌈 Advisor and Activist
 * [15 years, 5 months ago](https://wordpress.org/support/topic/broken-imagemedia/#post-1843391)
 * Since the .htaccess is a brainless fix I’d start with this:
 *     ```
       # BEGIN WordPress
       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]
       # END WordPress
   
       <IfModule mod_security.c>
       <Files async-upload.php>
       SecFilterEngine Off
       SecFilterScanPOST Off
       </Files>
       </IfModule>
       ```
   
 * I mean, I doubt it’ll fix it, but it WILL be somewhat more efficient, and then
   you can narrow it all down.
 *  Thread Starter [scherschels](https://wordpress.org/support/users/scherschels/)
 * (@scherschels)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/broken-imagemedia/#post-1843395)
 * Thanks Ipstenu you were right nothing really changed. Are there specific tables
   or records I should be looking at in the database.
 *  Thread Starter [scherschels](https://wordpress.org/support/users/scherschels/)
 * (@scherschels)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/broken-imagemedia/#post-1843400)
 * Something also weird is that pdf files that are uploaded to media are showing
   up and so are powerpoints.
 *  Thread Starter [scherschels](https://wordpress.org/support/users/scherschels/)
 * (@scherschels)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/broken-imagemedia/#post-1843673)
 * Does anyone know Why Power Points and PDF’s would work but not images?
 *  Thread Starter [scherschels](https://wordpress.org/support/users/scherschels/)
 * (@scherschels)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/broken-imagemedia/#post-1843699)
 * The image does not load like this and this is the address wordpress creates.
 * [http://blogs.wws.k12.in.us/wordpress/files/2010/11/banner2.jpg](http://blogs.wws.k12.in.us/wordpress/files/2010/11/banner2.jpg)
 * but it will using this link do I need to change something somewhere.
 * [http://blogs.wws.k12.in.us/wordpress/wp-content/blogs.dir/371/files/2010/11/banner2.jpg/](http://blogs.wws.k12.in.us/wordpress/wp-content/blogs.dir/371/files/2010/11/banner2.jpg/)
 *  Moderator [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * (@ipstenu)
 * 🏳️‍🌈 Advisor and Activist
 * [15 years, 5 months ago](https://wordpress.org/support/topic/broken-imagemedia/#post-1843704)
 * Interesting. I get a blank page and NOT a 404.
 * Can you verify that /wp-includes/ms-files.php exists?
 *  [iwese](https://wordpress.org/support/users/iwese/)
 * (@iwese)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/broken-imagemedia/#post-1843706)
 * I have the same problem with the image-upload since i updated to 3.0.3. An example
   is: [http://bloggat.me/?attachment_id=245](http://bloggat.me/?attachment_id=245)
   all the images will now be shown as that. Why? And what should i do?
 *  Thread Starter [scherschels](https://wordpress.org/support/users/scherschels/)
 * (@scherschels)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/broken-imagemedia/#post-1843712)
 * Just looked for it and yes it is in there.
 *  Thread Starter [scherschels](https://wordpress.org/support/users/scherschels/)
 * (@scherschels)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/broken-imagemedia/#post-1843713)
 * Iwese yeah looks like the exact same issue. too strange.
 *  [iwese](https://wordpress.org/support/users/iwese/)
 * (@iwese)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/broken-imagemedia/#post-1843714)
 * I just wanted to add that ive tested everything that you said above.
 *  [iwese](https://wordpress.org/support/users/iwese/)
 * (@iwese)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/broken-imagemedia/#post-1843717)
 * Just wanted to tell that i solved a problem, i diabled all the pugins and it 
   was evDbFiles that made it go weird.

Viewing 15 replies - 1 through 15 (of 31 total)

1 [2](https://wordpress.org/support/topic/broken-imagemedia/page/2/?output_format=md)
[3](https://wordpress.org/support/topic/broken-imagemedia/page/3/?output_format=md)
[→](https://wordpress.org/support/topic/broken-imagemedia/page/2/?output_format=md)

The topic ‘Broken Image/media’ is closed to new replies.

 * In: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
 * 31 replies
 * 6 participants
 * Last reply from: [ttoine](https://wordpress.org/support/users/ttoine/)
 * Last activity: [15 years, 5 months ago](https://wordpress.org/support/topic/broken-imagemedia/page/3/#post-1843834)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
