I need to 301 redirect all ?print=yes
URLs to the URLs without ?print=yes
that contain the same name in them through .htaccess
. Currently the button to PRINT
is present in the header of the website so it's more than 70 URLs to fix... Removing the button to PRINT
the page will ruin the design quite a bit, so it's not really an option.
I think it needs to be a RedirectMatch
rule, but how do I write it?
Example: redirect 301 from domain.com/faq/?print=yes to domain.com/faq
Thanks in advance!