Plugin for YOURLS
Redirects links through Viglink, adding affiliate codes to applicable URLs
- Clone this repo to
/user/plugins
- Edit
yourls-viglink/plugin.php
with your API key and Custom Domain - Go to the Plugins administration page and activate the plugin.
- Have fun!
GNU GPLv3, included in LICENSE.md or here
If you don't know your API key, manually generate a link here, and copy the key after ?key=
.
To make a custom redirect domain, CNAME your domain of choice to redirect.viglink.com