Forwarding url without taking subdomains

Good day,
I hope you can help me. I have two websites, lets say and but i want to redirect people from to, however, has a subdomain for example and that one I don’t want it to be redirected to So for example if someone trys to type, they will be redirected to but if they put, they would stay in

What I tryed is adding a Forwarding URL rule, which it works redirecting to but doesn’t work with with (nor* )

How can I achieve that?

Thank you very much

Create a bulk redirect rule for the apex only.