Linux 软件免费装
Banner图

Simple Country Redirect with IP geolocation

开发者 tahirasad
更新时间 2025年6月3日 18:21
PHP版本: 8.0 及以上
WordPress版本: 6.8
版权: GPLv2 or later

标签

redirect country geolocation cloudflare geolocation-redirect

下载

1.0.3 1.0.4 1.0.5

详情介绍:

The Country Redirect plugin allows you to redirect users based on their country using Cloudflare's IP Geolocation feature. You can configure custom redirection rules based on the user's country. It also allows you to enable or disable redirection, and configure the duration of a cookie that prevents repeated redirections. The plugin is fully configurable through a settings page in the WordPress admin dashboard.

安装:

  1. Upload the plugin directory to the /wp-content/plugins/ directory.
  2. Activate the plugin through the 'Plugins' menu in WordPress.
  3. Go to the plugin settings page to add redirection rules and configure the plugin.

常见问题:

How do I add redirection rules?

Go to the plugin settings page in the WordPress admin and enter the country-to-URL mapping in the "Redirection Rules" section.

How does the plugin know the user's country?

The plugin uses Cloudflare's IP Geolocation feature to detect the user's country.

How does the cookie work?

Once a user is redirected based on their country, a cookie is set to prevent the user from being redirected again during the specified lifetime.

Can I turn off the redirection feature?

Yes, you can enable or disable the redirection functionality from the plugin settings page.

Where do I configure the redirect URL for each country?

You can add or edit the country-to-URL mapping directly from the plugin settings page.

更新日志:

1.0.5 1.0.4 1.0.3 1.0.2 1.0.1 1.0.0