Form redirects to wrong page

I have a form, where I want to redirect users who submit it to a “success” page.
But in fact, it redirects to the DEFAULT NETLIFY SUCCESS PAGE.


The issue is that /sent/ (or /sent) does not exist

As it is not a valid path, the redirect to that page cannot take place.


It is right there in my directory

Sure, but is it deployed? Check the files in the deploy by downloading the archive

Also check out the Vite multi-page app documentation

1 Like

looks like its not in the production files…
but why isnt it? how can i put it there?

Look at the Vite documentation I linked to in my previous post.

yeah, thanks, its solved!