Skip to content

πŸ”— YOURLS plugin to add per-country support to existing short URLs

License

Notifications You must be signed in to change notification settings

dexzhou/YOURLS-GeoShortURL

Β 
Β 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

GeoShortURL

This YOURLS plugin enables the possibility to have different redirection URLs depending on the country of the visitor, by using YOURLS GeoIP plugin or by using the web server's built-in GeoIP module.

It is strongly recommended to use this plugin along with 302-instead plugin to avoid the 301 caching hell :)

Usage:

For any given short URL you need to 'Geoize' (e.g: http : //my-yourls-installation/blah):

  • use it to create a new short URL with the desired country code suffix (e.g. for France : blah-fr)
  • assign it with your country-specific long URL

How to install this plugin

  1. Create a new directory under the "user/plugins" directory
  2. Save the "plugin.php" file into the directory you created in step 1
  3. Activate the plugin using your YOURLS admin panel

About

πŸ”— YOURLS plugin to add per-country support to existing short URLs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%