🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Compte Get it free
CodeFaeries Country Based Content for WooCommerce – Redirects and Prices by Country icon
Activement maintenu Testé avec WP 7.1 #5 in country restrictions

CodeFaeries Country Based Content for WooCommerce – Redirects and Prices by Country

Redirect visitors, hide prices or the add-to-cart button, and adjust prices by country in WooCommerce, using WooCommerce's built-in geolocation.

Installations actives<10Nouveau
Téléchargements · 30D346▲ +28.1% vs prev. 30d
Évaluation—0 avis
Score de santé64/100Bon
Téléchargements de tous les temps839Depuis juin 2026
Support résolu—Aucun fil de discussion récent
A besoin deWP 6.0PHP 7.4+
Téléchargements · 7j88▼ -58,7% Semaine sur semaine
Notre verdict

Choix solide

CodeFaeries Country Based Conte… is a solid plugin choice in 2026, with a few things worth checking first. Was last updated 3 days ago, and scores 64/100 on our health check.

  • Développé activement — Dernière mise à jour il y a 3 jours
  • Testé avec le dernier WordPress (7.1)
  • Petite base d'utilisateurs (<10 installations actives)
  • Très peu de critiques jusqu'à présent

Comment s'accumule-t-il ?

Côte à côte sur les installations, les mises à jour, les évaluations et le support

Téléchargements quotidiens

3469103Sep 5Oct 19Dec 3
Hier9
Moyenne quotidienne (1 ans)5
Jour de pointe1386 Octobre 2026
12 Derniers mois847

Les pics de téléchargement suivent généralement une nouvelle version - chaque site qui met à jour automatiquement compte comme un téléchargement.

Classements

Where CodeFaeries Country Based C… stands today

WordPress.org Classements de recherche

Position en direct dans la recherche de plugins, Top 100
Mot-cléPositionPlugins concurrentsCatégorie
country restrictions >100 664 Best country restrictions plugins →
geolocation >100 1,009 Best geolocation plugins →
hide price >100 3,068 Best hide price plugins →
price by country >100 1,992 Best price by country plugins →
redirect by country >100 1,401 Best redirect by country plugins →

About CodeFaeries Country Based Content for W…

From the official readme · v1.5.3

Description

Country Based Content adapts your WooCommerce store to each visitor’s country. Redirect visitors to another page, hide prices or the add-to-cart button, and adjust prices by country, using the country detected by WooCommerce’s built-in geolocation.

The free version has no limit on the number of rules.

Pro version

Fonctions gratuites

Redirect by country

  • Redirect visitors to a specific URL based on their country: regional stores, local regulations (GDPR notices, age restrictions), market-specific landing pages
  • Source patterns: target a path on your site where * matches any characters, and reuse the matches in the target with $1, $2
  • Search engine and ad-platform crawlers are exempted from redirects (enabled by default), so advertising campaign verification is not affected
  • Choose the HTTP status of each redirect: 302 temporary (default), 301 permanent or 307 temporary

Hide prices, the add-to-cart button or whole products by country

  • Hide prices for the countries you choose
  • Hide the add-to-cart button to prevent purchases while keeping products visible
  • Hide products completely from the shop, categories and search
  • Show a “not available” message in place of what is hidden
  • Target all products, specific categories or individual products; a variation follows the rules of its product
  • Rules also apply to the block cart and checkout, and to add-to-cart links

Price by country

  • Percentage increase or decrease
  • Add or subtract a fixed amount
  • Set a different price per country
  • Adjusted prices apply in the cart and at checkout, not only on display
  • Choose whether several matching price rules add up in priority order, or only the highest-priority rule applies

Exemptions and testing

  • Exempt logged-in users or specific roles, so administrators and shop managers always see the real store
  • Test simulator on each rules screen to preview which rule would match
  • “Force Country” developer tool to simulate visits from any country, for logged-in shop managers and administrators only
  • Export your rules and settings as a JSON file and import them on another site
  • WooCommerce HPOS compatible (High-Performance Order Storage)

Geolocation on your server

The plugin makes no remote request itself: the country is detected by WooCommerce’s geolocation. When WooCommerce’s MaxMind GeoLite2 database resolves the visitor’s address, detection stays on your server, with no data sent to third parties. Otherwise WooCommerce may fall back to an external service (see “External services”). To keep detection on your server, enter a MaxMind license key in WooCommerce > Settings > Integration > MaxMind Geolocation.

Pro version

  • Payment and shipping restrictions – Restrict payment methods and shipping methods by country, with country groups
  • Currency conversion – Show prices in the visitor’s currency, 30+ currencies, automatic exchange rates (ECB reference rates, fetched from the third-party Frankfurter API when Auto-Fetch Rates is enabled) or manual rates, rounding rules
  • Content by country shortcode – Show any content to the countries you choose with [cbc_content countries="FR,BE,CH"], or to every country but some with match="exclude"
  • State and region targeting – US states, Canadian provinces, German Länder, Australian states and more
  • Rich alternative content (HTML) in place of hidden products, prices or buttons
  • Tax message by country
  • Priority support

Get the Pro version

Obligations

  • WordPress 6.0 or higher
  • WooCommerce 8.0 or higher
  • PHP 7.4 ou supérieur
  • WooCommerce geolocation enabled (WooCommerce > Settings > General > Default customer location)

Do you like Country Based Content?

A review on wordpress.org helps other store owners find it: leave a review. Thank you.

Services externes

This plugin makes no remote request itself. It asks WooCommerce’s geolocation for the visitor’s country and allows WooCommerce to use the services below, which it contacts only when neither a country header sent by your host or CDN nor WooCommerce’s MaxMind GeoLite2 database gives the country. To keep detection on your server, enter a MaxMind license key in WooCommerce → Settings → Integration → MaxMind Geolocation: WooCommerce then downloads the database and keeps it up to date.

Country lookup of the visitor’s IP address

WooCommerce sends the visitor’s IP address to one of these services, picked at random, and tries the other if it gets no answer. The request is made by your server and carries the IP address and a User-Agent header naming WooCommerce and its version (for example WooCommerce/11.1.2). WooCommerce keeps the answer for one day, in a transient named after the IP address.

Public IP address of your server

Only if the country still cannot be found, typically on a local test site, WooCommerce asks one of these services for your server’s own public IP address and looks up the country of that address instead, so the services above then receive your server’s address. These four receive no visitor data.

Installation

  1. Upload the plugin files to /wp-content/plugins/codefaeries-country-based-content/ or install directly through the WordPress plugins screen
  2. Activez le plugin via l'écran "Plugins" dans WordPress
  3. Ensure WooCommerce is installed and activated
  4. Important: Enable WooCommerce geolocation:
    • Go to WooCommerce → Settings → General
    • Set “Default customer location” to “Geolocate” or “Geolocate (with page caching support)”
  5. Navigate to WooCommerce → Country Based Content to configure the plugin
  6. Enable desired features in the “Features & Settings” tab
  7. Create your rules in the respective tabs

Journal de modifications

Recommended: country redirects are no longer cached by browsers or shared caches, and importing rules checks the file before writing anything.

1.5.3 – 2026-11-30

  • Tag – WordPress tested up to 7.2
  • Tag – WooCommerce tested up to 11.3

1.5.1 – 2026-11-22

  • Fixed: country redirects are sent with no-cache headers, so a browser or a shared cache no longer keeps one country’s redirect for visitors from another.
  • Fixed: importing rules refuses a file whose fields have the wrong type (text where a number or a list of IDs is expected) instead of storing wrong values, and says why a file cannot be read.
  • Fixed: imported settings are checked like the settings form; an unknown value is replaced by the default and the import says so.
  • Fixed: a failed export now shows an error, and a finished import cannot be run a second time by clicking again.
  • Improved: importing a file exported from another site warns that its product and category IDs, and redirect targets pointing at that site, need checking.
  • Improved: import warnings show in a warning box, and all import and export messages can be translated.

1.5.0 – 2026-11-20

  • New: a “Country source” setting can take the country from the customer’s billing or shipping address; visitors without one are still detected by geolocation.
  • New: an optional country switcher lets visitors choose their country with the [cbc_country_selector] shortcode (off by default).
  • Fixed: editing a content or price rule shows the categories and products it targets at once; before, they could fail to load and saving the rule cleared them.

1.4.3 – 2026-11-20

  • New: hide a product completely by country, and show a plain-text “not available” message, now in the free version.
  • New: choose the HTTP status of each redirection rule: 302 temporary (default), 301 permanent or 307 temporary.
  • New: export your rules and settings as a JSON file and import them on another site; imported rules are added after the existing ones.
  • Fixed: content and price rules now apply to the block cart and checkout.
  • Fixed: a “hide add to cart” rule now blocks add-to-cart links, and a hidden price no longer shows when a visitor selects a variation.
  • Fixed: content and price rules scoped to products or categories now match product variations.
  • Fixed: the price range of a variable product follows the price rules, and is refreshed when a rule changes.
  • Fixed: a product on sale keeps its regular price struck through under a price rule.
  • Fixed: “Force Country” applies only to logged-in shop managers and administrators; real visitors keep their own country.

1.4.2 – 2026-10-05

  • Compatibility: the admin header shows the licence status reported by Country Based Content Pro 1.4.2.

1.4.1 – 2026-10-05

  • New: a redirection rule can target a source pattern, a path on this site where * matches any characters, and reuse the matches in its target with $1, $2.
  • New: a General setting chooses whether several matching price rules add up in priority order (the former behaviour) or only the highest-priority rule applies.
  • Fixed: the content and redirect simulators report the same exemptions the storefront applies, and a product-scoped content rule matches the tested product.
  • Fixed: the Danger Zone uninstall removes every option the plugin writes.
  • Fixed: the tip and warning callouts of the General screen get a box of their own.
  • Improved: the free edition announces no rule-count limit: it never had one.
  • Improved: the readme states when country detection can send the visitor’s IP address to an external service through WooCommerce, and names the exchange-rate source.
  • Improved: the bundled admin toolkit is updated and now ships without its telemetry and licensing code.
  • Compatibility: tested up to WordPress 7.1.

Journal des modifications complet sur WordPress.org →

Captures d'écran

Hide prices and the add-to-cart button by country: the same product page seen from France and from Germany, with a "not available" message
Hide prices and the add-to-cart button by country: the same product page seen from France…
Price by country: the same category seen from France and from Switzerland, where a rule adds 10 %
Price by country: the same category seen from France and from Switzerland, where a rule…
Hide whole products by country: a product listed for France is absent from the category for the United States
Hide whole products by country: a product listed for France is absent from the category…
Country switcher: visitors choose their country with the [cbc_country_selector] shortcode, and prices follow
Country switcher: visitors choose their country with the [cbc_country_selector]…
Redirect by country: rules with a source path and a target URL, and the simulator showing where a visitor from Spain lands
Redirect by country: rules with a source path and a target URL, and the simulator showing…
Content rules by country, category or product, and the simulator listing the effects applied to a product
Content rules by country, category or product, and the simulator listing the effects…
Features and settings: turn each feature on, and take the country from geolocation or from the customer's address
Features and settings: turn each feature on, and take the country from geolocation or…

Pour les développeurs

Est-ce votre plugin ? Montrez les chiffres.

Ajoutez un badge en direct à votre site, docs ou github readme. Il se met à jour par lui-même - aucun compte n'est nécessaire.

Badge d'installations actives Badge Badge de score de santé

Best CodeFaeries Country Based Con… alternatives

All country restrictions plugins →

FAQ

CodeFaeries Country Based Content f…: quick answers

Réponses directes, extraites des données en direct WordPress.org.

Source : WordPress.org

Is CodeFaeries Country Based Conte… free?

Yes. CodeFaeries Country Based Conte… is free to download and use from the official WordPress.org plugin directory.

Is CodeFaeries Country Based Conte… safe to use in 2026?

CodeFaeries Country Based Conte… is a solid plugin choice in 2026, with a few things worth checking first. Was last updated 3 days ago, and scores 64/100 on our health check.

How many websites use CodeFaeries Country Based Conte…?

CodeFaeries Country Based Conte… is active on <10 WordPress websites and has been downloaded 839 times since it launched in June 2026. It was downloaded 346 times in the last 30 days.

Does CodeFaeries Country Based Conte… work with WordPress 7.1?

Yes. The developer has tested CodeFaeries Country Based Conte… up to WordPress 7.2, the latest release. It requires WordPress 6.0 or newer.

What PHP version does CodeFaeries Country Based Conte… need?

CodeFaeries Country Based Conte… requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.

When was CodeFaeries Country Based Conte… last updated?

The latest version, 1.5.3, was released on November 30, 2026 (3 days ago).

Who makes CodeFaeries Country Based Conte…?

CodeFaeries Country Based Conte… is developed and maintained by Long Watch Studio - Code Faeries.

What are the best alternatives to CodeFaeries Country Based Conte…?

The most popular alternatives to CodeFaeries Country Based Conte… are Country Based Restrictions… (5K+ installs), Restrict Products by Countr… (200+ installs) and Teppeki Country Restriction… (<10 installs).

Propulsé par PageForge

Un modèle et une feuille de calcul. Une vraie page pour chaque recherche.

PageForge transforme chaque ligne d'un CSV en une page WordPress avec son propre titre, URL, SEO et schéma, construit sur la mise en page que vous Déjà conçu. Gratuit sur WordPress.org.

  • CSV et XLSX, plus Google Sheets sur les professionnels et les entreprises
  • Son propre titre, URL, SEO champs et schéma pour chaque page
  • Fonctionne avec l'éditeur de blocs, Elementor, Divi et Avada
  • Gratuit sur WordPress.org, pas de carte de crédit

↑↓ bouger↵ ouvrir