I can't get this redirect to function:
RewriteEngine on
RewriteBase /
RewriteCond %{HTTP_USER_AGENT} iPad|iPod|iPhone|Android|s+Mobile
RewriteRule .* mobile.php
I'm testing it using my Android phone, and also using the user-agent switcher in Google Chrome dev version.
I tried AllowOverride All
but it makes the server, running Zeus, reply with an access denied message.
It is a shared host and so I do not really have access to any server logs that I know about.
Redirect mobile browsers