My intention is to redirect mobile devices from the standard mobile main page of blogger to another page made by myself for that purpose.
so I got this code and pasted on the head of the blogger theme template
<script>
if( /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent) ) {window.location.replace("http://mysite.blogspot.com/page-for-mobile.html?m=1");
}
</script>
What it happens is that load endlessly I mean, I don't think that is some connection problem it's more like if starts the load again right before it finishes it.