I want to redirect some url, but got some problem with it. The urls like:
/sample?back=my-account
/sample?back=history
/sample?back=addresses
And need to redirect to
/sample
My last try was this (but didn't work):
RewriteCond %{QUERY_STRING} ^?back=history$
RewriteRule ^sample$ /sample [R=301,L]
^sample/?back=?