Title: Multisite Reversed proxy folder rewrite
Last modified: August 21, 2016

---

# Multisite Reversed proxy folder rewrite

 *  [bjusters](https://wordpress.org/support/users/bjusters/)
 * (@bjusters)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/multisite-reversed-proxy-folder-rewrite/)
 * I`m trying to get a wordpress multi site installation to work behind a reversed
   proxy server. The root site is working fine, and the content is being served 
   out on the other sites (ie [http://www.wordpresstest.net/testsite/sample-page](http://www.wordpresstest.net/testsite/sample-page)(
   fake link)), however the actual files like jquery and theme files like style.
   css, ar not being served out. (ie [http://www.wordpresstest.net/testsite/wp-includes/js/jquery/jquery.js?ver=1.10.2](http://www.wordpresstest.net/testsite/wp-includes/js/jquery/jquery.js?ver=1.10.2))
   As said this does work for the root site(without the /testsite/ part).
 * So it seems it`s unable to rewrite the folder structure. I`ve been searching 
   for the solution, however without luck, my knowledge of reversed proxy setup 
   and htaccess isn`t all that big sadly, maybe a simple htaccess rule can fix it.
 * Any tips, hints or solutions?

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

 *  Thread Starter [bjusters](https://wordpress.org/support/users/bjusters/)
 * (@bjusters)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/multisite-reversed-proxy-folder-rewrite/#post-4120291)
 * I also can`t reach the wp-admin of a sub site, it says it ends up in an infinity
   rewrite loop. wp-admin of root site is working fine. If i delete the permalinkstructure
   for the subsite, i get a 404 on the page instead of the loop. There is no network
   setting for permalinks right (i have to set it individually for all sites)?
 *  [jkhongusc](https://wordpress.org/support/users/jkhongusc/)
 * (@jkhongusc)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/multisite-reversed-proxy-folder-rewrite/#post-4120366)
 * My guess is your reverse proxy server is not setup correctly for WP. I am not
   that knowledgeable about proxies but did setup a test system with Apache httpd.
   On the proxy server I had this config:
 * ProxyPreserveHost On
    ProxyPass / [http://backend.usc.edu/](http://backend.usc.edu/)
   ProxyPassReverse / [http://wphost.usc.edu/](http://wphost.usc.edu/)
 * I had WP setup on my backend system serving content to [http://wphost.usc.edu/](http://wphost.usc.edu/)
   Works for me.

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

The topic ‘Multisite Reversed proxy folder rewrite’ is closed to new replies.

## Tags

 * [multi-site](https://wordpress.org/support/topic-tag/multi-site/)
 * [reverse proxy](https://wordpress.org/support/topic-tag/reverse-proxy/)

 * In: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
 * 2 replies
 * 2 participants
 * Last reply from: [jkhongusc](https://wordpress.org/support/users/jkhongusc/)
 * Last activity: [12 years, 8 months ago](https://wordpress.org/support/topic/multisite-reversed-proxy-folder-rewrite/#post-4120366)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
