How to redirect desktop users away from mobile site... to regular site?

2.1k views Asked by At

How can I sniff out desktop users and send them to regular (non-mobile) site when they find the mobile site listed in google?

Thank you for any insight!

3

There are 3 answers

8
Martin de Keijzer On

You can check the HTTP-headers for the type of browser the user is using and redirect to the correct site. There is also a nifty framework for it; http://detectmobilebrowsers.mobi/

0
Haggen Kennedy On

Dave,

There's a really interesting article about it on Google Central. You should check it out.

While I'm aware that it doesn't answer your question, it's totally worth reading. As I'm on this very same quest, I'd appreciate if you could share with us whatever way out of this predicament you get to find.

By the way, can you post your website URL here for the rest of us to see? :-)

0
Richard On

You could use www.handsetdetection.com in reverse to redirect people from your mobile site back to your standard site.