![]() | | ||||||||
| | #1 |
| Active Warrior War Room Member Join Date: Oct 2007 Location: , , .
Posts: 72
Thanks: 0
Thanked 3 Times in 3 Posts
|
I would like to test out another landing page, but I want to be all types of traffic, not just PPC traffic or anything. How could I happen to do this?
|
| | |
| | #2 |
| Active Warrior War Room Member Join Date: Jun 2004 Location: , , .
Posts: 33
Thanks: 0
Thanked 1 Time in 1 Post
|
you could do it with php. $rand = rand(1,5); if($rand == 5) { redirect to page2; } else { redirect to page1; } this type of thing. (the "redirect to page2" is not exact code - you'd have to use a 'header' command and I forget the syntax) Or you can just show a different page depending on $rand; |
| | |
| | #3 |
| Active Warrior Join Date: Nov 2008 Location: michigan
Posts: 56
Thanks: 3
Thanked 7 Times in 7 Posts
|
here is the PHP Header code header("location: http://yourUrl.com"); if you use this code though make sure to use an overflow buffer or the redirect will not work. put this at the top of your script: <?php ob_start(); ?> then this goes at the bottom: <?php ob_flush(); ?> |
| | |
| | #4 |
| Advanced Warrior Join Date: Jul 2007 Location: Coventry, United Kingdom.
Posts: 511
Thanks: 39
Thanked 32 Times in 26 Posts
|
cool guys well done
|
| http://www.youroutsourceteam.com/ "You can get anything in life you want if you help enough people get what they want." -Zig Ziglar Sunday Night Done Right Your Goals & The Week Ahead http://www.talkmarketingnow.com Sundays 7pm EST | |
| | |
![]() |
|
| Tags |
| 20%, 2nd, landing, page, random, visits |
| Thread Tools | |
| |
![]() |