Give the gift of Drupal. All merchandise is 50% off through 2016.
So the redirection works fine when its controlled by the website. But i noticed one thing that happens. So let's say the user is on the mobile website m.domain.com and he clicks a link that would send him to the desktop version which would be www.domain.com/?device=desktop if the user clicks the button go back to mobile which is m.domain.com/?device=mobile it works fine.. but if he clicks the back button on the browser it will load the page using the desktop theme. Any way around this ?