WordPress Multisite directory nginx config
ok, if you want your sites to run as
here is what you can do,
go to network setup>siteschange the site2 address from /wordpress/site2 to /site2
Also you need to fix, nginx config as follows
# rewrite ^/(/[^/]+)?(/wp-.*) wordpress/$2 last;# rewrite ^/(/[^/]+)?(/.*\.php) wordpress/$2 last; rewrite ^/[_0-9a-zA-Z-]+(/wp-.*) /wordpress$1 last; rewrite ^/[_0-9a-zA-Z-]+(/.*\.php)$ /wordpress$1 last;
That is you need to use your uncommented code, with some fix