Hi,
I have a website where I want to redirect users on a mobile device from the homepage to a subpage such as /news/.
Here is what I have in my htaccess.
When I visit the webpage on a mobile I get an error 310(net::ERR_TOO_MANY_REDIRECTS).Code:<IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{HTTP_USER_AGENT} "android|blackberry|ipad|iphone|ipod|iemobile|opera mobile|palmos|webos|googlebot-mobile" [NC] RewriteCond %{REQUEST_URI} !/news/.*$ [NC] RewriteRule .* /news/ [R=302,L] </IfModule>
If anyone can shed any light on what I have wrong in my htaccess I'd be grateful.
Thanks,
Jon



Reply With Quote
Bookmarks