Black Hat Forum
Go Back   Black Hat Forum > Black Hat SEO Forum > Cloaking and Content Generators

Cloaking and Content Generators Discuss Cloaking, Doorway pages and Automatic content generators for search engine optimization

Search
 
Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 09-07-2008, 01:50 AM
Newbie
 
Join Date: Jul 2008
Posts: 49
Thanks: 19
Thanked 73 Times in 7 Posts
Activity: 30%
Longevity: 11%
Today: 1/5
Default Randomizing redirect paths?

Does anyone have a script or know a method to make a redirect link randomly select different paths? For example if my redirect was www.xxxx.com/loans it would redirect to three possible auto loan sites, being randomly picked each time? Thanks!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 09-07-2008, 02:18 AM
Jr. VIP
 
Join Date: Feb 2008
Posts: 242
Thanks: 10
Thanked 51 Times in 27 Posts
Activity: 45%
Longevity: 25%
Today: 2/5
Default Re: Randomizing redirect paths?

I think what your referring to is a URL rotator. You can use this one here:

hxxp://cashtactics.net/free-ruck-reports/
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 09-07-2008, 07:55 PM
Newbie
 
Join Date: May 2008
Posts: 29
Thanks: 2
Thanked 96 Times in 5 Posts
Activity: 32%
Longevity: 15%
Today: 1/5
Default Re: Randomizing redirect paths?

You've got a couple of choices...I incorporated this into my software that I posted here:

http://www.blackhatworld.com/blackha...erator-v1.html

Or if you want to do it by hand, you can use the code below:

Code:
<?php 
$page0 = "";
$referer = $_SERVER['HTTP_REFERER'];
$mypages = array($page0);
$myrandompage = $mypages[mt_rand(0, count($mypages) -1)];
if($referer == "")
    {
        echo "<meta http-equiv=\"refresh\" content=\"0;url=$myrandompage\">";
    }
else
    {
    	echo "<meta http-equiv=\"refresh\" content=\"0;url=rd1.php\">";
    }
?>
For each of your links, you'd need to add a $page variable ($page0, $page1, $page2 for three links) with your links between the " "...if you don't want the referer check, you can omit that...

ND
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 09-10-2008, 07:02 AM
Newbie
 
Join Date: Mar 2008
Location: texas
Posts: 42
Thanks: 2
Thanked 1 Time in 1 Post
Activity: 2%
Longevity: 22%
Today: 0/5
Default Re: Randomizing redirect paths?

This should be easy enough, just add more urls if you wish

Code:
<?PHP

srand((float) microtime() * 10000000);

$url_list = array("http://site.com",
                  "http://site2.com",
                  "http://site3.com",
                  "http://site4.com",
                  "http://site5.com");

header('Location: '.$url_list[rand(0,count($url_list))]);

?>
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 10-09-2008, 05:59 PM
Registered Member
 
Join Date: Sep 2008
Posts: 54
Thanks: 11
Thanked 26 Times in 8 Posts
Activity: 48%
Longevity: 4%
Today: 1/5
Default Re: Randomizing redirect paths?

thank you for the code bosshog. i just added this to my double meta refresh with ability to specify referer. instead of one landing page, i now have as many as i choose - when means more realistic results/stats. simple, but effective!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


Add Your Link



Site protected by Firewall Script


Sitemap: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54