If I create a redirect rule like this:
/pages/* https://example.com/mypage/:splat 302
/* https://example.com/:splat 302
Will it work properly?
An ideal result.
'/' 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?
Thank you for your answer!
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.
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.