Linux 软件免费装
Banner图

Geo Controller - Geolocation & Geotargeting

开发者 ivijanstefan
creativform
更新时间 2026年10月23日 02:02
捐献地址: 去捐款
PHP版本: 7.0 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

redirect woocommerce geolocation geoip geotargeting

下载

7.12.0 8.0.1 7.11.5 7.11.6 7.11.7 7.12.1 7.12.10 7.12.12 7.12.13 7.12.14 7.12.5 7.12.6 7.12.7 7.12.8 7.13.5 8.6.2 8.5.4 8.6.0 8.3.15 8.3.16 8.1.1 8.2.6 8.1.10 8.1.3 7.13.1 8.6.6 8.1.4 8.3.19 8.3.2 8.3.3 7.11.2 7.12.11 7.12.2 8.3.11 8.4.6 7.12.3 8.4.11 8.3.7 8.3.5 8.4.0 8.5.1 8.6.7 8.6.9 9.0.5 8.7.6 8.7.7 7.11.0 7.11.1 7.11.3 7.11.4 7.13.13 7.13.14 7.13.15 7.13.16 7.13.0 8.3.0 7.12.4 7.12.9 7.13.11 7.13.6 7.13.8 8.0.0 8.0.2 8.0.3 8.0.4 8.0.5 8.0.6 8.0.8 8.0.9 8.1.0 7.13.19 7.13.10 7.13.2 7.13.7 7.13.18 8.0.10 8.1.2 8.3.10 7.13.12 8.1.8 8.1.7 7.13.3 9.0.6 8.9.7 9.0.0 7.13.4 7.13.9 8.1.6 8.1.9 8.2.0 8.2.1 8.2.2 8.2.3 8.2.5 7.13.17 8.0.7 8.1.5 8.2.4 8.2.7 8.2.8 7.13.20 8.1.11 8.2.10 8.2.11 8.2.9 8.6.1 8.6.5 8.6.8 8.3.14 8.3.18 8.3.17 8.3.20 8.3.4 8.3.6 8.4.1 8.4.2 8.3.8 8.3.9 8.4.3 8.4.5 8.3.1 8.3.12 8.3.13 8.4.9 8.4.4 8.5.2 8.5.3 8.4.10 8.4.7 8.4.8 8.5.0 8.6.3 8.6.4 8.8.7 8.7.3 8.7.5 8.7.9 8.7.1 8.7.10 8.8.8 8.8.3 8.7.0 8.7.4 8.8.4 8.8.6 8.9.0 8.9.2 8.9.3 8.7.11 8.7.2 8.9.4 8.9.5 8.9.1 8.9.6 8.7.8 8.8.0 8.8.2 8.8.5 8.9.8 8.9.9 9.0.1 9.0.2 9.0.3 8.8.1 9.0.4 9.0.7 9.0.8

详情介绍:

Geo Controller is a WordPress geolocation and geotargeting plugin that uses IP location data to personalize website content, redirect visitors by country or region, localize WooCommerce, and control geographic access. It combines location-based shortcodes, conditional content, geo redirects, country flags, Google Maps, Geo Defender, and developer APIs in one plugin. Previously known as CF Geo Plugin, Geo Controller continues the development of the original WordPress geolocation plugin under its new name. Existing users can continue using supported shortcodes, integrations, and location-based functionality without switching to a different plugin. WordPress IP Geolocation Geo Controller resolves a visitor's IP address through the Geo Controller API and makes the available location data accessible in WordPress. Depending on the lookup response and enabled options, this can include country, region, city, postcode, coordinates, timezone, language, currency, ISP, hostname, proxy, TOR, and device information. IP geolocation is approximate. VPNs, proxies, mobile networks, shared connections, CDN configuration, and database accuracy can affect results. Review data sources and accuracy and IP detection guidance before using location data for important decisions. Geotargeting and Dynamic Content Use WordPress shortcodes to display visitor data or conditionally show content by country, region, city, continent, postcode, EU status, VAT status, proxy, TOR, or device type. Geo Banner rules provide another way to target text, media, and other WordPress content. Common examples: [cfgeo return="country"] [cfgeo return="city" default="Your Default Text"] [cfgeo include="US,GB,DE"]Content for selected countries.[/cfgeo] [in_eu]Content for EU visitors.[/in_eu] Nested shortcodes remain available in conditional content where the surrounding WordPress content area processes shortcodes. Optional Simple Shortcodes, such as [cfgeo_city], must be enabled in Geo Controller settings. See the shortcode reference for supported attributes and return values. Location-specific HTML can be affected by full-page caching when one cached response is shared between visitors. Follow the dynamic content and caching guidance and test every rule with a safe fallback. Common Geolocation Use Cases Geo Controller can be used to create location-aware WordPress experiences without building a separate geolocation system. These features can be combined using shortcodes, conditional content, WordPress integrations, and developer APIs. Availability depends on configuration and, for selected features, the active license. Geo Redirects and Geographic SEO Redirection Create ordered geographic rules for pages, posts, custom post types, or site-wide destinations. Rules can evaluate supported country, region, city, and postcode values, with exclusions, bot handling, referrer controls, and CSV import/export tools. Available response codes are 301, 302, 303, 307, 308, and 404. Choose the response that matches the intended behavior: permanent redirects should not be used while destinations are still being tested, and 404 returns a not-found response rather than redirecting the visitor. Redirects do not guarantee search-engine results or legal compliance. Avoid redirect loops, keep destinations crawlable where appropriate, and test caching, canonical URLs, language settings, and bot behavior before production use. WooCommerce Geolocation, Currency and Payments The included WooCommerce integration can use Geo Controller location data to support: Some WooCommerce controls and service-backed data require an eligible active license. Availability is shown in the plugin settings. Currency results are informational and may not match the final rate used by a payment provider, bank, tax service, or accounting system. Geo Defender and Visitor Access Control Geo Defender can restrict access using configured geographic and IP rules, with support for TOR, proxy, and spam-related signals where available. Administrators can configure a response, allow trusted addresses, receive notifications, and use the existing recovery mechanism if a rule blocks administrative access. Geolocation and reputation signals can be incomplete or incorrect. Geo Defender is an access-control aid, not a replacement for authentication, a firewall, malware protection, or professional security and compliance review. Test rules carefully before enabling them on a production site. Google Maps, Country Flags and Geographic Metadata Enable [cfgeo_map] to display a single-point Google Map for a detected or specified location. A valid Google Maps API key is required. [cfgeo_map longitude="-74.0059" latitude="40.7128" zoom="15" title="My Company Name"] My Company Name No Name Street 35, New York, USA We have what you need [/cfgeo_map] Geo tags can add configured geographic metadata to selected public content. Country flags are available through [cfgeo_flag], including custom country, size, class, ID, inline CSS, and include/exclude options. Examples: [cfgeo_flag] [cfgeo_flag country="ca" size="32px"] Read the Google Maps shortcode documentation before enabling map output. Google Maps is a separate external service with its own account, billing, terms, and privacy behavior. Integrations and Developer Features The plugin contains dedicated integration code for WooCommerce, Elementor, Contact Form 7, Gravity Forms, BuddyBoss Platform, WooPlatnica, and Yoast SEO. It also includes Cloudflare-aware IP handling and settings intended for common caching configurations. Compatibility still depends on the active theme, plugin versions, cache/CDN behavior, and site configuration. Developers can use: Always validate returned keys and provide fallbacks because not every lookup returns every field. Free and Licensed Features The plugin can be installed and used without a paid license. The standard Geo Controller API allowance is up to 500 lookups per day. An active paid license provides unlimited lookups during its license period, and some service-backed features are enabled according to license level. License-dependent controls can include automatic spam-IP checks, selected WooCommerce payment controls, and the public REST lookup service. The admin interface indicates whether a setting requires a license. Current license plans, available features, and site limits are listed on the pricing page. Geo Controller depends on an external API service for IP lookup data. Review the Privacy Policy and privacy, consent, and compliance documentation to decide how the service fits your site's disclosures and legal obligations.

安装:

  1. Install Geo Controller from the WordPress Plugins screen, or upload the plugin files to /wp-content/plugins/cf-geoplugin/.
  2. Activate the plugin.
  3. Open Geo Controller in WordPress administration and review the general, feature, cache, and proxy settings.
  4. Test a basic lookup with [cfgeo return="country" default="Unknown"].
  5. Configure only the modules you need, then test location rules with caching enabled exactly as it will be in production.
When the plugin is uninstalled through WordPress, its plugin options, license data, transients, and plugin-owned database data are removed. Back up any configuration you may need before uninstalling.

屏幕截图:

  • CF Google Map shortcodes and setup
  • Anti Spam Protection settings
  • Geo Controller global settings
  • Debug Mode for Geo Controller and IP Lookup
  • Adding shortcode in text editor
  • Admin bar quick links
  • Example 1
  • Example 2
  • Example 3
  • SEO Redirection settings
  • Contact Form 7 settings
  • Available tags
  • WooCommerce Settings

升级注意事项:

9.0.8
  • Geo Controller Site Health updates.
9.0.7
  • Fix crawler detection, improve Googlebot and Bingbot recognition, CIDR validation, and correct bot detection caching.

其他记录:

Plugin Links External Services and Privacy Geo Controller sends IP lookup requests to the Geo Controller API. Optional Google Maps output uses Google Maps separately when configured. Site owners are responsible for evaluating these services, providing appropriate notices or consent, and meeting applicable legal requirements. Review the Privacy Policy, Terms and Conditions, and privacy documentation before deployment.

常见问题:

Is Geo Controller free?

Yes. The plugin works without a paid license with a standard allowance of up to 500 API lookups per day. Active paid licenses provide unlimited lookups during the license period and enable features associated with the applicable license level. See the current plans.

Is Geo Controller the same plugin as CF Geo Plugin?

Yes. Geo Controller was previously known as CF Geo Plugin. It is the continuation of the same WordPress plugin, with ongoing development, improved functionality, and maintained compatibility with supported existing shortcodes and integrations. Existing users do not need to install a separate plugin or migrate to a different product.

What information is sent to an external service?

IP geolocation requires communication with the Geo Controller API. An IP address and technical request data are processed to return approximate location information. Optional Google Maps output communicates with Google when enabled. Review the Privacy Policy and document these services appropriately for your site.

How accurate is IP geolocation?

IP geolocation estimates network location; it does not verify a person's physical position. Country results are generally more reliable than city or postcode results. VPNs, proxies, mobile carriers, corporate gateways, satellite connections, and incorrect trusted-proxy settings can change the detected IP or location. Provide fallback content and avoid using an IP result as the sole basis for high-impact decisions.

How can I test content for another country, region, or city?

Use a controlled connection or reputable testing service that provides an exit point in the target location, then confirm the detected IP and fields on Geo Controller's Debug page. Clear relevant page and plugin caches between tests. Do not assume that one VPN endpoint represents every visitor in that location.

Why does every visitor see the same location-based content?

A full-page cache or CDN may be serving one visitor's rendered HTML to everyone. Exclude pages that require per-visitor output, use the plugin's supported dynamic/AJAX behavior where appropriate, and purge caches after changing rules. See dynamic content and caching.

Why is a field empty or showing its default value?

The provider may not have that field for the detected IP, the daily allowance may have been reached, the request may have failed, or proxy/CDN settings may identify the wrong address. Check the Debug page, the displayed API response and error, SSL/proxy settings, trusted forwarding headers, and server logs. Use a default shortcode value for expected gaps.

Can I use shortcodes in a custom theme or template?

Yes, when the template processes WordPress shortcodes. For example: echo do_shortcode('[cfgeo return="country" default="Unknown"]'); Use WordPress do_shortcode() only where rendering administrator-controlled shortcode content is appropriate.

How do I access geolocation data in PHP?

Use the current helper and validate keys defensively: $data = CFGP_U::api(); $country = is_array($data) ? ($data['country'] ?? '') : ''; $country_code = CFGP_U::api('country_code'); $response = CFGP_API::lookup('8.8.8.8', ['dns' => true]); $city = is_array($response) ? ($response['city'] ?? '') : ''; See the PHP integration documentation. Historic global variables from older CF Geo Plugin releases should not be used for new integrations.

How do I access geolocation data in JavaScript?

Enable the plugin's JavaScript output, then read the generated window.cfgeo object after it is available: if (window.cfgeo) { console.log(window.cfgeo.country); } See the JavaScript integration documentation.

Can I populate Contact Form 7 fields?

Yes, if JavaScript output is enabled. A form can contain fields such as: [text city placeholder " City Name"] [text country placeholder " Country Name"] Your site script can then assign window.cfgeo.city and window.cfgeo.country after checking that the object and fields exist. Escape or validate values for the target context.

Does Geo Controller slow down a site?

Any API call and location-dependent rendering has a cost. Geo Controller caches lookup data and supports dynamic loading options, but actual impact depends on hosting, network latency, cache configuration, enabled modules, and traffic. Measure the relevant pages and avoid unnecessary repeated lookups.

Does Geo Controller make a site legally compliant?

No plugin can guarantee compliance automatically. Geo Controller provides location-aware conditions that may support a site's implementation, but the site owner remains responsible for notices, consent, access rules, data processing, taxes, and applicable law. Obtain qualified advice where needed.

Where can I get help?

Start with the documentation. If the issue remains, use Contact & Support and include the plugin version, WordPress version, relevant settings, Debug output with secrets removed, and steps to reproduce.

更新日志:

9.0.8 9.0.7 9.0.6 9.0.5 9.0.4 9.0.3 9.0.2 9.0.1 9.0.0