Title: WP Plugin redirect for split test in a loop?
Last modified: August 20, 2016

---

# WP Plugin redirect for split test in a loop?

 *  [jaybaker](https://wordpress.org/support/users/jaybaker/)
 * (@jaybaker)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/wp-plugin-redirect-for-split-test-in-a-loop/)
 * I am working on a new plugin that is supposed to store 2 urls in the wp-options
   table. As far as I can tell it does what it is supposed to do though when it 
   comes to the point of generating the random number and redirecting to one of 
   the 2 urls it goes there and to the second, back to the first and so on… I am
   not using frames and do not have the code added in twice.
 * Any ones help to fix this error is greatly appreciated.
 * _[Code moderated as per the [Forum Rules](http://codex.wordpress.org/Forum_Welcome#Posting_Code).
   Please use the [pastebin](http://wordpress.pastebin.com/)]_

The topic ‘WP Plugin redirect for split test in a loop?’ is closed to new replies.

 * 0 replies
 * 1 participant
 * Last reply from: [jaybaker](https://wordpress.org/support/users/jaybaker/)
 * Last activity: [14 years, 11 months ago](https://wordpress.org/support/topic/wp-plugin-redirect-for-split-test-in-a-loop/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
