Last active
December 19, 2015 21:39
-
-
Save argyleink/6021918 to your computer and use it in GitHub Desktop.
Dead simple ipad (or whatever), redirect to custom index.html. I made this so that the viewport meta data can be present immediately for ipad, to prevent flashing of content. This is a great way around many JS hacks.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RewriteEngine On | |
RewriteCond %{HTTP_USER_AGENT} "ipad" [NC] | |
RewriteRule ipad.html [L,QSA] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment