![]() |
Mobile redirect script with user agent detection Hi, I have a couple of mobile redirect scripts already. However I can't find one which allows me to single out iPads. Some clients and leads are asking to have their main desktop website still show on iPads by default. I can do this with a screen size detection script but that's not really the best way to go. Does anyone know of a mobile redirect script that will allow me to do this? Regards, Dave |
Re: Mobile redirect script with user agent detection 1 Attachment(s) Ours does that but its for Wordpress... However if your site is php based you could do something like this on the desktop version: Code: If they are it will skip your redirect script if they are not it will run the redirect script based on its own parameters. Using something like this will enable you to combine some of the other scripts you have used already. Hope that helps Cheers Jay |
Re: Mobile redirect script with user agent detection Hey Jay, thanks for that. I'll test it shortly. It's basically just saying if it's an ipad do nothing. Everything else it will process the redirect script which will figure out if it's a pc or mobile phone? Not all of my clients have wordpress so this will be useful for them. Hopefully the product I currently use will have this option in future updates. If not then I will have to check out your wordpress plugin :) Thanks again. Dave |
Re: Mobile redirect script with user agent detection Quote:
|
Re: Mobile redirect script with user agent detection HI! You can use this script. Tablet will show standard Website by defaul. The a javascript and php version of this script. http:// blog.mobileesp.com/ ?page_id=20 We use this script in our commercial mobile Website software (Webelement) and it works perfectly. |
Re: Mobile redirect script with user agent detection Quote:
|
Re: Mobile redirect script with user agent detection Also interested if it lets your visitor go to the main website and not getting auto-red to the mobile version again? If not.... Then I would really appreciate if someone knew of a script (not plugin) that does that. Thanks in advance! Cheers |
Re: Mobile redirect script with user agent detection anyone can share mobile redirect script here? I am using redirect javascript with screen width <=800.. |
| All times are GMT -6. The time now is 01:44 AM. |