Title: Multisite subdirectory and alias
Last modified: August 21, 2016

---

# Multisite subdirectory and alias

 *  [djosh](https://wordpress.org/support/users/djosh/)
 * (@djosh)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/multisite-subdirectory-and-alias/)
 * Hi
    I installed a multisite network base on a subdirectory (called “masterdir”
   in this example) and it works great!
 * [http://www.domain.com/masterdir/site1](http://www.domain.com/masterdir/site1)
   
   [http://www.domain.com/masterdir/site2](http://www.domain.com/masterdir/site2)[…]
 * I created an alias (called “analias” in this example) into the apache conf for
   the url leads to the same place :
    [http://www.domain.com/analias/site1](http://www.domain.com/analias/site1)
   [http://www.domain.com/analias/site2](http://www.domain.com/analias/site2)
 * Apache conf:
    Alias ​​/analias /var/www/masterdir <Directory /var/www/masterdir
   > […] </ Directory>
 * All this working, css and first level menu are ok but I have a 404 error when
   I navigate through my pages. Is it possible to run an alias with a multisite 
   installation ?
 * thank you very much

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

 *  Moderator [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * (@ipstenu)
 * 🏳️‍🌈 Advisor and Activist
 * [12 years, 8 months ago](https://wordpress.org/support/topic/multisite-subdirectory-and-alias/#post-4158809)
 * WordPress doesn’t like aliases.
 * What’s the end goal with this?
 *  Thread Starter [djosh](https://wordpress.org/support/users/djosh/)
 * (@djosh)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/multisite-subdirectory-and-alias/#post-4158856)
 * Thanks Ipstenu
 * The teachers researchers at my university will create automatically event websites
   on the multisite network.
 * The subject of their sites will be different and I would like them to choose 
   the URL they will transmit to their audience.
 * If it’s a conference : [http://www.domain.com/conference/site1](http://www.domain.com/conference/site1),
   if an exposition : [http://www.domain.com/exposition/site1](http://www.domain.com/exposition/site1)…
 *  Moderator [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * (@ipstenu)
 * 🏳️‍🌈 Advisor and Activist
 * [12 years, 8 months ago](https://wordpress.org/support/topic/multisite-subdirectory-and-alias/#post-4158897)
 * And you can’t have WP installed in domain.com root I take it….
 * The _easiest_ solution would be install wp at domain.com and use a MultiNetwork
   plugin to make two main sites ‘conference’ and ‘exposition’. Then make all the
   subsites off of that.
 * Obviously you could do that at domain.com/sites/ as your main WP instance, and
   have domain.com/sites/expo/ and domain.com/sites/conf/ and so on, with the sub-
   sites and subnetworks as before, but that adds an extra layer on.
 * Past that, you get two separate Multisites :/
 * I don’t know how to reliably alias the subfolders, though. You’d just end up 
   with both URLs working.

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

The topic ‘Multisite subdirectory and alias’ is closed to new replies.

## Tags

 * [alias](https://wordpress.org/support/topic-tag/alias/)
 * [apache](https://wordpress.org/support/topic-tag/apache/)
 * [multisite](https://wordpress.org/support/topic-tag/multisite/)
 * [subdirectory](https://wordpress.org/support/topic-tag/subdirectory/)

 * In: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
 * 3 replies
 * 2 participants
 * Last reply from: [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * Last activity: [12 years, 8 months ago](https://wordpress.org/support/topic/multisite-subdirectory-and-alias/#post-4158897)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
