I have a huge number of 404 errors that all contain the string /Print?tmpl=component in the url, so I'm wanting to redirect any URL's with that string to my home page.
I tried adding the following to the admin tools .htaccess maker in the Custom .htaccess rules at the top of the file area, but it didn't work.
RewriteEngine On
RewriteCond %{QUERY_STRING} (^|&)tmpl=component(&|$)
RewriteCond %{REQUEST_URI} ^/Print
RewriteRule ^(.*)$ /? [L,R=301]
All suggestions appreciated