You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it possible to not alter the URI path if a host is matched?
f.e. If you have the following domains:
domain.com
domain.de
I need two things:
Don't add "/de/" to domain.de (as the locale is based on the TLD)
Any non-de locales on domain.de should redirect to domain.com/locale
I think that there needs to be some way of indicating the "primary" domain when using the URI path strategy. The path segment will then only be added if you're on that primary domain (.com in this case).
The text was updated successfully, but these errors were encountered:
I think this is the best implemented as "filters". Just thinking out loud, but you might want to have a callback which can be used to check during detect/found/assemble which returns true or false depending on your specific situation.
In that case, you could attach a filter callback to the uri uri path (found) which returns false when the domain is domain.de. In that case, the /de is not prepended to the path. What are your thoughts?
Is it possible to not alter the URI path if a host is matched?
f.e. If you have the following domains:
domain.com
domain.de
I need two things:
I think that there needs to be some way of indicating the "primary" domain when using the URI path strategy. The path segment will then only be added if you're on that primary domain (.com in this case).
The text was updated successfully, but these errors were encountered: