Plugin info

Total downloads: 5,386
Active installs: 100
Total reviews: 6
Average rating: 4.3
Support threads opened: 0
Support threads resolved: 0 (0%)
Available in: 4 language(s)
Contributors: 1
Last updated: 4/22/2021 (1714 days ago)
Added to WordPress: 3/17/2020 (5 years old)
Minimum WordPress version: 4.6
Tested up to WordPress version: 5.7.14
Minimum PHP version: 5.2.4

Maintenance & Compatibility

Maintenance score

Possibly abandoned • Last updated 1714 days ago • 6 reviews

22/100

Is WP Cloudflare GeoIP Redirect abandoned?

Possibly abandoned (last update 1714 days ago).

Compatibility

Requires WordPress: 4.6
Tested up to: 5.7.14
Requires PHP: 5.2.4

Similar & Alternatives

Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.

Price Based on Country for WooCommerce
Rating 4.8/5 (261 reviews)Active installs 20,000
Geolocation IP Detection
Rating 4.7/5 (59 reviews)Active installs 20,000
AntiSpam for Contact Form 7
Rating 4.4/5 (10 reviews)Active installs 10,000
Geo Controller
Rating 4.4/5 (30 reviews)Active installs 1,000
If-So Geolocation
Rating 5.0/5 (4 reviews)Active installs 1,000
WP Engine GeoTarget
Rating 3.6/5 (15 reviews)Active installs 300

Description

WP Cloudflare GeoIP Redirect plugin enables you to setup redirect for users from selected countries to specific URL.

Geolocation is done using Cloudflare IP Geolocation data.

Redirection is done using the php header() function and you can choose Temporary Redirect (307) or Moved Permanently (301).

In order to use this plugin you need to setup Cloudflare for your website and enable Cloudflare IP Geolocation service. More info in FAQ.

Installation

  1. Upload the plugin files to the /wp-content/plugins/wp-cloudflare-geoip-redirect directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress
  3. Use the CF Redirect>Options screen to configure the plugin

Frequently Asked Questions

Do I need a Cloudflare account to use the plugin?

You don’t need CloudFlare account credentials for using plugin but you do need to have Cloudflare service active on your domain in order for plugin to get Geolocation user data and enabled Cloudflare IP Geolocation.

How to enable Cloudflare IP Geolocation

For info on how to configure Cloudflare IP Geolocation follow the link: https://support.cloudflare.com/hc/en-us/articles/200168236-Configuring-Cloudflare-IP-Geolocation

Will this plugin work with other Caching plugins?

Frankly we don’t know yet. As of v1.3 new HTTP header is added when redirection is enabled (Cache-Control: no-cache, no-store, must-revalidate) but it’s on cache plugin to honor this setting

LiteSpeed Cache plugin workaround if redirection is not working

This issue is fixed by adding new rule to your .htaccess file before ## LITESPEED WP CACHE PLUGIN section

RewriteEngine On
RewriteRule .* – [E=Cache-Control:vary=%{HTTP:CF-IPCountry}]

You can read more about it here https://wordpress.org/support/topic/wp_redirect-not-working-with-litespeed-cache-on/#post-14280128

Review feed

webinvaders
4/9/2020

Easy way to add country redirect if you are using Cloudflare services

I was looking for easy (and free) way to add redirect based on geolocation for many of my projects and since i was already using cloudflare services this was great way to add that without compromising website speed

Screenshots

  1. Basic setup for one country redirect

    Basic setup for one country redirect

  2. Setup for redirecting users from multiple countries to same URL

    Setup for redirecting users from multiple countries to same URL

Changelog

1.4

  • option to add custom Query string parameter name and value to current URL based on redirect settings

1.3

  • fixed redirect loop issue when website url is same as redirect url
  • added HTTP header “Cache-Control: no-cache, no-store, must-revalidate”
  • after working with “LiteSpeed Cache” to fix the issues with redirect not working when caching is enabled workaround is added to FAQ

1.2

  • changed redirect code to use “wp_redirect”

1.1

  • Added CMB2 framework for plugin options

1.0

  • First release