I have checked a lot of htaccess redirects but I can't seem to find one that suits my needs. We have an old url like this:
www.domain.com/shoes/nike/filter/gender/men
I would like a rule that checks the url for the string 'filter' and 301 redirects it to:
www.domain.com/shoes/nike
Is that possible with htaccess?