How does MJ! identify that a phone device is viewing the website?

strodick
14 years ago
How does MobileJoomla! identify that a phone device is viewing the website? I would like to understand how the system know that a phone device is accessing the website versus a browser. e.g. Let's say someone types in www.domainname.com directly into their phone. How does that then get directed to one of the subdomains associated with MobileJoomla and the customized phone landing pages?
dryabov
14 years ago
According to HTTP protocol (RFC2616) each browser should send special "User-Agent" string that includes browser name, version, and some other data. MobileJoomla uses WURFL (huge database of mobile devices User-Agents) to determine device type and choose corresponding template.

By continuing to use this site you consent to the use of cookies on your device as described in our cookie policy unless you have disabled them. This site will not function correctly without cookies.

I accept cookies from this site.