uspc / affiliate-redirect
There is no license information available for the latest version (dev-master) of this package.
Tool for Redirecting Affiliate Links
dev-master
2018-07-08 09:21 UTC
Requires
- php: >=5.5.0
- uspc/affiliate-api: dev-master
This package is not auto-updated.
Last update: 2026-03-07 03:20:23 UTC
README
1. Put this project into root _affiliate_ folder
2. Add following lines into website root file .htaccess
RewriteEngine On
RewriteCond %{REQUEST_URI} ^/track$
RewriteRule .* /affiliate/affiliate-replace.php [L,QSA]
RewriteCond %{REQUEST_URI} ^/go$
RewriteRule .* /affiliate/link-redirect.php [L,QSA]
RewriteCond %{REQUEST_URI} ^/details$
RewriteRule .* /affiliate/link-info.php [L,QSA]
3. Set parameters (copy first from parameters.dist.php)
cp parameters.dist.php parameters.php
vim parameters.php