When does vercel bound redirects trigger?
Unanswered
tayls posted this in #help-forum
taylsOP
So I have a sedcondary domain (
My goal is to be able to not redirect directly to
A - is this possible?
B - what is the recommended approach for this? I would imagine from the docs that the middleware file could help, but I'm not sure if that is handled before or after vercel redirects the domain.
FYI - this project uses the latest version of Next, using the app directory
secondary.domain.com) that is being redirected to my applications primary domain (app.domain.com). This is configured in the domains section of the vercel project (where this next app is deployed). My goal is to be able to not redirect directly to
app.domain.com, but rather app.domain.com/sign-up?param=1. A - is this possible?
B - what is the recommended approach for this? I would imagine from the docs that the middleware file could help, but I'm not sure if that is handled before or after vercel redirects the domain.
FYI - this project uses the latest version of Next, using the app directory