I’m looking to perform split testing between 3 different pages.
I’m using a uber simple rotate.php file as my index that doesn’t yet have a rotate ability. Here is what it contains:
<?php header('Location: http://stackoverflow.com');?>
How can I add more URLs, then evenly rotate between them?
If you’re looking to A/B/C test these pages and you use Google Analytics, I’d recommend looking into Google Website Optimizer.
If you still want to do it on your own, you can use something like Brad’s answer. However, if you want a decent result, don’t forget to cookie the user and make sure you send them to the same page each time. For example: