Skip to content

Redirect subdomain to route #4051

Answered by scnroy
scnroy asked this question in General
Discussion options

You must be logged in to vote

Solution:

{
  "redirects": [
    { "source": "/(.*)", "destination": "https://domain.com/es" }
  ]
}
  • Deploy.
    Assign "es.domain.com" as the production domain.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by scnroy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant