I'm having an issue that I can't find anybody else talking about anywhere. I have a wordpress multisite setup utilizing sub-directories. It's running on Debian Squeeze, and it's powered by nginx, php 5.4, and php5-fpm.
Currently I am using the batcache plugin and the advanced apc caching plugin from mark jaquith.
The Bad: So, the problem I'm having is that when I access the site with either IE, Chrome or by mobile, it always redirects back to the root site. The only time it doesn't is when accessing wp-admin.
The Good:
The whole setup works perfect on firefox.
I have ran some curl -I
passes on the site to get the header info. Here are the results: http://pastebin.com/VryGXAAY
What I've Tried: I have cleared the browser cache. Tried it on a different machine. And yelled at it a lot.
Here is a copy of the config files:
sites-enabled/example.com: http://pastebin.com/69xsMuwb
globals/mu-dir.conf: http://pastebin.com/CSup1q1h
globals/mu-files.conf:
# Rules for any Multisite install
# For uploads
if ( $uri ~ "files" ) {
rewrite ^/(?:.*/)?files/(.+) /wp-includes/ms-files.php?file=$1;
}
globals/restrictions.conf: http://pastebin.com/rhrr5Qkf
globals/common-locations.conf: http://pastebin.com/GiYBRP1y
Let me know what other info you might need. Any help would be appreciated! :)
curl -I
output. You could check the access and/or error log when you access your site using Chrome, IE or mobile. That should provide you more clarity on how things work. Additionally, you may shut down PHP, APC or batcache to see, if it is specific to Nginx, php or WP.