I have been racking my brain trying to redirect mobile phone visitors to my mobile website
except for a request for a specific file pattern.
The problem is that upon refresh of the browser it momentarily goes out to the mobile site but then returns to the main site.
I viewed the headers with "Live HTTP headers" and it is indeed going out to the mobile site.
The redirect works fine without the "REQUEST_URI" line.
Here is the htaccess code I am using: (again it sort of works but not the way it should)
# Mobile Redirects
RewriteCond %{HTTP_USER_AGENT} android|blackber|htc|phone|mobile [NC]
RewriteCond %{REQUEST_URI} !^(/examplefile)
RewriteRule ^(.*)$ [
mobile.example.com...] [R,L]
Thanks,
Tony