mod_rewrite to redirect to specific WP page
- by djdy
The goal is to redirect all requests coming to Wordpress from IE 6 and 7, to a specific Wordpress page using mod_rewrite.
My confusion comes from multiple conditions that are needed for the rewrite not entering an endless loop once on the specific Wordpress page. So the condition must be: (IE 6 or 7) and request is not the same as the page we are sending them to.
I've tried things along the lines of:
RewriteCond %{HTTP_USER_AGENT} MSIE\ ([67])\.
RewriteCond %{REQUEST_URI} !iepage
RewriteRule .* /iepage/ [R]
In IE 6 and 7, I get page cannot be displayed errors. Could it really mean too many redirects, because the 2nd condition isn't working?