Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/LeoColomb/yourls-limited-links
Plugin to limit redirections of a specific link with a '_' + 'number' added to this link
https://github.com/LeoColomb/yourls-limited-links
php redirection yourls
Last synced: 1 day ago
JSON representation
Plugin to limit redirections of a specific link with a '_' + 'number' added to this link
- Host: GitHub
- URL: https://github.com/LeoColomb/yourls-limited-links
- Owner: LeoColomb
- Created: 2012-07-06T10:19:01.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2014-06-07T14:33:57.000Z (over 10 years ago)
- Last Synced: 2024-10-14T20:39:00.753Z (20 days ago)
- Topics: php, redirection, yourls
- Language: PHP
- Size: 160 KB
- Stars: 4
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome - Limited Links - limit the number of redirections of a specific link. (Plugins / L)
README
Limited Links
=============Plugin for [YOURLS](http://yourls.org) 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