Craft 3 multi-site route to template (no entry) I have a Craft 3 multi-site site - / for the main site, /site1/ for site1, etc. I have a template templates/foo.twig, and /foo hits it for the main site, but /site1/foo does not hit it for site1. I think it should. What am I doing wrong?
I am trying to get case 4 of the Routing algorithm to work with multiple sites:


Does the URI match a template?

Finally, Craft will check if the URI is a valid template path. If it is, Craft will return the matched template. Note: if any of the URI segments begin with an underscore (_), Craft will return a 404. Craft hides from direct access any template path segments that begin with an underscore.
I don’t think it has something to do with URI to template routing. It should just work once you have your sites setup correctly in Craft and in server configurations.

What you can do to test correct site setup in Craft is to request the page using the query string:

https://example.com/site1/?p=foo