I am trying to redirect a few URLs from a dynamic shopping cart. I am only looking to redirect a few of the thousands of total URLs right now because the web designer setup a few static pages. The URLs that I am trying to redirect look like so... http://www.site.com/wecs.php?store=name&action=category_view&target=1&usetemplate=default_cat Final destination would look like so... http://www.site.com/category-name/ What would be the proper way to 301 these few URLs? Thanks in advance for your help.
RewriteRule ^wecs.php?store=name&action=category_view&target=(.*)&usetemplate=default_cat$ http://www.site.com/$1 [R=301,L] try that ..