uspc/affiliate-redirect

此包最新版本(dev-master)没有可用的许可证信息。

用于重定向联盟链接的工具

dev-master 2018-07-08 09:21 UTC

This package is not auto-updated.

Last update: 2024-09-20 20:36:36 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