Multi-Purpose Affiliation Links Generator for Flarum
This extension allows you to automatically turn links into custom affiliate or redirect links.
You can define a list of rules that once matched will turn the url into another value.
You can then inject the original url as part of that new url.
For example you can create a rule so that every url with domain
niceshop.tld gets rewritten as
This will turn links like
You can create more advanced rules with regular expression matching and capture groups.
This extension can be installed on Flarum beta 10.x only.
composer require kilowhat/flarum-ext-affiliation-links
This extension replaces flagrow/affiliation-links and will automatically import its data.
A KILOWHAT extension
This extension was written by Clark Winkelmann as part of a client contract and released under the MIT license in the hope that the code will be useful to others.
This extension is published on Packagist and you are welcome to install it on your own forum, however no free support is offered.
Please contact me if you are interested in contracting me to add features or update this extension.
I'm publishing this extension on Discuss so it can be found and referenced more easily, however I'm not taking any feature request. If you'd like to develop an extension with me please see the link above.