Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

If I would like to randonly redirect users to different parts of the page to conduct testing is it possible to do so with rewrite rules and in particular with IIS URL Rewrite tool?

share|improve this question
    
Have you found a solution? I need to implement the same, slice some users to beta version of our web app. –  Tomas Jul 16 '12 at 14:20

1 Answer 1

up vote 1 down vote accepted

You would need to have anchors to each "random" place and do a 301 redirect, which engines can do, but isn't really re-writing.

A better solution would be to use JavaScript. A quick jquery function could achieve this, assuming the browser has JavaScript enabled.

share|improve this answer
    
When you say anchors, what do you mean exactly by them? –  PeanutsMonkey Oct 19 '11 at 1:38
    
Anchors are points in a webpage that the browser can automatically locate (scroll to), and they're indicated by having a # at the end of the url. For example - serverfault.com/questions/322751/… - that jumps you directly to this answer, because the question has an anchor on it with the ID of 322762, and it appears after the # in the URL –  Mark Henderson Oct 19 '11 at 2:09

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.