I like to hear what the other wizards will say about this.
Type: Posts; User: behzad; Keyword(s):
I like to hear what the other wizards will say about this.
If you delete the mobile version then there is no reason why the main site should direct it to your custom mobile version, unless you put the above code into the index page of your main site. If...
You can paste this to your home page when ready.
<script type="text/javascript">
<!--
if (screen.width <= 480) {
document.location = "http://domainname.com/mobilename";
}
//-->
</script>