I have two simple nextjs apps on netlify that show “one” and “two”
What I want (dots removed)
sso allwellapi com
→ see “one”
sso allwellapi com/two
→ see “two” and “sso allwellapi com/two” in the url bar
What I see instead
sso allwellapi com
→ I see “one”
sso allwellapi com/two
→ I see “two” and “sparkly-pasca-428cb4.netlify.app/two” in the url bar
monumental-basbousa-ac5bec netlify app/two
→ I see “two” and (correctly) “monumental-basbousa-ac5bec.netlify.app/two” in the url bar
app one
url: monumental-basbousa-ac5bec netlify app
custom domain: sso allwellapi com
netlify.toml:
[[redirects]]
from = "/two/*"
to = "https://sparkly-pasca-428cb4.netlify.app/:splat"
status = 200
force = true
headers = {X-From = "Netlify"}
app two
url: sparkly-pasca-428cb4 netlify app
what I did
I tried 301 instead of 200, same result
Enrico