We were doing lots of mobile websites lately and was using the below Javascript redirection code but one of our client doesn’t want iPad users redirected to mobile site instead they will access the regular site.

Previous Script – Use this script if you want all mobile users including iPad users redirected to your mobile site.

Current Script – Use this script if you want all mobile users except iPad users redirected to your mobile site.

Note: Place the above script within <head> tag.