Skip to content
This repository has been archived by the owner on May 27, 2020. It is now read-only.

YOURLS/yourls-idn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

5f67f6a · May 26, 2020

History

7 Commits
Nov 8, 2012
May 26, 2020
Nov 8, 2012

Repository files navigation

YOURLS IDN

Plugin Name: YOURLS IDN
Plugin URI:  http://yourls.org/
Description: Host YOURLS on an IDN domain
Version:     1.0
Author:      Ozh - http://ozh.org/

This plugin is to have YOURLS hosted on a IDN domain

THIS PLUGIN REQUIRES YOURLS 1.5.2 to 1.7.9 (version above this don't need this)

Installation

  • Create a directory named 'yourls-idn/' into your 'user/plugins/' directory
  • Upload all files contained in this archive into that newly created directory
  • Head to your YOURLS admin area and the Plugins management page, then activate the YOURLS IDN plugin.

Configuration

Before you activate the plugin, you must ensure that your config.php is correct.

The constant YOURLS_SITE must be set to your domain with ACE (Punycode) notation. It must not contain any UTF8 or other non-ASCII characters.

  • For instance, if your YOURLS' URL is: http://héhé.com
  • You must have: define('YOURLS_SITE', 'http://xn--hh-bjab.com');

To convert from IDN to ACE (or Punycode, the one that starts with xn--), you can use a tool like this one from VeriSign or Punycoder