Based on the use of a wildcard in your example, I presume that you were using a Page Rule.
I would delete that and use a Redirect Rule instead. Examples 3 and 4 in the following guide may help you write your rule.
If i configure all incoming requests, hostname = olddomain.com to point to newdomain.com it works perfectly. but it also redirects all the subdomains.olddomain.com as well. how do i filter that alone?