© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
CD
Cloudflare Developers
•
16mo ago
•
1 reply
srb
Worker Static Assets __redirects
Hi
, I want to use Static Assets to host a completely static react SPA that uses tanstack query
. To get URLs working I need to configure
__redirects
__redirects
with
/* /index.html 200
/* /index.html 200
.
I see on
https://developers.cloudflare.com/workers/static-assets/compatibility-matrix/
that
__redirects
__redirects
is supported in workers with this
community plugin
. But that seems to require a
WorkerEntrypoint
WorkerEntrypoint
, which I do not have since my site is completely static
.
I see there are bulk redirect options
, but in testing those drop the path
, with no option to keep it
.
Is there any way to set redirects for a static site
?
Cloudflare Docs
Workers vs. Pages (compatibility matrix) | Cloudflare Workers docs
Compatibility matrix for asset hosting on Cloudflare Workers and Pages
.
Cloudflare Developers
Join
Welcome to the official Cloudflare Developers server. Here you can ask for help and stay updated with the latest news
85,042
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Recent Announcements
Similar Threads
worker static assets
CD
Cloudflare Developers / workers-and-pages-help
14mo ago
Worker w static assets - Too many 301 redirects (ERR_TOO_MANY_REDIRECTS)
CD
Cloudflare Developers / workers-and-pages-help
13mo ago
console.log Errors When Using Worker Static Assets
CD
Cloudflare Developers / workers-and-pages-help
11mo ago
bundling static assets
CD
Cloudflare Developers / workers-and-pages-help
9mo ago