So I'm trying to set a path as my landing page and keep the the main application on root.
Eg:
Let's say app is myapp.com
. When a user hits the URL, I want him to be redirected to myapp.com/welcome
which serves as a landing page.
On that page however there is a CTA button which redirects him to the main application, which is the root path, so myapp.com
.
So my issue is that if (on the root) I use <Redirect to="/welcome" />
to navigate the user on the landing page, then I'm stuck, I can't reach the main app.
Any ideas how to make it work?