I have created a page rule :
URL: *example1.org/*
Setting: Forwarding URL
Status: 302
Destination URL: https://example2.com
Above rule is working fine with http and https but not working with www. Thank you in advance for your kind help.
NOTE: There is an A entry for domain and CNAME entry for www in cloudflare DNS, both proxy enabled.