Hi,

ever felt the need to redirect an 'Umlaut' - Domain containing strange german letters like ä, ö, ü?

it can be some hassle...

After trying several things and endless googleing I luckily found this page to encode a given domain to punycode

Here is an example code with the punycode string in the first line:

RewriteCond %{HTTP_Host} ^(www\.)?xn--grnelust-75a\.de$ [NC]
RewriteRule ^(.*)$ http://www.gruenelust.de/$1 [L,R=301]

grünelust.de (xn--grnelust-75a.de after encoding) is redirected to gruenelust.de

greetz,

florian