I have a domain -
Inside there is a folder with Multisite install -
Multisite is installed with subfolders.
I have a site, let's say -
Now, when browsing to
www.mydomain.com/sites and to
mydomain.com/sites (without www) - both work.
When browsing to
www.mydomain.com/sites/mysite - works well too.
But - when browsing to
mydomain.com/sites/mysite (without the leading www), it's being redirected to the main site -
www.mydomain.com/sites instead to the specific mysite.
I figured out it may be related to WP multisite that is main site located in a subfolder, but couldn't figure out how to make
mydomain.com/sites/mysite redirect to
www.mydomain.com/mysite as expected.
p.s I use a fresh install of latest WP