Redirect based on query parameter

This questing might have been asked here before, but just cant seem to find it, but what i am tring to do is i am getting this request
from: nemco.dk/?lang=en
to: nemco.eu

But this doesnt work since the query param is ignored in the redirect request, is there any way to achive this ?

Hey @arLait

Are you wishing to remove the query parameter, or use the query parameter?

Have you checked out the Query Parameter section of the redirect documentation?

Both kinda i want to receive nemco.dk/?lang=en and redirect to nemco.nu as an example

So you are wanting to redirect based on language then? You can do that with Country/Language Redirects.

Query parameters are passed through to the redirect unless the to address/path has a query string.

A redirect cannot look at the query string (AFAIK) to redirect based on the value.

Thank you for the quick response