3 ms·
I am bit reticent in using the .htaccess in this package; how would you go about still offering the option to visit the standard website? This seems to directly
by jrnkntl 16y ago
I am bit reticent in using the .htaccess in this package; how would you go about still offering the option to visit the standard website? This seems to directly redirect all mobile user agents to the mobile variant.
- paulirish 16y agoRight now that UA sniff to mobile redirect is a little undercommented. We'll address this. We just wanted to highlight one of the most robust detection sniffs available. It is left commented out by default. And it's up to you in case you want to hijack your mobile users to toss them to your mobile site. (And yes I agree we should allow them to go back) I've filed this ticket so we can do a better job of explaining this code's presence: https://github.com/shichuan/mobile-html5-boilerplate/issues/15 https://github.com/shichuan/mobile-html5-boilerplate/issues/...
- shichuan 16y agothe boilerplate is always delete/add friendly, as Paul mentioned, we will hear more voices. thanks for bringing this up :)