I’m not 100% sure how I fixed this, but I did.
A few things I did:
Make sure you clear your cookies, or test in an incognito window. Login cookies caused me some problems.
I replaced my nginx rewrites with:
rewrite ^/(site1/|site2/|site3/)?(wp-(content|admin|includes).*)$ /wp/$2 break;
rewrite ^/(?!wp/)(site1/|site2/|site3/)?(.*\.php)$ /wp/$2 break;
Because I’m dealing with a small network with clearly defined sites, I was able to include them directly in the regex. You may need to do something more broad; ymmv.
After restarting my server and clearing cookies, this seemed to do the trick!
Related Posts:
- WordPress Multisite, NGINX and WordPress Subdirectory Install
- WordPress Multisite with multiple domains using Nginx
- WordPress Multisite with NGINX, subfolders, and FROM a subfolder
- NGinx + WordPress Subdomain Multi with core in Subdirectory
- NGINX Multisite Rewrite rules
- Nginx rules for subdomain multisite install (Bedrock)
- Multisite WordPress nginx uploaded files throw 404
- WordPress Installation for multi-domains with nginx and php-fpm
- how do I configure nginx for wordpress multisite, it occurs ERR_TOO_MANY_REDIRECTS
- WordPress multisite subdirectory on nginx behind reverse proxy
- Multisite setup on VVV with bedrock
- How to run a subdirectory multisite install under a subdomain
- NGINX rewrite rules for sub subdomains
- Mapping subdomain to point to sudirectory site in WordPress Multisite Network
- Nginx Wildcard SSL with WordPress Multisite Subdomains
- Nginx config, how can I redirect primary multisite domain, but not its sub-folders, nor other domains?
- WordPress Network (multisite) — how to ensure each site has their own admin URL?
- Nginx — WordPress multisite with root folder in own directory
- Help with multisite redirect issues using Cherokee OR solid nginx config?
- WordPress in subdirectory, Multisite using subdomains Nginx
- Some permalinks are not working and show 404
- Why WordPress w/ Nginx Multisite Only Lets Admin Upload ZIP Plugins But Not Themes? [closed]
- Setup another new subdomain root on top of multisite configuration
- WordPress multisite second site admin resulting in too many redirects error
- Possible to reverse proxy WP multisite to a separate server with NGINX?
- Multisite wp-admin redirecting to main wp-admin using NGINX
- wordpress.mydomian.com 404 Error
- Nginx rules for subdomain multisite install (Bedrock)
- WordPress Multisite FQDN Admin Access
- Using www along with non-www for main domain in multisite installation
- Why does defining MULTISITE true change the database connection in use
- WordPress on Nginx – Missing admin/toolbar
- Nginx Multisite redirects (incorrectly) on Chrome IE and Mobile, but works (correctly) on Firefox
- wordpress multisite is broken in nginx but working in apache
- What are options are there to implement a multi language site
- Where is the robots.txt stored for a WordPress Multisite install?
- Settings API in Multisite – Missing update message
- WordPress Multisite Multiple child theme
- WordPress Multisite: How to make all media library items available for every site?
- How to setup LDAP authentication with WP multisite
- WordPress Multisite. Can domain be used instead of subdomain?
- Built to scale, or worry later?
- Multisite Subdomains result in 403 Forbidden
- Set subdomains live in a next step
- Multisite Installation: how do I setup global search?
- Two WordPress sites sharing the same database
- Help with updating a wp_get_sites to get_sites and sorting by alphebetical order
- Can I use multisite functions in a single-site installation?
- How to Run Code Before a New Site is Created on MultiSite for Validation
- How to use JSONP to make AJAX request to different site on network
- WP 4.4 – domain mapping for sites within a multisite network?
- Can I use two different domain names with a WordPress multisite network?
- Restrict Admin Capabilities in MultiSite
- Installing multisite on domain with existing subdirectory wordpress installations
- wp_redirect not working on admin menu page
- Bootstrapping WordPress MultiSite Outsite of WordPress – No $wpdb
- Bulk theme settings in wordpress multisite
- Permalinks not working using wordPress Networking with custom post types
- Multisite domain naming
- Site kit Google Analytics setup giving Error: {“error”:”invalid ‘redirect_uri'”}
- All pages have 302 redirect, which I can’t remove
- Can is_page and is_front_page both be true?
- Preferred method of setting user role only works on Main Site in Network
- How to share primary navigation of main site with subsites usining switch_to_blog
- WordPress 4.5+ Multisite Domain Mapping
- Multisite sub-directories IIS 7.5 change media/uploads location
- One Domain, Two Installs of WordPress
- add_rewrite_rule not working in WordPress Multisite
- How do I find where the current value of the option ‘registration’ in the SQL database?
- is_main_site() Always Returns True
- Strange multisite issue where all sites return same id with get_current_site()
- Permalink with a Category and then a Post
- Creating a subdomain network in a subdomain
- Sub-sub folders of WordPress Multisite subdirectory
- How much resources are good enough for 3.9.2
- Best Practise: Linking to WPMU sites from other sites
- Common user login for two different wordpress installation and bbpress
- WordPress Multisite and how to apply sef urls only to specific sites
- Custom css – WordPress Multisite
- how to convert a wp multisite into a single site with content from subsites
- Getting stylesheet error after setting subdomain to false in multisite
- “Multisite support is not enabled.” After Multisite Config Changes
- String translation within WordPress multisite with i18n not working on all sites
- Add new sites on the same level as the parent URL in a multisite
- Add radio button on theme at the select of the theme the same theme should be activated after generation of new site in multi site
- Moving wordpress multisite to new domain
- Which action hook to update custom field at network/site-info.php in multisite on update site info
- Changed singlesite to multisite, but new site shows Maintenance
- multisite shared settings
- Multi Site Translate Strings
- Should I use MultiSite for a subdomain based wp site?
- Can’t import posts in multisite
- User registration problem on multisites web
- Admin user getting redirected to /wp-admin/user
- Getting 404 after Update in Multisite
- personal_options hook on WordPress multisite
- There is no featured image in my post in wordpress multisite theme [closed]
- Multi site root site installed on subdomain, with child sites as subdirectories
- Integrating WordPress for blog and other content pages in a web app
- different image for mobile template block theme