redirect code for affiliate links

by 2 replies
3
Any one have or can share with me in simple terms or steps the safest and best way to redirect an affialite link?

I know its available to do, I just thought someone might have a very easy and good way to explain it so I can do it, since I have never done it before.

Thanks in advance,
Steve
#programming #affiliate #code #links #redirect
  • My server is a linux platform. I am using html pages so how would I integrate this into a html page, mayeb a short 1,2,3 instructional, if you do not mind, you can even P/M it to me if you would like.
  • As long as your linux server runs PHP your fine. Just test this to find out.
    If you are doing an html page use <?php instead of <? and I also corrected to header function, it would not redirect as coded above

    <?php
    header("Location: http://www.affiliatelink.com/?whatever");
    exit;
    ?>

    1. Copy and Paste the PHP code and save in as an .html and u/l to server. Make SURE that there is no whitespace before the <?php
    ex: hxxp://mysite.com/lander.html
    2. Navigate to hxxp://mysite.com/lander.html and see if it redirects you. If so, success!!

Next Topics on Trending Feed

  • 3

    Any one have or can share with me in simple terms or steps the safest and best way to redirect an affialite link? I know its available to do, I just thought someone might have a very easy and good way to explain it so I can do it, since I have never done it before.