Title: Problem displaying image multisite
Last modified: August 20, 2016

---

# Problem displaying image multisite

 *  [sebastien2020](https://wordpress.org/support/users/sebastien2020/)
 * (@sebastien2020)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/problem-displaying-image-multisite/)
 * Hello,
 * Here is my problem, I have a network with two different blogs.
 * When I try to add an image, the image is not displayed. (see below)
 * [http://rankdatingsite.com/](http://rankdatingsite.com/)
 * link to image not found : [http://rankdatingsite.com/files/2013/03/choisir_site_de_rencontre1-150×150.jpg](http://rankdatingsite.com/files/2013/03/choisir_site_de_rencontre1-150×150.jpg)
 * Do I have to change the upload url path ? Or is there another solution ?
 * Thanks

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

 *  [derrick_w](https://wordpress.org/support/users/derrick_w/)
 * (@derrick_w)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/problem-displaying-image-multisite/#post-3602917)
 * Did you search the forum using your/this topic title?
 *  Thread Starter [sebastien2020](https://wordpress.org/support/users/sebastien2020/)
 * (@sebastien2020)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/problem-displaying-image-multisite/#post-3602946)
 * Yes, I tried some of the solutions that I found but it’s not working.
 * By changing upload path in the settings but it doensn’t work.
 * I also try to change the .htaccess to this
 * RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L]
 * but it didn’t work out
 *  [derrick_w](https://wordpress.org/support/users/derrick_w/)
 * (@derrick_w)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/problem-displaying-image-multisite/#post-3603013)
 * Please provide links to “the solutions that” you “found but it’s not working”
   so we don’t repeat ourselves.
 * When you describe something like “by changing upload path” please indicate the
   before and after path and any/all errors, warnings, etc.
 * Same goes for “change the .htaccess to this.” What was it before the change? 
   I THINK the RewriteRule and link you provided would result in your server looking
   for
    `http://rankdatingsite.com/wp-includes/ms-files.php?file=2013/03/choisir_site_de_rencontre1-
   150x150.jpg`
 * Does the link to the .jpg you posted above, indicate the physical path? ie. In
   an FTP client the path is /files/2013/03/choisir_site_de_rencontre1-150×150.jpg
 *  Moderator [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * (@ipstenu)
 * 🏳️‍🌈 Advisor and Activist
 * [13 years, 2 months ago](https://wordpress.org/support/topic/problem-displaying-image-multisite/#post-3603118)
 * [http://rankdatingsite.com/wp-includes/ms-files.php?file=/2013/03/choisir_site_de_rencontre1-150×150.jpg](http://rankdatingsite.com/wp-includes/ms-files.php?file=/2013/03/choisir_site_de_rencontre1-150×150.jpg)
   works, so what’s in your .htaccess? 🙂
 *  Thread Starter [sebastien2020](https://wordpress.org/support/users/sebastien2020/)
 * (@sebastien2020)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/problem-displaying-image-multisite/#post-3603127)
 * Here is what’s in my .htaccess
 *     ```
       SetEnv PHP_VER 5
       RewriteEngine On
       RewriteBase /
       RewriteRule ^index\.php$ - [L]
       # uploaded files
       RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L]
       RewriteCond %{REQUEST_FILENAME} -f [OR]
       RewriteCond %{REQUEST_FILENAME} -d
       RewriteRule ^ - [L]
       RewriteRule . index.php [L]
       ```
   
 * Do I have to change something ?
 *  Thread Starter [sebastien2020](https://wordpress.org/support/users/sebastien2020/)
 * (@sebastien2020)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/problem-displaying-image-multisite/#post-3603153)
 * And here are the settings of the site :
 * Upload Path : wp-content/blogs.dir/2/files
    Fileupload Url : [http://rankdatingsite.tccompany.be/files](http://rankdatingsite.tccompany.be/files)
 * The image is displayed through that url : [http://rankdatingsite.com/wp-includes/ms-files.php?file=/2013/03/choisir_site_de_rencontre1-150×150.jpg](http://rankdatingsite.com/wp-includes/ms-files.php?file=/2013/03/choisir_site_de_rencontre1-150×150.jpg)
 * But not on the site via the default rewritting as /files/year/month/filename.
   jpg as you can see below [http://rankdatingsite.com/2013/03/23/quel_site_de_rencontre_choisir/](http://rankdatingsite.com/2013/03/23/quel_site_de_rencontre_choisir/)
 *  Moderator [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * (@ipstenu)
 * 🏳️‍🌈 Advisor and Activist
 * [13 years, 2 months ago](https://wordpress.org/support/topic/problem-displaying-image-multisite/#post-3603159)
 * Is allowOverride set to All on your httpd.conf?
 *  Thread Starter [sebastien2020](https://wordpress.org/support/users/sebastien2020/)
 * (@sebastien2020)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/problem-displaying-image-multisite/#post-3603187)
 * I asked to my host because I’m on a shared server and I don’t know how to access
   to the httpd.conf.
 * I wait for their answer
 *  Thread Starter [sebastien2020](https://wordpress.org/support/users/sebastien2020/)
 * (@sebastien2020)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/problem-displaying-image-multisite/#post-3603221)
 * Hello Mika,
 * I asked to my host, but due to my hosting choice (shared hosting) I can’t configure
   the file ini.php.
 * Do you know have another solution ?
 * Thks
 *  Moderator [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * (@ipstenu)
 * 🏳️‍🌈 Advisor and Activist
 * [13 years, 2 months ago](https://wordpress.org/support/topic/problem-displaying-image-multisite/#post-3603223)
 * Not ini.php, httpd.conf
 * And if you can’t edit that, then you can’t use Multisite UNLESS you totally reinstall
   it, in a new location, as v 3.5
 * You see, if you start with 3.5, your images don’t use /files/
 * Or you can try this: [http://halfelf.org/2012/dumping-ms-files/](http://halfelf.org/2012/dumping-ms-files/)
 *  Thread Starter [sebastien2020](https://wordpress.org/support/users/sebastien2020/)
 * (@sebastien2020)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/problem-displaying-image-multisite/#post-3603232)
 * Hello Mika,
 * I reinstall the v.3.5 but I still have the same problem :
 * On the main site when I uploaded an image, the image is on the server there :
   
   [http://tccompany.be/wp-content/uploads/2013/03/choisir_site_de_rencontre2.jpg](http://tccompany.be/wp-content/uploads/2013/03/choisir_site_de_rencontre2.jpg)
 * On the second site, when I upload an image, the image is uploaded on the server
   there :
    [http://rankdatingsite.com/files/2013/03/choisir_site_de_rencontre1.jpg](http://rankdatingsite.com/files/2013/03/choisir_site_de_rencontre1.jpg)
 * The image is not found, but it’s really on the server on that url :
 * [http://rankdatingsite.com/wp-content/blogs.dir/2/files/2013/03/choisir_site_de_rencontre.jpg](http://rankdatingsite.com/wp-content/blogs.dir/2/files/2013/03/choisir_site_de_rencontre.jpg)
 * Do you know how I can solve this issue ! I ‘m becomming a bit crazy !
 * Thanks
    Regards
 *  Moderator [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * (@ipstenu)
 * 🏳️‍🌈 Advisor and Activist
 * [13 years, 2 months ago](https://wordpress.org/support/topic/problem-displaying-image-multisite/#post-3603237)
 * When you reinstalled, did you totally **delete** your site and start over from
   a clean slate? New database, new files, new everything? Or did you just copy 
   the files back up?
 *  Thread Starter [sebastien2020](https://wordpress.org/support/users/sebastien2020/)
 * (@sebastien2020)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/problem-displaying-image-multisite/#post-3603238)
 * No I first made a copy of the database then I upgrade to WP 3.5 and re-installed
   the plugins.
    Should I delete everything and re-install everything ? Can I still
   make a copy of the DataBase, beacause I already have some content.
 * Thks
 *  Moderator [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * (@ipstenu)
 * 🏳️‍🌈 Advisor and Activist
 * [13 years, 2 months ago](https://wordpress.org/support/topic/problem-displaying-image-multisite/#post-3603239)
 * Not easily.
 * You can try this: [http://halfelf.org/2012/dumping-ms-files/](http://halfelf.org/2012/dumping-ms-files/)
 * Or this: [http://trepmal.com/2013/03/24/removing-ms-files-php-dependency/](http://trepmal.com/2013/03/24/removing-ms-files-php-dependency/)
 * But if they’re out of your league, then you really need to start over.
 * Backup your content. Export it to an XML and you can reimport, though you may
   not get your images.

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

The topic ‘Problem displaying image multisite’ is closed to new replies.

 * In: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
 * 14 replies
 * 3 participants
 * Last reply from: [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * Last activity: [13 years, 2 months ago](https://wordpress.org/support/topic/problem-displaying-image-multisite/#post-3603239)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
