I have this redirect
RewriteRule ^on-the-yard/detail/?$ /on-the-yard/ [R=302,NE,L]
and I would like to use it ONLY when the exact URL matches ^on-the-yard/detail/?$
, but the problem I'm having is that the URL is also redirecting when there are queries attached.
E.g. on-the-yard/detail?param=1¶m2=test
is redirecting to /on-the-yard/
Any advice is helpful Thanks!