0

since the user agent for Android Mobile and Android Tablet are the same, I am not able to filter Android Tablet requests, so that I could redirect to desktop version instead of mobile site..

IIS 7

for {HTTP_USER_AGENT}

blackberry|iphone|ipod|android|windows\ ce|htc|midp|j2me|palm|nokia|symbian|sonyeric|motorola|motorazr|motorizr|motorokr|mot\-|moto(v|e|q).+|samsung|^sch\-|^sgh\-|^lg\-
Raptor
  • 53,206
  • 45
  • 230
  • 366
Dew
  • 139
  • 2
  • 15
  • *since the user agent for Android Mobile and Android Tablet are the same* Incorrect. See this: http://stackoverflow.com/a/5344382/188331 – Raptor Mar 17 '14 at 07:22

1 Answers1

0

This is incorrect. Mobile Android has "Mobile" string in the User-Agent header. Tablet Android does not

see this https://stackoverflow.com/a/5344382/

Community
  • 1
  • 1
Omar Sedki
  • 608
  • 6
  • 14