links for 2007-11-17
-
Deny all access to files, no www, error page, redirect directives, access restriction
Sencillo truco que nos puede ayudar a redireccionar nuestra web a la versión móvil cuando nos visite un usuario desde un iPhone, una Blackberry o una Palm
RewriteCond %{HTTP_USER_AGENT} ^.*iPhone.*$
RewriteRule ^(.*)$ http://mobile.yourdomain.com [R=301]
RewriteCond %{HTTP_USER_AGENT} ^.*BlackBerry.*$
RewriteRule ^(.*)$ http://mobile.yourdomain.com [R=301]
RewriteCond %{HTTP_USER_AGENT} ^.*Palm.*$
RewriteRule ^(.*)$ http://mobile.yourdomain.com [R=301]
Redirect iPhone, Blackberry, & Palm Requests With .htaccess
Vía / @jlantunez
On the These Days blog there’s a recent post talking about creating a mobile version of your site and how you can detect if the visitor is using a mobile browser or not using WURFL. WURFL, The Wireless Universal Resource File (WURFL) is an open sourc …