supporting both hostbased and routebased strategy #560
-
i am implementing a multitenant now suppose i want to simultaneously support typical wordpress site urls like
question: how do i configure routes for this combined scenario? right now i have hardcoded {__ tenant __} in controller routes but i'm confused about what happens when the matched strategy is not pathbased or route. consider the following code
now consider an ambiguous request, where a url path matches 2 different tenants please help me demystify the following: given the above routes and multitenant registrations,
regards |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi, sorry I didn't respond sooner. The first registered strategy to find a matching tenant will "win" is in your case the route will match rather than the subdomain. |
Beta Was this translation helpful? Give feedback.
Hi, sorry I didn't respond sooner. The first registered strategy to find a matching tenant will "win" is in your case the route will match rather than the subdomain.