Skip to content

Mixing host and URI path strategies #47

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).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions