-->

Mobile redirection with Javascript

Put this in default page that will load and with script tags.

<script>
if( /Android|webOS|iPhone|iPod|BlackBerry|Symbian|IEMobile/i.test(navigator.userAgent) ) {
window.location = "mobile";
}
</script>
Share on Google Plus

About RAJA SEKHAR REDDY GENUPULA

This is a short description in the author block about the author. You edit it by entering text in the "Biographical Info" field in the user admin panel.