Admin Bar Network Links

Hi,

I’m using the rewrite rules outlined in this article:


and everything seems to be working like it’s supposed to except for one thing: the links to the network admin in the admin bar.

Using the exact same setup on Apache seems to be working fine with the standard rules from WP, but here I can’t seem to get it working.

Does anyone have any experience with this?

Thanks

As it turns out it is actually the entire network admin that has issues. Some links work, but most buttons don’t, form submissions all redirect to the root, not including the subdirectory

@hi
You can try these.

if (!-e $request_filename) {  

		# Redirect wp-admin To wp-admin/  
		rewrite /wp-admin$ $scheme://$host$uri/ permanent;  
		  
		# Redirect wp-* Files/Folders  
		rewrite ^(/[^/]+)?(/wp-.*) $2 last;  

		# Redirect Other PHP Files  
		rewrite ^(/[^/]+)?(/.*\.php) $2 last;  
	}

these are used in nginx config file when site created with ee site create sitename --wpsubdir

Had a few other kinks to work out but it’s working now!

Thanks!