Server side redirection script - GitHub
►https://github.com/h5bp/mobile-boilerplate/wiki/Server-side-redirection-script
“Server side mobile redirection script is added at the bottom of the page to detect if user is viewing from mobile device. This is taken from detect mobile browser. If the script detects the user is viewing from mobile phone, they will be redirected to the mobile version of the site.”