Page 1 of 1

mobile redirect

PostPosted: Wed Aug 05, 2009 5:26 pm
by cking
currently we have 2 separate websites / address ones for mobile users and ones for all other users. What I am looking for is a solution either page / script or server based way to forward the mobile user from our main non mobile site to the mobile one if they choose to use that address instead. But, still allow regular users to pass thorough to the non optimized site.

Re: mobile redirect

PostPosted: Wed Aug 05, 2009 8:33 pm
by Gecko
cking,

The most common way to do this is by a java script Screen Resolution Redirect.
Like the one found here:
http://www.java-scripts.net/javascripts ... tion.phtml

The fact that you want to be able to have mobile users have the option makes it a little more difficult.
I would say the easiest way would be to use the above script and then just put a link to the regular site in the mobile page header.

Otherwise your looking at coding some custom functions or using a form and cookies.

Re: mobile redirect

PostPosted: Thu Aug 06, 2009 9:44 pm
by cking
thanks but Im looking for an ASP based solution that will say this user is using a mobile device send them to http://www.m.a.com or this user is using a regular computer send them to http://www.a.com