I’ve got 2 web apps for the same client (migration project). The first app is a legacy Angular app. The other is Next.js.
There are a set of routes ready to go live in the new app, under /music. I want to redirect some /music routes from the legacy app, to the new app.
This is my current _redirects file:
/music/album/4 https://fr-react.netlify.app/music/Album-Title /* /index.html 200
This works - it redirects, but I want to proxy these routes and cannot seem to get this working. E.g I want new-app.com routes to appear as if it’s on the same domain as legacysite.com. So if you go to here:
It will render the new app, but keep the root domain:
is this possible? Am I being an idiot? I have read lots of help posts and READMEs and cannot get it working. I’ve tried splats, adding 200 to the redirects, but it doesn’t work. Help please?
Legacy site: https://fionaross.co.uk
New site: https://fr-react.netlify.app/music/Black-White-and-a-Little-Bit-of-Grey