Routing multi-language

Suprisingly i could not find this anywhere. Maybe its not kirby question?

I have multi-lang site with few translations. Very standard setup.

Lets say i want http://example.com/de to be at http://example.de/

Would just some clever mod_rewrite work? Or do i have to change something with Kirby routing. I am not sure how to properly go about this.

Thank you!

I’d prefer to do this via DNS settings in the first place. If that’s not possible, via Apache server configuration, or .htaccess, before trying with a route.

We are also planning to improve support for multi-domain multilang (which will do that kind of redirection automatically), but I can’t promise when that will be.

You can find one (temporary) solution for this problem here: Different tld per language :slight_smile: