How to do a 301 redirect to Cyrillic domain?

Not working 301 redirect from www domain to without www. Have tried many different variations of spellings .htaccess - nothing helped.
I have Cyrillic domain. Tried to drive it to a file .htaccess Cyrillic gobbledygook doesn't help.
at the moment my .htaccess looks like this:
Options +FollowSymLinks
RewriteEngine On
RewriteCond %{HTTP_HOST} ^www.xn------6cdbb3azdvbfjfjeedepxgkdiodhc9gqe5d5a2j.xn--p1ai/
RewriteRule ^(.*)$ xn------6cdbb3azdvbfjfjeedepxgkdiodhc9gqe5d5a2j....xn [R=permanent,L]
That's all it is. Heeeelp!
June 10th 19 at 16:52
0 answer

Find more questions by tags htaccess