Would this work?

Discussion in 'Black Hat SEO' started by da buck, Aug 26, 2008.

Thread Status:
Not open for further replies.
  1. da buck

    da buck Regular Member

    Joined:
    Feb 24, 2008
    Messages:
    317
    Likes Received:
    116
    Location:
    Ohio
    I mentioned this in another thread, but I'm not sure if I made sense. I have a domain that I purchased to use specifically for a CPA offer. I am currently using a double meta refresh to hide my referrer. What I don't like is that it is taking people away from the URL I just purchased and shows the URL of the CPA product. If I iframe using the following code will it still hide my referrer from the network?

    mysite.com
    Code:
    <html>
          <head>
               <title>Title</title>
          </head>
          <body style="margin: 0px; padding: 0px;" scroll="no">
               <div style="display: none;">Blah Blah Blah Content</div>
               <iframe src="http://www.mysite.com/refresh1.php" style="border: 0px; width: 100%; height:100%;"></iframe>
          </body>
    </html> 
    mysite.com/refresh1.php
    Code:
    <?php
        {
            echo "<meta http-equiv=\"refresh\" content=\"0;url=http://www.mysite.com/refresh2.php\">";    
        }
    ?>
    mysite.com/refresh2.php
    Code:
    <?php
    
        $referer = $_SERVER['HTTP_REFERER'];
    
        if($referer == "")
    
        {
    
            echo "<meta http-equiv=\"refresh\" content=\"0;url=http://affiliatesite.com">";    
    
        }
    
    ?>
     
  2. vistacmarketing

    vistacmarketing Newbie

    Joined:
    Aug 12, 2008
    Messages:
    40
    Likes Received:
    3
    and by the way, thanks for the code!
     
  3. da buck

    da buck Regular Member

    Joined:
    Feb 24, 2008
    Messages:
    317
    Likes Received:
    116
    Location:
    Ohio
    I got most of it from here. So you should thank ximscreamingx, he posted the double meta refresh.
     
  4. da buck

    da buck Regular Member

    Joined:
    Feb 24, 2008
    Messages:
    317
    Likes Received:
    116
    Location:
    Ohio
    Just a quick note. This won't work in IE. The final page does not load.
     
  5. turbotec

    turbotec BANNED BANNED

    Joined:
    Apr 5, 2008
    Messages:
    181
    Likes Received:
    15
    yeah I think I had the same problem as Da Buck.
     
  6. Siek

    Siek Regular Member

    Joined:
    Feb 4, 2008
    Messages:
    456
    Likes Received:
    294
    ohhh nice find.. i would have lost so many conversions lol
     
  7. genie1

    genie1 Junior Member

    Joined:
    May 30, 2008
    Messages:
    151
    Likes Received:
    50

    I had some issues with FF3 as well. Supposedly for some redirects FF3 has a security feature which prevents multiple redirections until disabled *sigh*
     
Thread Status:
Not open for further replies.