daniel27lt Posted April 1, 2012 Share Posted April 1, 2012 Just want to let anyone know who does not know already the script to redirect your website to the iPad for your users who use a iPad. this is not the code to redirect to your mobile site, but to your iPad site (if you have one). <script language=javascript><!--if ((navigator.userAgent.match(/iPhone/i)) || (navigator.userAgent.match(/iPod/i))) { location.replace("http://url-to-send-them/iphone.html");}--></script> The highlighted red is where you place the url where your ipad site is. I hoped this has helped for anyone needing help with this subject. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.