
Abgeschlossen
Veröffentlicht
Bezahlt bei Lieferung
I’m setting up a Cloudflare Worker that will detect a visitor’s country and, for every country except Canada, send them to a single specific custom URL. Canadian traffic should load the site normally with no changes. Here’s what I need from you: • A clean Worker script that reads the cf-country header and compares it against a lookup table. I’ll provide the final URL map, so feel free to leave the structure ready for easy editing (e.g., a JavaScript object keyed by ISO country code). • Logic that skips the redirect entirely when the country is CA. • A short README explaining how to deploy the worker in the Cloudflare dashboard and how to update the country-to-URL list later. The script should be lightweight, use native Cloudflare APIs (no external libraries), and issue a 302 or 301 as appropriate while preserving the original path and query string when that makes sense. Please keep the code commented so future edits are straightforward.
Projekt-ID: 40086094
58 Vorschläge
Remote Projekt
Aktiv vor 2 Monaten
Legen Sie Ihr Budget und Ihren Zeitrahmen fest
Für Ihre Arbeit bezahlt werden
Skizzieren Sie Ihren Vorschlag
Sie können sich kostenlos anmelden und auf Aufträge bieten

Greetings, I see you’re looking to set up a Cloudflare Worker that detects a visitor's country and redirects accordingly, except for Canadian users. I’d approach this by creating a simple and efficient Worker script that checks the `cf-country` header against a predefined list. The code will be structured to allow easy updates to the country-to-URL mapping, ensuring you can manage it without hassle in the future. I’ll ensure that the script handles the redirects smoothly, preserving the original path and query strings when necessary, while keeping the code well-commented for clarity. Additionally, I’ll provide a straightforward README to guide you through deploying the Worker and updating the URL map. My experience with Cloudflare APIs and web development will ensure that the solution is both effective and lightweight. Best regards, Saba Ehsan
$400 USD in 3 Tagen
6,4
6,4
58 Freelancer bieten im Durchschnitt $423 USD für diesen Auftrag

I can develop a Cloudflare Country Redirect Worker as per your requirements. My skills in PHP, JavaScript, Linux, Web Security, and Web Development align perfectly with this project. The budget can be adjusted based on the project scope. I am confident in my ability to deliver efficient and well-commented code. Let's discuss further details. Please review my 15-year-old profile to see my extensive experience. I am eager to start working on this project promptly.
$525 USD in 10 Tagen
8,7
8,7

Hi Troy G. I’m your web developer, ready to turn your project Cloudflare Country Redirect Worker into reality! I’d love to discuss the details and create something amazing together. Feel free to message me anytime, and we can also hop on a quick video or audio call whenever it's convenient for you. I’ve developed many projects exactly like what you’re looking for. If you want to see more relevant samples, just contact me through the chatbox, and I’ll share them instantly. ★ Why Clients Trust Me 500+ successful web projects delivered 430+ positive client reviews Expert in PHP, JavaScript, Linux, Web Security, Web Development, API, Cloudflare, Web Application WordPress, Shopify, PHP, JavaScript, HTML, CSS, Plugin/Theme Development, Laravel, WebApp Clean, modern, responsive and SEO-optimized designs Fast delivery, great communication, and long-term support Available during EST hours for smooth collaboration If you want a professional developer who delivers quality work on time and stress-free, let’s connect. I’m excited to help build something amazing for you. Best regards, Kausar Parveen
$350 USD in 3 Tagen
8,3
8,3

Hi Troy, We’ve built similar solutions that use Cloudflare Workers to redirect users based on their location. In one project, we created a worker that redirected users to different subdomains based on their country, while also ensuring that the original URL path and query parameters were preserved. For your project, I’d suggest using a JavaScript object to map countries to URLs, which can be easily updated later. We can also implement a feature to skip redirects for specific countries, as we did in another project where we allowed users to opt out of redirects. Let’s schedule a 10-minute introductory call to discuss your project in more detail and ensure I fully understand your requirements. I usually respond within 10 minutes. I’m eager to learn more about your exciting project. Best, Adil
$407,58 USD in 7 Tagen
7,3
7,3

Hello, I have carefully reviewed your project requirements for the Cloudflare Country Redirect Worker and I am confident in my ability to deliver a high-quality solution. I will create a clean and efficient Worker script that reads the cf-country header and compares it against a lookup table. The script will be structured to easily accommodate updates to the country-to-URL list in the future. Additionally, I will implement logic to skip the redirect for Canadian traffic and provide a detailed README for easy deployment and maintenance in the Cloudflare dashboard. I am excited about the opportunity to work on this project and I am confident that my expertise in Cloudflare Workers will meet your expectations. Let's discuss further details and get started on this project.
$250 USD in 2 Tagen
6,3
6,3

Hello I am a full stack developer. I have rich experience in Web hosting, Server management, Cloudeflare, Javascript, Node, Express, Docker, Worker, Blacklist, and so on. I am sure I can give you perfect result on this Cloudflare worker project. Looking forward to your reply Regards.
$500 USD in 2 Tagen
5,7
5,7

Good Day Troy ✌️ I have carefully reviewed your project requirements for setting up a Cloudflare Country Redirect Worker. I am confident in my ability to deliver a clean Worker script that efficiently reads the cf-country header, compares it against a lookup table, and redirects visitors to the specified custom URL based on their country. I will ensure that the logic skips the redirect for Canadian traffic and provide a clear README for easy deployment and future updates. Why Choose me? - Unlimited Revisions - Unique Creations - Money-Back Guarantee - 24/7 Communication - Timely Delivery Browse my portfolio for quality work samples: https://www.freelancer.com/u/leenadvnani6 Let's discuss your project further in the chat. Best regards, Leena Kumari :)
$250 USD in 2 Tagen
5,4
5,4

Hi, I have reviewed the details of your project. For this project, I will write a clean and lightweight Worker script that reads the cf country header and checks it against a simple country to url object that you can easily update later. The logic will clearly skip any redirect when the visitor country is CA and allow Canadian traffic to load the site normally. For all other countries, the Worker will redirect to the specified custom url while keeping the original path and query string where it makes sense. I will use only native Cloudflare APIs and keep the script well commented so future edits are easy. Along with the script, I will provide a short and clear README that explains how to deploy the Worker from the Cloudflare dashboard and how to update the country mapping without touching the core logic. Let's have a detailed discussion, as it will help me give you a complete plan, including a timeline and estimated budget. I will share my portfolio in the chat. Best regards, Mughiraa
$500 USD in 7 Tagen
5,4
5,4

Greetings, I see that you need a Cloudflare Worker to redirect visitors based on their country. The goal is simple: anyone not from Canada should be sent to a specific URL, while Canadian users access the site normally. I can create a clean and efficient Worker script that checks the `cf-country` header against a customizable lookup table, which I'll set up for easy editing with JavaScript objects. My approach will ensure that the redirection logic is straightforward, skipping any redirects for Canadian traffic. I’ll also include detailed comments in the code and a concise README to guide you through deploying the Worker and updating the URL list later. With my experience in web development and API integrations, I’ll make sure everything runs smoothly and meets your needs. Best regards, Mehran Riaz
$600 USD in 6 Tagen
5,1
5,1

Hello there, I can develop a Cloudflare Worker script to efficiently redirect visitors based on their country, excluding Canadian traffic. The script will utilize the cf-country header, comparing it against a customizable JavaScript object for easy URL mapping. I'll ensure the logic bypasses redirects for Canadian users, maintaining their site experience intact. The solution will be lightweight, leveraging Cloudflare's native APIs without external libraries, issuing 301 or 302 redirects as needed while preserving paths and query strings. I'll include comprehensive comments for clarity and a concise README for deployment and future updates. Questions: • Would you prefer the redirect to be a 301 (permanent) or 302 (temporary) by default? • Are there specific scenarios where preserving the original path and query string is crucial? Looking forward to delivering a robust and maintainable solution tailored to your needs. Thanks and best regards, Faizan
$270 USD in 10 Tagen
5,4
5,4

I can deliver a clean, lightweight Cloudflare Worker that reads the cf-country header, skips redirects for Canada, and sends all other countries to your chosen destination while preserving paths and query strings where appropriate. I’ll structure the country-to-URL logic in a simple, clearly commented JavaScript object so you can update mappings easily later without touching core logic. The script will rely only on native Cloudflare Worker APIs and use the correct redirect status (301 or 302) based on your preference. I’ll also include a short, clear README showing exactly how toI’m setting up a Cloudflare Worker that will detect a visitor’s country and, for every country except Canada, send them to a single specific custom URL. to deploy it via the Cloudflare dashboard and how to modify the lookup table safely. The result will be production-ready, easy to maintain, and future-proof for additional routing rules if you expand later.
$250 USD in 7 Tagen
4,8
4,8

Hello Troy G., I am Maryam Abbas, a seasoned developer with 4 years of experience in PHP, JavaScript, Web Development, and APIs. I have carefully reviewed your requirements for setting up a Cloudflare Worker to redirect visitors based on their country. To accomplish this project, I will create a clean Worker script that reads the cf-country header, compares it against a lookup table, and skips the redirect for Canadian traffic. The script will be well-documented with a README for easy deployment and updates. I have a proven track record of delivering successful projects and positive client feedback over the years. You can view my portfolio at https://www.freelancer.pk/u/maryam951 for more insights. Let's discuss further details in chat. Best regards, Maryam Abbas
$250 USD in 5 Tagen
4,5
4,5

Hello Troy, I am Vishal Maharaj, with 20 years of experience in PHP, JavaScript, Web Development, API, Web Application, Linux, and Web Security. I have carefully reviewed your project requirements for setting up a Cloudflare Worker for country-based redirection. To achieve this, I will create a clean Worker script that reads the cf-country header, compares it against a lookup table, and implements logic to skip the redirect for Canadian traffic. The script will be well-documented with a README for easy deployment and future updates in the Cloudflare dashboard. It will be lightweight, utilize native Cloudflare APIs, issue appropriate redirects, and maintain the original path and query string when necessary. I am eager to discuss further details and initiate the project. Cheers, Vishal Maharaj
$500 USD in 5 Tagen
5,7
5,7

⚠️ If you're not happy, you don't pay ⚠️ Hello gaudettet, I see you need a clean Cloudflare Worker script to redirect visitors based on their country. I understand how important automated redirection is without affecting Canadian traffic. I've built similar solutions for optimization purposes. I'll deliver a tailored Worker script that redirects visitors accurately, ensuring a seamless user experience for all countries while maintaining clear instructions for future updates. Successfully delivered multiple similar projects with top ratings. Available to start immediately - first milestone ready in 48 hours. I'd love to discuss your vision. When works best for a quick 10-minute call? Worst case, you'll get free insights to guide your project. Looking forward to collaborating, Piyush Cloudflare Developer | 5+ Years
$450 USD in 15 Tagen
4,7
4,7

Hi Gaudettet! I’ve reviewed your project and specialize in creating efficient Cloudflare Worker scripts. I’ll build a script that detects the country using the cf-country header, skipping the redirect for Canada and issuing a proper 302 redirect for others. Let’s discuss how to execute this smoothly! Best Regards, Amjad Iqbal
$500 USD in 4 Tagen
4,8
4,8

Hello Troy G., I’ve read your requirements thoroughly for Cloudflare Country Redirect Worker, And I’m sure I’m the right person to help you complete this successfully. I’m an experienced developer with many years of hands-on expertise in PHP, JavaScript, Linux, Web Security, Web Development, API, Cloudflare, Web Application Please come over chat and discuss your requirement in a detailed way. Thank You
$500 USD in 7 Tagen
4,3
4,3

I NEVER USE AI FOR BIDDING! You need a Cloudflare Worker to redirect non-Canadian visitors based on their country code, with clean code and an editable URL map. My past Cloudflare Worker projects match your exact logic and requirements. Looking forward to discussing more details. Stack: Cloudflare Workers, JavaScript, HTTP headers, ISO country codes, 301/302 redirects, dashboard deployment, code commenting
$499 USD in 2 Tagen
4,0
4,0

Hello Troy G., We would like to grab this opportunity and will work till you get 100% satisfied with our work. We are an expert team which have many years of experience on PHP, JavaScript, Linux, Web Security, Web Development, API, Cloudflare, Web Application Please come over chat and discuss your requirement in a detailed way. Regards
$500 USD in 7 Tagen
4,0
4,0

I'll create a Cloudflare Worker script that reads the cf-country header, compares it against a lookup table, and redirects visitors to a custom URL based on their country, while allowing Canadian traffic to load the site normally. I'll provide a lightweight, commented script using native Cloudflare APIs, along with a README for easy deployment and updates. Waiting for your response in chat! Best Regards.
$500 USD in 3 Tagen
4,1
4,1

I can deliver a Cloudflare Worker script that redirects visitors based on their country, excluding Canada, with precision — on time, on budget, and with excellence. Could you confirm if the final URL map for redirection will be provided in JSON format or should I structure it as a JavaScript object keyed by ISO country code for easy editing? I specialize in Digital Product Development, Custom App & Website Development, and AI-Powered Automation/Agents. I bring years of proven experience delivering similar solutions for both corporate clients and startups. Recently, I built a custom Cloudflare Worker that dynamically redirected website traffic based on user geolocation, ensuring personalized user experiences. If this sounds aligned, let’s connect and map out the next steps. Regards, Brad Wilson
$450 USD in 5 Tagen
3,0
3,0

Hi, I hope you are doing well. I've read your proposal very carefully and I am confident about your requirements. I understand that you need a Cloudflare Worker that detects a visitor's country and redirects traffic accordingly, while allowing Canadian users to access the site normally. I have hands-on experience in developing Cloudflare Workers and implementing similar geo-based redirection logic. My approach will include: - Creating a clean and efficient Worker script that utilizes the cf-country header for country detection. - Implementing the logic to bypass redirection for traffic from Canada. - Structuring the code with a JavaScript object for easy updates to the URL mapping, along with thorough comments for future modifications. I can start immediately and complete the work within a short timeline. Looking forward to your reply.
$250 USD in 7 Tagen
3,2
3,2

Traverse City, United States
Zahlungsmethode verifiziert
Mitglied seit Sept. 13, 2025
$30-250 USD
$30-250 USD
₹1500-12500 INR
$250-750 USD
€18-36 EUR / Stunde
$250-750 AUD
$10-30 USD
$200-250 USD
₹12500-37500 INR
₹1500-12500 INR
$30-250 AUD
₹75000-150000 INR
$10-30 USD
₹400-750 INR / Stunde
$250-750 USD
$30-250 AUD
₹100-400 INR / Stunde
€250-750 EUR
$10-30 USD
$10-30 USD
$30-250 USD
$30-250 SGD