开发者

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

开发者 https://www.devze.com 2023-02-10 05:30 出处:网络
How can I sniff out desktop users a开发者_如何学JAVAnd send them to regular (non-mobile) site when they find the mobile site listed in google?

How can I sniff out desktop users a开发者_如何学JAVAnd send them to regular (non-mobile) site when they find the mobile site listed in google?

Thank you for any insight!


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/


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? :-)


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

0

精彩评论

暂无评论...
验证码 换一张
取 消