Remote Web Development Job In IT And Programming

Write htaccess (or different method) redirects based on HTTP header named “CF-IPCountry”

Find more Web Development remote jobs posted recently Worldwide

Our web store has different sections for different countries.

The website store url is added after the domain name.

For example:

domain.com/us-en
domain.com/ca-en
domain.com/eu-en

We need the htaccess file (or suggest a different method) to direct the visitor to the correct url.
We are on CloudFlare. And Cloudflare passed the IP Geolocation to the HTTP header named CF-IPCountry

So the htaccess file needs to be setup as follows.

If country is USA - send visitor to domain.com/us-en/* (append full url)
If country is X (we will need to provide a list of country names) send visitor to domain.com/eu-en
Else, send visitor to domain.com/ca-en

We should also have the ability to exclude an IP address from this so that we can test locally.
It should also be ignored by robots and spiders.

Also be sure that this only happens to the url that the visitor visits. This should not affect images, js, css etc.

For someone that knows what they are doing, this should be simple and quick!
About the recuiter
Member since Mar 14, 2020
Balachandran Ve
from Maharashtra, India

Skills & Expertise Required

Website Development 

Open for hiringApply before - Sep 27, 2024

Work from Anywhere

40 hrs / week

Fixed Type

Remote Job

$95.25

Cost

Offer to work on this project closes in 21 days!
Are you interested in this Opportunity?

Looking for help? Checkout our video tutorial
How to search and apply for jobs

How to apply? Do you have more questions about the Job?
See frequently asked questions

Similar Projects

E-Payment Testing

I am looking for Freelancers who are able to test e payment from certain banks in Vietnam
I will provide a url and you are only required to make a small payment : Between USD1.00 to USD1.50. You must have on-line facility with the bank and you mu...read more

New regulatory implementation needed (RGPD)

We need to insert the new european data regulation (RGPD) on our website and make it comply with all requirements required by the new law.

Wordpress and SEO Expert Needed

Need to redesign the current website and start the SEO work for on page and off page.

Hire iOS Developers

We will hire iOS developers to build and submit very simple apps on app store. the design and the app idea doesnt matter, we just need the accepted apps.
we just want you to guarantee to deliver at least 10 accepted apps per monthly.
we cons...read more

Developer needed for creating iOS and Android app

We are developing desktop sharing and remote control solutions and need to port parts of an existing web-based application, which allows to manage and control remote computers, to mobile.

Actual remote control will be implemented later on to...read more