daniel27lt Posted April 1, 2012 Share Posted April 1, 2012 (edited) 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. Edited April 1, 2012 by daniel27lt Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now