smartphone - Redirect feature phone users to another site -


i have website works on tablets, mobiles , desktops. when users access site via feature phone nokia asha or similar site doesn't work @ all. what's best way redirect users of these types of devices basic version of website?

i've had @ http://detectmobilebrowsers.com/ detects types of mobiles mobile. there way differentiate between smart phones , feature phones?

cheers

shaun

i suggest detect touchscreens. if understand matters/remember correctly, feature phones not have those. should able redirect such phones this:

if (!('ontouchstart' in window || window.navigator.mspointerenabled)) {     window.location.href = 'http://www.yourdomain.ext/feature_page.ext'; } 

Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -