WordPress.org

Support

Support » Plugins and Hacks » WordPress MU Domain Mapping » [Plugin: WordPress MU Domain Mapping] Mapping domains with international characters (IDN)

[Plugin: WordPress MU Domain Mapping] Mapping domains with international characters (IDN)

  • Esteban Bianchi

    @estebanbianchi

    This post is more a help for the people out there googling to solve this type of problems than a support request.

    If your trying to add a IDN (IE. ññ.com) to one of your sites using the domain mapping plugin you’re probably gonna find out that this just dont work and your domain keeps redirecting you to the main site in your network.

    The easy solution to this is instead of inserting your domain in the non ascii format (ññ.com) just put it in the punicode format that usually starts with the characters “xn--“

    It would be a great idea for the next version of this amazing plugin (thanks Donncha) to autoconvert all IDNs to ToASCII to avoid this type of problems.

    I know that in english you dont use any non ASCII characters but this wordpress thing is getting more and more popular around the world 😀

    For more information on IDN & Punicode format, you can check this wikipedia article http://en.wikipedia.org/wiki/Internationalized_domain_name

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Donncha O Caoimh

    @donncha

    I’m not sure how to reliably convert those characters to ascii. I did find this function but it requires a pecl library.

    I don’t have time right now to look for that library but I’ll add a note anywhere the domain is requested asking that users enter the ASCII version of the domain. Thanks!

    Esteban Bianchi

    @estebanbianchi

    Thanks for your answer Donncha,

    Maybe, considering that IDNs arent that popular and in the closer future wont be. Just putting a note somewhere should work. Yo can also link to this URL to make the conversion process easier.

    Plugin Author Donncha O Caoimh

    @donncha

    I’ve just added a link to that site in the plugin. Thanks! Try the development version on the “Other Versions” page if you want to see what it looks like.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: WordPress MU Domain Mapping] Mapping domains with international characters (IDN)’ is closed to new replies.
Skip to toolbar