In my .htaccess I'm trying to redirect the following page:
/category/item?id=81
To the following URL:
/category
This is where I got to far (it's at the top of my mod rewrites):
RewriteCond %{REQUEST_URI} ^/category/item$
RewriteCond %{QUERY_STRING} ^id=81$
RewriteRule ^(.*)$ http://mywebsite/category? [L,R=301]
However it's not redirecting the page. Just wondering if there's anything I need to add to this to get it to work?
RewriteEngine onmight help