Skip to content

Mixing host and URI path strategies #47

@glen-84

Description

@glen-84

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:

  1. Don't add "/de/" to domain.de (as the locale is based on the TLD)
  2. 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).

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions