WordPress MU Domain Mapping
Mapping domains with international characters (IDN) (4 posts)

  1. Esteban Bianchi
    Posted 5 years ago #

    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 :D

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

  2. Donncha O Caoimh
    Plugin Author

    Posted 5 years ago #

    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!

  3. Esteban Bianchi
    Posted 5 years ago #

    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.

  4. Donncha O Caoimh
    Plugin Author

    Posted 4 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WordPress MU Domain Mapping
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic