• 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 https://en.wikipedia.org/wiki/Internationalized_domain_name

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

    (@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!

    Thread Starter 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.

    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.