Redirecting to external URL that is hosted by Cloudflare

Let’s say my URL is url.com

In my _redirect file, I have a line written as

/merch                https://www.external.com/people/testing                      200!

Now, when I type in url.com/merch, I see the Cloudflare loading page, which probably means the external site is hosted by Cloudflare… then a 404 netlify error page comes up. I then notice the url in the address bar is: https://www.url.com/people/testing/… (a long string of random values). It doesn’t seem to make sense for that url to appear, since it combines my url and the external url somehow… so yeh.

Could the problem have to do with Cloudflare? I don’t know. Thank you for anybody who is willing to help! I actually have other redirects to external urls that do work in the same projects, so this seems to be a very specific problem.

hi there, before we dig in, did you see this brand new guide on debugging redirects?

I strongly suggest you give it a thorough read through and see if this fixes your problem:

if not, please post again, and we’ll try and troubleshoot.