Skip to main content

Disable Images

Mobile Redirects

Quick question with redirecting to mobile sites. I don't do a lot of them (dedicated ones), I am trying to instead to focus on adaptive design layouts, so bear with me.

I have a redirect script to detect the device and redirect to the mobile site, m.domain.com.

But they want a 'full site' link on the mobile version, so what's the best way to do that and not get stuck in a loop? Because if I just link back to the home page, the script will kick in and bounce them back to mobile.

Should I use another script that checks where they were referred from? If coming from the mobile subdomain, do not redirect? Should I use a cookie? Is there a 'proper' way to implement this in the mobile space?

1515Comments

Skip to main content