PHP redirect affiliate ads to avoid ad blockers

Discussion in 'PHP' started by Zanswer, Dec 7, 2007.

  1. #1
    Do you use php redirect (or a better way) to avoid affiliate ads being blocked by those ad blockers? I think it is fairly easy to deal with text ads, which are not blocked by the way, but how would you redirect banner ads? Do you have to host the images at another location because CJ's servers are targeted? Any pointer is appreciated.
     
    Zanswer, Dec 7, 2007 IP
  2. dsnj

    dsnj Peon

    Messages:
    30
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You can just use a simple PHP script with code like <?php header("Location: http://redirecturl"); ?> and point to that PHP script instead of the redirecturl.
     
    dsnj, Dec 7, 2007 IP
  3. joebert

    joebert Well-Known Member

    Messages:
    2,150
    Likes Received:
    88
    Best Answers:
    0
    Trophy Points:
    145
    #3
    //Edit - Should have read it better.
     
    joebert, Dec 7, 2007 IP
  4. Zanswer

    Zanswer Peon

    Messages:
    264
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Thanks. Has anyone done this with CJ advertisers who don't specifically allow URL redirect? Any problems with CJ?

     
    Zanswer, Dec 9, 2007 IP