I'm attempting to set up WordPress skeleton (/) in a multisite configuration. WordPress skeleton already places WordPress in a subdirectory (wp by default). I've taken the following steps:
Once all of this is configured, I can see that the main site (example and example/wp/wp-admin) both work.
I then add a new site to the network. Upon navigating to the site url (example/test-network-site) the front-end is broken (style.css, for example, cannot be found at the URL .css?ver=2013-07-18). When navigating to the wp-admin, I'm in a redirect loop.
My end goal is to be able to use WordPress Skeleton as a base for the sites I deploy and have the multisite configuration work as it does normally (where example is the network main site, example/test-network-site is a site within the network, and example/test-network-site/wp-admin works as it should). At this point my main question may be is this even possible?
I have a good feeling that the NGINX configuration is the main issue as (for fun) I created the exact same environment locally and fired up MAMP. Under MAMP, this configuration works fine.
Unsure of how to move forward. Any insight would be greatly appreciated!
I'm attempting to set up WordPress skeleton (https://github/markjaquith/WordPress-Skeleton/) in a multisite configuration. WordPress skeleton already places WordPress in a subdirectory (wp by default). I've taken the following steps:
Once all of this is configured, I can see that the main site (example and example/wp/wp-admin) both work.
I then add a new site to the network. Upon navigating to the site url (example/test-network-site) the front-end is broken (style.css, for example, cannot be found at the URL http://example/wp/test-network-site/wp-content/themes/twentythirteen/style.css?ver=2013-07-18). When navigating to the wp-admin, I'm in a redirect loop.
My end goal is to be able to use WordPress Skeleton as a base for the sites I deploy and have the multisite configuration work as it does normally (where example is the network main site, example/test-network-site is a site within the network, and example/test-network-site/wp-admin works as it should). At this point my main question may be is this even possible?
I have a good feeling that the NGINX configuration is the main issue as (for fun) I created the exact same environment locally and fired up MAMP. Under MAMP, this configuration works fine.
Unsure of how to move forward. Any insight would be greatly appreciated!
You might check in General Settings:
http://example
http://example/wp
When you open http://example
, what URL does it show for …/twentythirteen/style.css
?
Do you see the "broken" URL
http://example/wp/test-network-site/wp-content/themes/twentythirteen/style.css
in the source? If so, it suggests WordPress might be using a wrong path (not necessarily nginx).
I think that should be
http://example/test-network-site/wp/wp-content/themes/twentythirteen/style.css
You might check if that URL works at all.