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

YOURLS plugin: host YOURLS on an IDN domain

Notifications You must be signed in to change notification settings

YOURLS/yourls-idn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

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

About

YOURLS plugin: host YOURLS on an IDN domain

Topics

Resources

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages