Forum Discussion
MOHIT_125417
Altostratus
May 31, 2015Redirect based on mobilephones
Dear Experts,
I got a requirement where we have a Website lifeishappy.com & we want that users coming from Smartphones/mobilephones should redirect to m.lifeishappy.com.
Can the same be achieved
1 Reply
- giltjr
Nimbostratus
You need to scan the UserAgent string for strings that would identify it as a mobile device such as:
Andriod
BlackBerry
iPhone
iPad
Here is a link with a lot of the user agent strings you can look for more common strings:
http://www.useragentstring.com/pages/Mobile%20Browserlist/
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects