Redirecting to IDN
4 posts
• Page 1 of 1
Redirecting to IDN
Hi community,
I'm desperately trying to redirect to an IDN domain, but it doesn't work for me, see details in my example.
This doesn't trigger at all, but when I change it to
it triggers, but the redirect goes to
How can I make this redirect work?
Thank you for any suggestions
dansk aka Christian
I'm desperately trying to redirect to an IDN domain, but it doesn't work for me, see details in my example.
- Code: Select all
RewriteCond %{HTTP_HOST} ^test-mäh\.eu
RewriteRule (.*) http://www.test-mäh.eu/$1 [R=301,L]
This doesn't trigger at all, but when I change it to
- Code: Select all
RewriteCond %{HTTP_HOST} ^test-m.h\.eu
it triggers, but the redirect goes to
- Code: Select all
http://www.test-m�h.eu/
How can I make this redirect work?
Thank you for any suggestions
dansk aka Christian
Re: Redirecting to IDN
Hello,
Please try to use the following flags after the rule to make it working:
RewriteRule (.*) http://www.test-mäh.eu/$1 [R=301,L, NE, NU]
Please try to use the following flags after the rule to make it working:
RewriteRule (.*) http://www.test-mäh.eu/$1 [R=301,L, NE, NU]
Re: Redirecting to IDN
Hi, thanks for your answer.
Unfortunately, this doesn't work for me.
Right now, I have the following redirect:
(actual values, you can try yourself)
(302 for testing purposes, file is saved as utf8 without BOM)
I also tried ASCII encoding, but no success.
Any suggestions?
Unfortunately, this doesn't work for me.
Right now, I have the following redirect:
(actual values, you can try yourself)
- Code: Select all
RewriteCond %{HTTP_HOST} ^(www\.)?ferienhausurlaub-in-daenemark\.de
RewriteRule (.*) http://www.ferienhaus-dänemark.eu/? [R=302,L,NU,NE]
(302 for testing purposes, file is saved as utf8 without BOM)
I also tried ASCII encoding, but no success.
Any suggestions?
4 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 0 guests