Plugin for YOURLS 1.5+.
Limit redirections of a specific link with '_' + 'number' added to this link.
- In
/user/plugins
, create a new folder namedlimited-links
. - Drop these files in that directory.
- Go to the Plugins administration page ( eg
http://sho.rt/admin/plugins
) and activate the plugin. - Have fun!
- Create your short URLs as usual
- Pick the generated short URL then append
_
(or your ownLIMIT_BEFORE_CHAR
) - Then append the number which correspond to the hits limitation
- 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.
Character _
could be change in plugin.php
.
- Locate
define( 'LIMIT_BEFORE_CHAR', '_' );
at line 12 - Change
_
with your specific character