we have a script that redirects visitors to different versions of the site based on the cookie they have.
the problem is if a visitor come in to the site on a sub page so for example if a visitor goes to mydomain.com/page-reguested.html
based on a value they may be directed to
version1.mydomain.com/index.html
where as they should go to version1.mydomain.com/page-requested.html
This is quick small fix for the right person
