Form method GET to redirect to /search page

I have created an SSR website using https://github.com/FinnWoelm/next-on-netlify

I have a URL search feature /search?keyword=name&page=1
but I cannot get the query string for the keyword and page value
what i get is “undefined” for those queries.

Any suggestions?
Thank you

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

This Common Issue is the first port of call to debug any forms issues.

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:

Thanks for the reply, I have resolved by redirect this /search?keyword=name&page=1 into /search/1/name

1 Like