Device detection

Regarding. Device detection

I would like to automatic detect device, and redirect to a particular URL, depending on the following device information:

  • Device (IOS, Andorid, Windows, MacOS, Linux)
  • Browser (Chrome, Firefox, Safari, Edge)

How to do this the best way, and do i have to chose PHP or Javascript ?
#######################################

Both will rely on unreliable information (namely, the browser’s UserAgent).

The question probably is better asked, WHY do you want to detect this information?

2 Likes

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.