Anyone know how to redirect a query string. For example I'm trying to redirect
www.site.com/home.php?cat=20
to
www.site.com/folder/
and
www.site.com/home.php?cat=30
to
www.site.com/folder2/
Thing is I don't want to redirect every hit to home.php just ones that match certain query strings. I've tried a RewriteCond {&QUERY_STRING} in .htaccess but I keep getting 500 errors. Can anyone help me with the syntax?
www.site.com/home.php?cat=20
to
www.site.com/folder/
and
www.site.com/home.php?cat=30
to
www.site.com/folder2/
Thing is I don't want to redirect every hit to home.php just ones that match certain query strings. I've tried a RewriteCond {&QUERY_STRING} in .htaccess but I keep getting 500 errors. Can anyone help me with the syntax?