WordPress WooCommerce shop tag archives, love em or hate em!
I'd like to redirect a visit to:
http://example.com/shop-tag/this-silly-tag/
to http://example.com/?s=this+silly+tag
?s= does the search magic with my current theme.
I think this is more useful for my visitors, finding their way via some Google linked tag archive.
I've attempted it with no success. Any .htaccess experts out there with a moment to help me?
RewriteEngine On
RewriteCond %{QUERY_STRING} ^shop-tag/([^&]+)
RedirectMatch 301 ^/shop-tag/(.*) http://example.com/?s=%1? [R=302,L]
Is what I've tried. An ill-educated guess.