Netlify Forms redirects without trailing slash

Hello Everyone

I have a netlify site on I have a form on it with a custom redirect. If I use the URL without submitting the form, it works. When I get redirected through the form it isn’t working. I already tried asset optimization, and other urls but still not working. How can I solve this?

Thanks in advance for the help!

Hiya, sorry you are having trouble getting your forms to work.

This Support Guide is the first port of call to debug any forms issues. Please start here and work through these resources!

We also recommend trying to search the forums or look at topics tagged Netlify forms if you haven’t already - it’s likely your question was already asked by someone else!

If you are still having problems, please provide more information such as what you have already tried, and a link to your live form. :slight_smile:

Okay, I fixed the problem by just making the form submit with ajax. Afterwards the problems were gone.