Cloudflare Pages _redirects limited to 444 lines

For Workers & Pages, what is the name of the domain?

www.synthego.com

What is the issue or error you’re encountering

_redirects file only works for top 444 lines

What steps have you taken to resolve the issue?

This seems nowhere near the documented limit of 2000 Redirects · Cloudflare Pages docs

My recollection of is that moving some lines from the bottom to the middle seemed shift which redirects worked and which didn’t.

Moving lines from _redirects to Bulk Redirects is an effective workaround but that deployment pipeline has less automation.

I plan to add debug output from nl build/_redirects before pushing with wrangler, in case lines are somehow being prepended to what’s in git by our React build. I hope to also experiment with mv _redirects > original_redirects && tac original_redirects > _redirects to turn the whole list on its head.

This topic was automatically closed after 15 days. New replies are no longer allowed.