1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

code to rotate affiliate urls via htaccess?

Discussion in 'HTML & JavaScript' started by makingfastcash22, Mar 12, 2009.

  1. makingfastcash22

    makingfastcash22 Senior Member

    Joined:
    Feb 15, 2009
    Messages:
    1,152
    Likes Received:
    178
    Home Page:
    Hope this is the right place to ask this question.

    Is there a way to use htaccess to replace clickbank or other affiliate ids on a random basis?

    some way that when it detects a ...say clickbank id it takes their ID and replaces it with mine, but say only 5 or 10 % of the time?

    Hope I am explaining this correctly.

    Thanks for any help.
     
  2. SleepieGirl

    SleepieGirl Regular Member

    Joined:
    Mar 7, 2009
    Messages:
    439
    Likes Received:
    290
    Occupation:
    Need Custom Programs? Message Me!!!
    Location:
    TenDollarBlog.com
    im not positive but i think you would need to load there page in a php script of your own and the script could change the links before it serves the page to your visitor.