So I have a nice wordpress site, which has a translation. for example, this translation is located at https://example1.com?lang=fi
I also have another domain. https://example2.fi
How do I get the other domain to redirect to the translated url? and how do I make sure the https://www.example2.fi goes as well?
My provider gives me access to add custom nginx configs.
Alternately, is it better to do these kind of redirects in wordpress?
I have modified the dns already to point example2.fi to the correct ip.