Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Country based redirect Workers - Cloudflare Developers
CD
Cloudflare Developers
•
3y ago
borisk
Country based redirect Workers
I want redirect all isers from Bosnia from domain
.com to domain
.com
/archive
#workers
-help
if I use CF country redirect example worker
:
https://developers.cloudflare.com/workers/examples/country-code-redirect/
And visit domain
.com
/shop
, it will not redirect me to domain
.com
/archive
/shop
, instad it will redirect me to just domain
.com
/archive
.
Can you pleas help me update a code
?
Country code redirect · Cloudflare Workers docs
Documentation for Cloudflare Workers
, a serverless execution environment that allows you to create entirely new applications or augment existing ones
…
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
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Redirect WWW to apex with workers?
CD
Cloudflare Developers / general-help
8mo ago
Cloudflare purchased domain + workers + www redirect
CD
Cloudflare Developers / general-help
11mo ago
Redirect rules are firing before workers, right?
CD
Cloudflare Developers / general-help
8mo ago
country error
CD
Cloudflare Developers / general-help
3y ago