I have a Craft 3 multi-site site -
/ for the main site,
/site1/ for site1, etc. I have a template
/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.