Title: Confusion About Configuring _Redirects in Cloudflare Pages

We are currently using Cloudflare Pages to deploy an Angular single-page application (SPA) with i18n for multiple languages. After building, we end up with two separate folders, dist/fr and dist/en, each containing index.html, main.ts, etc. We need to serve multiple routes, including: /fr /fr/tag /fr/novels/ranking /fr/404 However, only /fr can be accessed successfully at the moment—and even then, the page is blank. The other routes fail outright, as if they are being treated as static file requests instead of being routed through Angular. We want to configure our _Redirects (or other relevant settings) so that all these routes correctly hand off to Angular’s routing logic, ensuring the multi-language site works properly on Cloudflare Pages. Any advice or guidance on how to achieve this would be greatly appreciated.
No description
No description
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?