PDA

View Full Version : Mobile Browser Detection & Forwarding



Jayman
17 Aug 2010, 11:12 AM
Hello,

This is my first time posting on this forum, so I hope you don't mind the question.

I'm aiming to develop more "mobile-friendly" versions of some of my websites and I am in search of a simple way to redirect a mobile browser to some more mobile-optimized versions of websites I manage.

example: If I use the browser on my old G1 phone (or even a new iPhone 4) to visit www.jamie.com I'd like to redirect that to mobile.jamie.com

I've already set up some subdomains, and figured that after getting the forwarding part working, I'd set up some quick test pages.

Could you please share your best suggestions. I had thought a javascript would do the trick, and there are certainly a few out there, but... are there better solutions?

ps. I've also been looking at some ".mobi" conversion services, but I don't really like how they output the websites. My thoughts right now are that I could develop some "simplified" sites on my own to maintain some better control.

Thanks in advance to anyone who's listening and can help.