🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Account Get it free
AffLoc — Affiliate Link Localization icon
Maintained Tested up to 6.9.12

AffLoc — Affiliate Link Localization

Stop losing affiliate commissions to international visitors. AffLoc auto-detects country and swaps links instantly.

Active installs<10New
Downloads · 30d59▲ +7.3% vs prev. 30d
Rating—0 reviews
Health score36/100At risk
All-time downloads482Since Mar 2026
Support resolved—No recent threads
RequiresWP 6.0PHP any
Downloads · 7d9▼ -60.9% week over week
Our verdict

Consider an alternative

AffLoc shows warning signs in 2026 — compare the alternatives below before installing. Was last updated 8 months ago, and scores 36/100 on our health check.

  • Small user base (<10 active installs)
  • Very few reviews so far
  • Only tested up to WordPress 6.9 (latest is 7.1)

How does it stack up?

Side-by-side on installs, updates, ratings & support

Daily downloads

134Sep 5Oct 19Dec 3
Yesterday0
Daily average (1y)2
Peak day27Mar 30, 2026
Last 12 months481

Download spikes usually follow a new release — each site that auto-updates counts as a download.

Rankings

Where AffLoc stands today

WordPress.org search rankings

Live position in the plugin search, top 100
KeywordPositionCompeting pluginsCategory
affiliate >100 1,994 Best affiliate plugins →
geotargeting #31 40 Best geotargeting plugins →
links >100 10,000 Best links plugins →
localization >100 2,353 Best localization plugins →
redirects >100 8,603 Best redirects plugins →

About AffLoc — Affiliate Link Localization

From the official readme · v0.2.0

Description

AffLoc is a lightweight, cache-friendly WordPress plugin designed to help you maximize your affiliate revenue globally. It automatically detects your visitor’s country via IP and swaps out your affiliate links to match their regional store (e.g., Amazon US vs Amazon UK), ensuring you never lose a commission due to a “Not Available in Your Country” error.

Features

  • Automatic Geolocation: Detects visitor country securely and accurately.
  • Country-Specific Links: Assign different URLs for the same offer based on the user’s country code.
  • Cache-Friendly: Uses a hybrid JavaScript approach so it works perfectly with caching plugins (WP Rocket, W3 Total Cache, etc.).
  • Global Fallback: Define a default link for countries without a specific mapping.
  • Easy Shortcodes: Simply use [affloc_link slug="your-offer"] and let the plugin handle the rest.

External Services

This plugin relies on the following external services to function:
1. ipapi.co – Used to detect the visitor’s country securely over HTTPS by resolving their IP address. Their privacy policy is available at https://ipapi.co/privacy/. No personal data other than the user’s IP address and proxy headers is transmitted.
2. flagcdn.com – Used to deliver fast and reliable SVG/PNG country flag icons inside the WordPress Admin Dashboard.

Installation

  1. Upload the plugin files to the /wp-content/plugins/affloc directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress.
  3. Navigate to AffLoc in your WordPress admin menu.
  4. Add your first mapping (e.g., slug: amazon, country: US, url: https://amazon.com/...).
  5. Use the shortcode [affloc_link slug="amazon" text="Buy Now"] in your posts or pages.

Changelog

Major release introducing Free version usage limitations, new "Affiliate Text" field, improved Admin UI responsiveness, and WP.org code compliance improvements.

0.2.0

  • Features: Added maximum mapping limit and Affiliate Text shortcode support.
  • Refactoring: Conformed strictly to WordPress Database APIs for SQL queries.

0.1.5

  • Enhancements: Added copy-to-clipboard functionality for shortcodes.
  • Enhancements: Admin UI improvements including country flags, grouping, searching, date sorting, and row actions.
  • Security: Switched to secure HTTPS endpoints for IP geolocation.
  • Security: Added comprehensive IP validation including support for Cloudflare/Proxies.
  • Performance: Frontend scripts now only load on pages containing the shortcode.

0.1.0

  • Initial Beta release.

Full changelog on WordPress.org →

Screenshots

The AffLoc admin page featuring the Add New Mapping form (Offer Slug, Country search, Affiliate text and URL fields) alongside the sidebar with White-label Shortcode (Pro), Shortcode Helper, and Import / Export Mappings tools.
The AffLoc admin page featuring the Add New Mapping form (Offer Slug, Country search…
The Existing Mappings table — all mappings grouped by slug/project, showing country flags, destination URLs, ready-to-copy shortcodes with a "Copy Shortcode" button, creation date, and Edit/Delete row actions.
The Existing Mappings table — all mappings grouped by slug/project, showing country…
Inserting the shortcode into a page using the WordPress block editor (Gutenberg) — add a standard Shortcode block and paste [affloc_link slug="your-slug" text="Buy Now"].
Inserting the shortcode into a page using the WordPress block editor (Gutenberg) — add a…
The rendered result on the front end — a geo-localised "Buy Now" affiliate link automatically swapped to the correct regional URL based on the visitor's country.
The rendered result on the front end — a geo-localised "Buy Now" affiliate link…

For developers

Is this your plugin? Show off the numbers.

Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.

Active installs badge Rating badge Health score badge

Best AffLoc alternatives

All affiliate plugins →
Alternatives
Rank Plugin Active installs Rating Updated Health
1 Advanced Ads – Ad Manager & AdSense Advanced Ads – Ad Manager & AdSense Manage and place all kinds of ads: AdSense, Amazon, affiliate networks or your own banners… by monetizemore 90K+ ★★★★★★★★★★ 4.9 (1.5K) 1 week ago 89
2 Pochipp Pochipp Amazonや楽天市場から商品を検索してアフィリエイトリンクを管理できるプラグインです。 by hiro 20K+ ★★★★★★★★★★ 4.2 (5) 3 months ago 78
3 Meks Easy Ads Widget Meks Easy Ads Widget Display unlimited number of ads inside your WordPress widget. by Meks 10K+ ★★★★★★★★★★ 4.1 (14) 2 years ago 38
4 Affiliate Program Suite — SliceWP Affiliates Affiliate Program Suite — SliceWP Affiliates SliceWP is the powerful WordPress affiliate plugin that makes running your own affiliate… by iova.mihai 10K+ ★★★★★★★★★★ 4.9 (114) 2 weeks ago 94
5 Meks ThemeForest Smart Widget Meks ThemeForest Smart Widget Easily display ThemeForest items inside WordPress widget. by Meks 10K+ ★★★★★★★★★★ 5 (1) 2 years ago 37
6 AffiliateX – Amazon Affiliate Plugin, Product Boxes, Comparison Tables & Affiliate Link Tracking AffiliateX AffiliateX is the best WordPress Amazon Affiliate Plugin. Create professional affiliate… by Abdullah Chougle 9K+ ★★★★★★★★★★ 4.5 (35) 2 months ago 83
7 Affiliates Manager Affiliates Manager Affiliates Manager plugin can help you manage an affiliate marketing program to drive more… by wp.insider 8K+ ★★★★★★★★★★ 4.1 (61) 1 month ago 78
8 Easy Affiliate Links Easy Affiliate Links Easily manage and cloak all your affiliate links. by Brecht 6K+ ★★★★★★★★★★ 4.2 (34) 1 week ago 74
9 YITH WooCommerce Affiliates YITH WooCommerce Affiliates YITH WooCommerce Affiliates allows you to create affiliate profiles and grant your… by YITHEMES 6K+ ★★★★★★★★★★ 4.2 (19) 4 weeks ago 70
10 Coupon Affiliates – Affiliate Plugin for WooCommerce Coupon Affiliates – Affiliate Plugin for WooCommerce The most powerful affiliate plugin for WooCommerce. Track commission, generate referral… by Elliot Sowersby / RelyWP 5K+ ★★★★★★★★★★ 4.9 (77) 4 days ago 93

FAQ

AffLoc — Affiliate Link Localization: quick answers

Straight answers, pulled from live WordPress.org data.

Source: WordPress.org

Is AffLoc free?

Yes. AffLoc is free to download and use from the official WordPress.org plugin directory.

Is AffLoc safe to use in 2026?

AffLoc shows warning signs in 2026 — compare the alternatives below before installing. Was last updated 8 months ago, and scores 36/100 on our health check.

How many websites use AffLoc?

AffLoc is active on <10 WordPress websites and has been downloaded 482 times since it launched in March 2026. It was downloaded 59 times in the last 30 days.

Does AffLoc work with WordPress 7.1?

AffLoc is officially tested up to WordPress 6.9.12, while the latest release is 7.1.5. It may still work, but try it on a staging site first.

When was AffLoc last updated?

The latest version, 0.2.0, was released on March 30, 2026 (8 months ago).

Who makes AffLoc?

AffLoc is developed and maintained by AffLoc.

What are the best alternatives to AffLoc?

The most popular alternatives to AffLoc are Advanced Ads (90K+ installs), Pochipp (20K+ installs) and Meks Easy Ads Widget (10K+ installs).

Powered by PageForge

One template and a spreadsheet. A real page for every search.

PageForge turns each row of a CSV into a WordPress page with its own title, URL, SEO fields and schema, built on the layout you already designed. Free on WordPress.org.

  • CSV and XLSX, plus Google Sheets on Professional and Enterprise
  • Its own title, URL, SEO fields and schema for every page
  • Works with the block editor, Elementor, Divi and Avada
  • Free on WordPress.org, no credit card

↑↓ to move↵ to open