Title: Wrong path to media library folder
Last modified: August 20, 2016

---

# Wrong path to media library folder

 *  Resolved [juliejcdesign](https://wordpress.org/support/users/juliejcdesign/)
 * (@juliejcdesign)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/wrong-path-to-media-library-folder/)
 * Hi, I had to re-install a multisite after all the files were whipped out from
   our FTP. I had a back-up on the main french version so I first re-instaled this
   main site. Then I activated the multisite Network and re-created the second site
   on the network. The main site address is [http://www.groupeespaces.ca](http://www.groupeespaces.ca)
   and the second site is a sub folder site [http://www.groupeespaces.ca/eng](http://www.groupeespaces.ca/eng).
 * Now my problem is with the media library on the english site /eng. When I upload
   an image it create this path to it : [http://www.groupeespaces.ca/eng/files/2013/01/logoFPAV_eng_test2.jpg](http://www.groupeespaces.ca/eng/files/2013/01/logoFPAV_eng_test2.jpg)
 * The image won’t show up because the real link to it should be set to : [http://www.groupeespaces.ca/wp-content/blogs.dir/6/files/2013/01/logoFPAV_eng_test2.jpg](http://www.groupeespaces.ca/wp-content/blogs.dir/6/files/2013/01/logoFPAV_eng_test2.jpg)
 * I don’t want to do this manually for each image so is there a way to set wordpress
   media library to the correct path. I have read somewhere that we chould go in
   Admin/Settings/Miscellaneous/Store uploads in this folder but this came from 
   an old post (3 years ago) and I don’t see this menu setting in wordpress 3.5.
   Anyone knows how to point the library to the correct path ?
 * Thank you any help appreciated.

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

 *  Thread Starter [juliejcdesign](https://wordpress.org/support/users/juliejcdesign/)
 * (@juliejcdesign)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/wrong-path-to-media-library-folder/#post-3365839)
 * From my experience it should work even if the path is set to /eng/files…
 * I have another site on a network and the path to the images “[http://www.juliecloutier.com/fr/files/2012/05/concours_fr.jpg&#8221](http://www.juliecloutier.com/fr/files/2012/05/concours_fr.jpg&#8221);
   is reading the images in the “http://www.juliecloutier.com/wp-content/blogs.dir/
   2/files/2012/05/concours_fr.jpg”
 * Why is the groupeespaces site not working anymore it eludes me ? I tried creating
   a folder eng with the proper sub-folders inside with the images in the proper
   sub-folder but then the site ain’t working anymore because all it sees on upload
   is the eng folder and what is inside it.
 *  Thread Starter [juliejcdesign](https://wordpress.org/support/users/juliejcdesign/)
 * (@juliejcdesign)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/wrong-path-to-media-library-folder/#post-3365841)
 * Let me re-formulate my question, maybe I am not approaching this with the proper
   angle.
 * My problem is with the media library on the english site /eng. When I upload 
   an image it create this path to it : /eng/files/2013/01/logoFPAV_eng_test2.jpg
 * The image won’t show up. Is it because the real link to it should be set to ?:/
   wp-content/blogs.dir/6/files/2013/01/logoFPAV_eng_test2.jpg
 * I am not sure because from my experience it should work even if the path is set
   to /eng/files… .
 * I have another site n a network and the path to the images “[http://www.juliecloutier.com/fr/files/2012/05/concours_fr.jpg&#8221](http://www.juliecloutier.com/fr/files/2012/05/concours_fr.jpg&#8221);
   is reading the images in the “http://www.juliecloutier.com/wp-content/blogs.dir/
   2/files/2012/05/concours_fr.jpg”
 * Should I change the path of the media library to reflect the real location of
   the images ? If so how can I do this ?
 * Why is the groupeespaces site not working anymore it eludes me ? I tried creating
   a folder eng with the proper sub-folders inside with the images in the proper
   sub-folder but then the site ain’t working anymore because all it sees on upload
   is the eng folder and what is inside it.
 *  Moderator [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * (@ipstenu)
 * 🏳️‍🌈 Advisor and Activist
 * [13 years, 4 months ago](https://wordpress.org/support/topic/wrong-path-to-media-library-folder/#post-3365938)
 * > Now my problem is with the media library on the english site /eng. When I upload
   > an image it create this path to it : [http://www.groupeespaces.ca/eng/files/2013/01/logoFPAV_eng_test2.jpg](http://www.groupeespaces.ca/eng/files/2013/01/logoFPAV_eng_test2.jpg)
   > The image won’t show up because the real link to it should be set to : [http://www.groupeespaces.ca/wp-content/blogs.dir/6/files/2013/01/logoFPAV_eng_test2.jpg](http://www.groupeespaces.ca/wp-content/blogs.dir/6/files/2013/01/logoFPAV_eng_test2.jpg)
 * This is _not_ wrong.
 * Please read [http://codex.wordpress.org/Multisite_Network_Administration#Uploaded_File_Path](http://codex.wordpress.org/Multisite_Network_Administration#Uploaded_File_Path)
 * What’s in your .htaccess
 *  Thread Starter [juliejcdesign](https://wordpress.org/support/users/juliejcdesign/)
 * (@juliejcdesign)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/wrong-path-to-media-library-folder/#post-3365976)
 * My htaccess has this :
 *     ```
       # BEGIN WordPress
       RewriteEngine On
       RewriteBase /
       RewriteRule ^index\.php$ - [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).*) $2 [L]
       RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
       RewriteRule . index.php [L]
       # END WordPress
       ```
   
 * Do you see anything wrong with it ?
 * When I click on this link : [http://www.groupeespaces.ca/eng/files/2013/01/logoFPAV_eng_test2.jpg](http://www.groupeespaces.ca/eng/files/2013/01/logoFPAV_eng_test2.jpg)
 * it says error 404, page do not exist.
 * It seem it does not see that this is a repertory for images and I don’t see it
   either on my ftp.
 *  Thread Starter [juliejcdesign](https://wordpress.org/support/users/juliejcdesign/)
 * (@juliejcdesign)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/wrong-path-to-media-library-folder/#post-3365981)
 * I found the solution thank you ! It was not in my .hta files it was missing this
   line :
 * # uploaded files
    RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.
   php?file=$2 [L]
 * Now it is working.
 * Big thank you.
 *  Moderator [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * (@ipstenu)
 * 🏳️‍🌈 Advisor and Activist
 * [13 years, 3 months ago](https://wordpress.org/support/topic/wrong-path-to-media-library-folder/#post-3365992)
 * For those wondering why, it’s because he reinstalled, but _originally_ had a 
   pre 3.5 version of WP when installing Multisite.
 * This is a known hassle (sorry) because as of 3.5, you don’t need that line anymore(
   and your images are in a different folder entirely). So … yay, we get to ask ‘
   What version of WP were you running when you set up Multisite?’ now 😀

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

The topic ‘Wrong path to media library folder’ is closed to new replies.

 * In: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
 * 6 replies
 * 2 participants
 * Last reply from: [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * Last activity: [13 years, 3 months ago](https://wordpress.org/support/topic/wrong-path-to-media-library-folder/#post-3365992)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
