Route traffic by country, state & city using redirects or popups. View Live Demo's ->
October 25, 2020

Any solution can cache vary for different group of country with cloudflare?

SP

Cache vary for different group of country with cloudflare Geo  IP:

I am testing on staging migration from nginx to OLS. One of the issue I have  is my website need to show different currencies for 3 different group of  country namely VN, AU and rest of the world.

Under nginx, I have WP-Rocket and its extension Country Cache so plugin will  identify user’s country and map into the 3 groups with respective cache of  the same URL.

I’ve been trying to search Google but can not  find a solution as I am just a seasoned Wordpress user only. What I need  is
1. if an user come from Vietnam, the cache for Vietnamese will be  shown
2. if an user come from Australia, the cache for Aussie will be shown
3. if  user does not fall into the above, show the international version.

I am trying to use Cloudflare Geo IP that pass %{cf-ipcountry}. I was able  to do this under nginx fast CGI in combination with WP-rocket but being stuck  on Litespeed

Any advice would be appreciated.

GT
Answer
by Geo Targetly

Our Geo Redirect tool works at users' browser side and can help you avoid cache issue.

Every time when a visitor clicks on your site, it  detects your visitor's location by IP and auto redirect him to  location-specific page.

You can simply create rules to send visitors from different locations; each location has an individual URL.

Thus, for your  visitors from Vietnam, Australia, and international, they can be routed to correct pages accordingly.

It's easy to integrate; we generate Javascript code for one-time installation.

For more details, please visit our product page:  https://geotargetly.com/geo-redirect

Tags:
multiple country, geo redirect, country redirect, IP geolocation, location specific

"Hands down one of the best marketing tools you are not using"

Chad T. - Web & Digital Media Director

Get started in minutes
No credit card required
Free on-boarding support
Your Privacy

We uses cookies to improve your experience on our site, analyse site traffic and to show you relevant content. By using our website, you consent to our use of cookies. For more information please, see our Privacy Policy

ACCEPT