Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Lars-Janssen's avatar

Redirect site with query param

Hi,

I'm using forge and I have 2 domains:

example.nl
example.com

I need to redirect example.nl to example.com?lang=nl.

The domains are already pointing to the same server. How could I get this working?

Is this possible with Forge?

Thanks!

0 likes
1 reply
tykus's avatar

Redirect at application level or at web server level?

Please or to participate in this conversation.