Title: subdirectory
Last modified: August 20, 2016

---

# subdirectory

 *  Resolved [joedepo](https://wordpress.org/support/users/joedepo/)
 * (@joedepo)
 * [13 years, 12 months ago](https://wordpress.org/support/topic/subdirectory-1/)
 * I have seen this being a common occurence but havent seen the exact amswer. My
   issue is that when I create a site on my mu in subdirectory images don’t appear.
   i know the issue i don’t know how to fix it. my main site is mydomain.com and
   images work great but when i create a sub site mydomain.com/newsite the images
   try to reroute to each subdirectory which the images arent clearly there. so 
   it looks like this
 * mydomain.com/images
 * when i go to subdirectory the images think they should be at
 * mydomain.com/newsite/images
 * clearly not there it doesn’t exist. how do i fix this?

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

 *  Thread Starter [joedepo](https://wordpress.org/support/users/joedepo/)
 * (@joedepo)
 * [13 years, 12 months ago](https://wordpress.org/support/topic/subdirectory-1/#post-2758945)
 * update: all subdirectories get thrown off including wp-admin
 *  Moderator [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * (@ipstenu)
 * 🏳️‍🌈 Advisor and Activist
 * [13 years, 12 months ago](https://wordpress.org/support/topic/subdirectory-1/#post-2759079)
 * They should be pointing to mydomain.com/site/files/ not images.
 * Did you change them?
 *  Thread Starter [joedepo](https://wordpress.org/support/users/joedepo/)
 * (@joedepo)
 * [13 years, 12 months ago](https://wordpress.org/support/topic/subdirectory-1/#post-2759104)
 * I don’t think i did, what happens is for some reason the whole site tries to 
   access wp-admin from the actual sub directory. even if they tried to access their
   admin panel it wont because the admin panel is not in their subdirectory when
   they are logged in. unless i have my .htaccess file setup wront this is what 
   it lookes like
 *     ```
       # BEGIN WordPress
   
       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]\
   
       # END WordPress
       ```
   
 * all my images and and files get pointed to thier subdirectory. that is my issue
   in lamens terms i guess. how do i fix that? do my users have access to the wp-
   admin
 *  Moderator [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * (@ipstenu)
 * 🏳️‍🌈 Advisor and Activist
 * [13 years, 12 months ago](https://wordpress.org/support/topic/subdirectory-1/#post-2759105)
 * > what happens is for some reason the whole site tries to access wp-admin from
   > the actual sub directory.
 * The … what now?
 * You make a subdir blog domain.com/sitename
 * You go to domain.com/sitename/wp-admin to access the dash
 * That’s how it’s supposed to work.
 *  Thread Starter [joedepo](https://wordpress.org/support/users/joedepo/)
 * (@joedepo)
 * [13 years, 12 months ago](https://wordpress.org/support/topic/subdirectory-1/#post-2759106)
 * okay that does work but no images pop up when i go to that.. i just have a bunch
   of content… and what should be the content inside of my index.html file in my
   root folder
 *  Moderator [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * (@ipstenu)
 * 🏳️‍🌈 Advisor and Activist
 * [13 years, 11 months ago](https://wordpress.org/support/topic/subdirectory-1/#post-2759116)
 * There isn’t an index.html file.
 * /sitename/ isn’t a real folder (and if you made one, delete it), it’s virtual.
 * Images not popping up, however, suggests a htaccess issue. What’s in yours?
 *  Thread Starter [joedepo](https://wordpress.org/support/users/joedepo/)
 * (@joedepo)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/subdirectory-1/#post-2759133)
 *     ```
       # BEGIN WordPress
   
       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]\
   
       # END WordPress
       ```
   
 *  Moderator [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * (@ipstenu)
 * 🏳️‍🌈 Advisor and Activist
 * [13 years, 11 months ago](https://wordpress.org/support/topic/subdirectory-1/#post-2759137)
 * That’s the one for SubDOMAINS. Which you are not using if your site is domain.
   com/subsite.
 * You want the subfolder one from here: [http://codex.wordpress.org/Multisite_Network_Administration#.htaccess_and_Mod_Rewrite](http://codex.wordpress.org/Multisite_Network_Administration#.htaccess_and_Mod_Rewrite)
 *  Thread Starter [joedepo](https://wordpress.org/support/users/joedepo/)
 * (@joedepo)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/subdirectory-1/#post-2759138)
 * you are a genius. something so simple became so puzzling. thank you so much 🙂

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

The topic ‘subdirectory’ is closed to new replies.

 * In: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
 * 9 replies
 * 2 participants
 * Last reply from: [joedepo](https://wordpress.org/support/users/joedepo/)
 * Last activity: [13 years, 11 months ago](https://wordpress.org/support/topic/subdirectory-1/#post-2759138)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
