Forum Moderators: phranque
I've searched this forum and others but can't seem to find a working solution. Please forgive me if this has already been said somewhere else here.
How would I 301 redirect this product:
domain.com/shop/item.asp?itemid=1319
to
domain.com/prod/new-product-6930.html
I've tried many variations but I can't get any to work. It seems like this would work but doesn't:
RewriteEngine on
Options +FollowSymLinks
RewriteCond %{QUERY_STRING} itemid=1319 [NC]
RewriteRule ^http://www.domain.com/prod/new-product-6930.html? [R=301,L]
Any help is appreaciated. Thanks!
RewriteCond %{QUERY_STRING} itemid=1319 [NC]
RewriteRule (.*) [domain.com...] [R=301,L]