'/' Redirect to 'https://example.com/'
'/abc/' Redirect to 'https://example.com/abc/'
'/pages/' Redirect to 'https://example.com/mypage/'
'/pages/abc/' Redirect to 'https://example.com/mypage/abc/'
That all looks fine assuming example.com is a different site. Did you try it? Did it not work as expected? If so, why not, what behaviour are you seeing?
Why didn’t I try it myself? Because I had some problems with the network environment at that time, it was difficult for me to access the Cloudflare Dashboard at that time, but I could connect to the Cloudflare Community, so I came here to ask questions.