If you insert this code into the header file of your theme it will redirect you to the correct mobile version. But I want this to be for all aspects of messaging and I can only redirect to one page.
Code:
<script language=javascript>
<!--
if((navigator.userAgent.match(/iPhone/i)) || (navigator.userAgent.match(/iPod/i)))
{
location.replace("iphone/home.html");
}
-->
</script>
Each page loads a header but I couldn't figure out how to implement it. Any help would be appreciated.