Hello guys, sorry if this sounds off. I’m using Netlify for the first time and I need to set up redirect rule for my domain in a react app. Let say I have an app on www.example.com and I have a subdomain for staging (www.staging.example.com). After a user successfully logs in, I want my user redirected to www.dashboard.staging.example.com instead of www.staging.example.com/dashboard.
on production :
What I have tried
[[redirects]] from = "https://dashboard.example.com/*" to = "https://example.com/dashboard/:splat" status = 200 force=true [[redirects]] from = "https://dashboard.staging.example.com/*" to = "https://staging.example.com/dashboard/:splat" status = 200 force=true