Hi, I'm wanting to redirect: http://sub.mysite.com/?rss=1 to: http://sub.mysite.com/pages/rss This isn't working: Redirect 301 /?rss=1 http://sub.mysite.com/pages/rss I get an infinite loop. Maybe I need to use mod_rewrite instead of redirect?
OK, I was wrong. It's not an infinite loop. It's just not redirecting at all. I'm just learning about .htaccess and after doing more research it's because of the question mark. I believe I have to do a combination of a redirect and a mod_rewrite?
I apologize for replying to my own thread but I found a solution. RewriteCond %{QUERY_STRING} ^rss=([0-9]*)$ RewriteRule $ http://sub.mysite.com/pages/rss [R=302,L] Code (markup): That seems to work just fine.