Skip to content

LeoColomb/yourls-limited-links

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 

Limited Links

Plugin for YOURLS 1.5+.

Description

Limit redirections of a specific link with '_' + 'number' added to this link.

Installation

  1. In /user/plugins, create a new folder named limited-links.
  2. Drop these files in that directory.
  3. Go to the Plugins administration page ( eg http://sho.rt/admin/plugins ) and activate the plugin.
  4. Have fun!

Usage

  1. Create your short URLs as usual
  2. Pick the generated short URL then append _ (or your own LIMIT_BEFORE_CHAR)
  3. Then append the number which correspond to the hits limitation
  4. Share the given URL

Note: In steps 2/3, you're not supposed to edit the link, the first generated URL have to continue to exist.

Optionnal Setup

Character _ could be change in plugin.php.

  1. Locate define( 'LIMIT_BEFORE_CHAR', '_' ); at line 12
  2. Change _ with your specific character

About

Plugin to limit redirections of a specific link with a '_' + 'number' added to this link

Topics

Resources

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages