Cloaking Myspace Landing Pages From Editors

Posted by admin | Posted in Cloaking, Myspace | Posted on 05-10-2008

If you haven’t heard already, which you should have Myspace launched an in-house advertising network.  The first several days on the network were like a free for all.  I had ads approved that I know were NSFW, but net damn high CTR’s for dating offers.  They have started to crack down in the last several days on the content in the ad, and at least for me, really hard on landing pages.  As many have learned on Facebook, cloaking your landing page from an editor (aka Intern), and sending them to a reputable or less risque site has become standard practice.

Myspace editors do not leave a referring source, like Facebook editors, when they view your landing page, but they do all seem to use the same IP address.  So instead of cloaking based on referral source like I do on Facebook (which I will post my script later), I cloak based on IP address.  This is the code and IP address I have been using to cloak my pages from Myspace editors.  Just paste this at the top of your landing page. It is very simple, but gets the job done, enjoy.

<?php
$visitor = $_SERVER['REMOTE_ADDR'];
if (preg_match(”/216.205.224.64/”,$visitor)) {
header(’Location: http://www.url-you-want-editor-to-see.com’);
};
?>

Share:
  • StumbleUpon
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Technorati
  • Google
  • Mixx
  • Bumpzee
  • Propeller
  • Reddit
  • SphereIt
  • PlugIM
  • TwitThis

Comments (6)

  1. You making any cash from MySpace Ads?

  2. What if your landing page is a redirect page to an affiliate site?

    How would you go about doing that?

    As soon as a user click on the banner it gets redirected via landing page to the affiliate site.

  3. Just place that script above the redirect in the file.

  4. @C I am doing ok on Myspace, but haven’t seemed to be able to keep my ads up long enough to do any decent volume.

  5. I am getting this error

    Parse error: parse error, unexpected T_DNUMBER in /hsphere/local/home/xxxx/xxxxx.com/ad/xxxx.php on line 22

  6. Figured it out. The double quotation around the ip needs to be retyped. For some reason, website does not recognize the copied “double quotation” straight from the website.

Write a comment