DRE
Well-known member
This should be added to first post because some people are too slow to look for the change style link at the bottom and change to mobile.
Redirect to the mobile version using a sub-domain
Create a sub-domain of your choice, such as mydomain.com/m/ or mydomain.com/mobile
In the sub-domain create a php file called index.php with the following code in it:
Of course point the mydomain.com to the install of your xenforo, and the # being the style numberCode:<?php header("Location: http://mydomain.com/misc/style?style_id=#"); ?>
*Shout out to Jake for this
____________________________________________________________