Mod_rewrite


#1

hey guys i have a website and im trying to redirect
news/search?var=val
and redirect it to
news/search/var/val
using mod_rewrite

here is my code…if someone could give me any points or any help i would be greatful…thank you

RewriteCond %{QUERY_STRING} ([^=]+)=([^&]*) RewriteRule ^news/search news/search/$1/%2 [R=301]