Redirect Your MySpace Traffic

Well, we all know that MySpace pages have the potential to drive a ton of traffic. Sure, it takes some work to build an extensive network, but eventually many people have gotten their MySpace pages to the point where they might have 1000+ uniques per day running through these pages.

Many slightly devious minds have realized the selling potential of these pages, and place affiliate programs on their MySpace pages, hawking everything from ringtones to jewelry to pr0n and other less ethical products. Now, if you are using MySpace for affiliate marketing, I am sure that you must be somewhat frustrated with the limited freedom you have in creating Myspace pages. In short, they suck.

So, wouldn’t it be nice if you could redirect all of your MySpace visitors to a landing page or website of your choice? Well, this isn’t nearly difficult as you might think. Let’s set up a Flash redirect. To pull this off, you will need a Linux box, and a text editor, and a server of your own somewhere.

First things first, you must install the Ming package. Ming is a library for generating Macromedia Flash files (.swf). This can be done in any Debian based Linux distribution by running:

apt-get install libming-util

Now, in your favorite text editor, create a file with the following text:

getURL("http://www.example.com");

Substitute the URL for the site you want to redirect to in place of ‘www.example.com’ above. Save this file as redirect.as. Now run the command:

makeswf redirect.as

This will produce a file called out.swf. Upload this file to a webserver where you can now fetch it from an external page.

The final step is to include the new flash file in your MySpace page. Include the following code somewhere on your MySpace page:


Make sure to change the src tag in the code above to point to the location of your out.swf. This will enable you to redirect your visitors to the page you specified when creadting your redirect.as. Good Luck!

P.S this may not work for much longer. MySpace is upgrading to Flash 9. This code may or may not work. The issue is that MySpace is now forcing allowScriptAccess=”never” on all embeds, which stops the browser from redirecting. If anyone knows how to avoid this, please comment!

8 Comments so far

  1. Tim @ November 19th, 2006

    I wish I knew how to combat that. Is there any way to create the redirect file without linux? Thanks - Tim

  2. DJ @ December 8th, 2006

    Yeah, I just installed Macromedia Studio with Flash and created the .swf file there. You just insert an Action to getUrl and export the file as an .swf

  3. robyn @ February 3rd, 2007

    i’m having some major trouble with my myspace.
    my browser keeps telling me i cant be redirected. myspace is working on everyother computer UNTIL i try to log on. its obvisouly not just a glitch, but i believe some how someone redirected my myspace. is there a way you can help me & get it back?
    -robyn

  4. Dave @ March 9th, 2007

    Well, I have been looking into this issue about MySpace not allowing getURL to work. There is an interesting piece of info, that I am going to pass on. If you try to embed a flash object with either a myspace or snocap as the domain name, the does not get put in.. A bit of a monopoly huh? lol

    Anyway, my mind thinks if there was a way to get even a small .swf onto either snocap or myspace with some getURL’s in there, we would have a solution. So far no luck though. I will keep you posted.

    Dave

  5. Dave @ March 9th, 2007

    oh great it stripped my tag..

    Well, I have been looking into this issue about MySpace not allowing getURL to work. There is an interesting piece of info, that I am going to pass on. If you try to embed a flash object with either a myspace or snocap as the domain name, the allownetworking = internal does not get put in.. A bit of a monopoly huh? lol

    Anyway, my mind thinks if there was a way to get even a small .swf onto either snocap or myspace with some getURL’s in there, we would have a solution. So far no luck though. I will keep you posted.

    Dave

  6. Zach @ April 5th, 2007

    I think I might have a way but I need to know what I can the value in allowScriptAccess” value=”never” be. I know I can set it to always but that param is blocked now. what else can I set it to be?

  7. john @ June 11th, 2007

    hey, is there a way to do this in windows? is it a ming beta for windows??? plsss

  8. David @ July 19th, 2007

    Hell, yes, it’s a bit of a monopoly on SnoCap’s music sales. They are charging a yearly fee after the first year.

    Our company wanted to set up our own sales and created a simple sample of my music that you can check out at myspace.com/davidpetersonharvey if you’d like. Imagine our surprise when we found out MySpace only allows its monopoly buddies to manufacture widgets that will work with the getURL function.

    What a crock! The honest suffer for what crooked people have done and those if power make sure they benefit from it by finding a way to benefit from our restricted freedoms. Sounds like MySpace is getting more like our current government every day. LOL

    Peace,
    David

Leave a reply