• 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 https://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 https://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 its unable to rewrite the folder structure. Ive 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

    (@bjusters)

    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)?

    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 / https://backend.usc.edu/
    ProxyPassReverse / https://wphost.usc.edu/

    I had WP setup on my backend system serving content to https://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.