Transform posted links into affiliation links with ease
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.
The initial version of this extension was sponsored by profesionalreview.com.
If you're only looking to add your Amazon Affiliate Tag to links, check out our Amazon Affiliation extension.
Use Bazaar or install manually:
composer require flagrow/affiliation-links
composer update flagrow/affiliation-links php flarum migrate php flarum cache:clear
Check out how to support Flagrow extensions at flagrow.io/support-us.
If you discover a security vulnerability within Affiliation Links, please send an email to the Gravure team at firstname.lastname@example.org. All security vulnerabilities will be promptly addressed.
Please include as many details as possible. You can use
php flarum info to get the PHP, Flarum and extension versions installed.