Skip to content
Sign in
Royal Links – Affiliate Link Cloaking, Shortener & Tracker icon

Royal Links – Affiliate Link Cloaking, Shortener & Tracker

Free affiliate link management, URL shortener, and link cloaking plugin with geo-targeting, A/B testing, QR codes, and auto-linking.

Not scanned yet WordPress plugin 60 installs

Install in

No install steps yet

Follow the steps on the source page.

Free affiliate link management and URL shortener plugin for WordPress.

Royal Links is a complete link cloaking, click tracking, and link management solution that gives you every tool you need to shorten, cloak, track, and optimize your affiliate links and marketing URLs — at no cost. No “lite” version and no feature gates. You may occasionally see a dismissible banner for our other free plugins.

Whether you manage affiliate links, run marketing campaigns, track click performance, or just want clean branded short URLs on your own domain, Royal Links has you covered.

What You Can Use Royal Links For

Royal Links works with any URL — cloak, shorten, track, redirect, or A/B test it. Common use cases:

  • Affiliate networks — Cloak and track clicks for any affiliate program. Works with the standard affiliate-URL format used by all major affiliate networks.
  • Link in bio — Track clicks from social media bio links and route visitors to specific destinations on your site, regardless of which platform sent them.
  • Marketing campaigns — Build UTM-tagged URLs for any analytics tool without leaving WordPress and measure campaign performance per source.
  • Branded short URLs — Replace long tracking URLs with clean links on your own domain (e.g., yoursite.com/go/product instead of network.com/ref?id=12345).
  • A/B testing — Split traffic between landing pages and compare the clicks each one gets.
  • QR code campaigns — Generate QR codes for business cards, flyers, packaging, posters, or in-store signage and track scan-through performance separately from web clicks.
  • Geo-targeted offers — Send visitors from different countries to region-specific destinations from a single shareable link.
  • eCommerce stores — Track clicks from your store to external partners, suppliers, or affiliate offers. Auto-link product names to tracked Royal Links.
  • Video descriptions and podcast show notes — One short link per episode that you can re-route as offers expire, without re-uploading or editing the description.

Link Management

  • Branded Short URLs — Create clean links using your own domain
  • Multiple Redirect Types — 301, 302, and 307 redirects
  • Link Categories & Tags — Organize everything with taxonomies
  • Nofollow and Sponsored Attributes — Stay compliant with search engine guidelines
  • Password-Protected Links — Gate access to sensitive destinations
  • Link Scheduling — Set start and end dates for any link
  • Affiliate Disclosure Notices — Automatically show a disclosure on posts that contain affiliate links

Click Tracking & Analytics

  • Detailed Click Analytics — Browser, device, OS, referrer, and country (where known)
  • Dashboard Widget — At-a-glance stats with period-over-period comparison
  • QR Scan Tracking — See how many clicks come from your QR codes
  • UTM Parameter Builder — Build campaign-tagged URLs without leaving WordPress

Advanced Redirects

  • Geo-Targeting — Redirect visitors to different URLs based on their country; works automatically behind Cloudflare, with an optional lookup for other hosts
  • Device-Based Redirects — Send desktop, mobile, and tablet users to different destinations
  • Time-Based Redirects — Automatically swap destinations on a schedule
  • A/B Split Testing — Split traffic between destinations by weight and compare clicks per variant

Content & Display

  • QR Code Generator — Generate downloadable QR codes for any link
  • Product Display Boxes — Eye-catching product cards with images and CTAs
  • Automatic Keyword Linking — Turn it on in Settings, define keywords on a link, and Royal Links links them in your posts and pages
  • Royal Link Block & Classic Editor — Insert links from either editor; in block themes the button matches your theme’s button style

Site Health

  • Broken Link Checker — Automatic monitoring flags dead destinations
  • Link Health Dashboard — See all link issues at a glance
  • 404 Redirects — Catch 404s and redirect visitors to the right page. Exact, prefix, and regex match modes. Auto-captures unresolved 404 hits in a monitor log so you can create redirects with one click.

Migration Wizard

Switching from another affiliate link plugin? Royal Links includes a Migration Wizard that imports your existing links and categories from the most common affiliate link plugins, so you don’t have to re-create them by hand. Click history stays in the old plugin. Imported links use your Royal Links prefix (for example /go/); if your old links used a different prefix or sat at the site root, keep the old plugin active so those URLs keep working.

Why Royal Links?

Every feature is included from day one. Geo-targeting, A/B testing, QR codes, auto-linking, product displays, device redirects, and link scheduling are all built in with no restrictions and no premium tier.

Powered by Royal Plugins

Royal Links is built by the team behind Royal MCP and SiteVault — free WordPress plugins trusted by thousands of sites. We believe powerful tools should be accessible to everyone.

External Services

This plugin connects to the following external services under specific conditions:

ip-api.com

Geo-targeting first reads the visitor’s country from the Cloudflare country header (or Amazon CloudFront’s, when its addresses are listed as trusted proxies), which needs no outside service. For other sites, a site administrator can turn on the optional ip-api.com lookup setting under Geo-Targeting, which uses the ip-api.com geolocation API. It is off by default, and when it is off this service is never contacted.

When the setting is on and a visitor clicks a link that has country-based redirect rules, and no country header is present, the visitor’s IP address is sent to ip-api.com to find their country. The free ip-api.com service only answers over plain HTTP, so this request is not encrypted, and its terms limit free use to non-commercial sites.

  • Service URL: http://ip-api.com
  • Terms of Service / Privacy Policy: https://ip-api.com/docs/legal
  • Data sent: Visitor IP address
  • Data received: Country code for the visitor’s IP address
  • Data retention: The country is cached for one day under a salted hash, never the IP address itself, and saved with the click record. IP addresses are only stored in the click log if the “Store IP Addresses” setting is enabled (disabled by default).
  • When it is used: Only when the ip-api.com lookup setting is on, the clicked link has country-based redirect rules, and no Cloudflare or CloudFront country header is present
  • When it is NOT used: When the setting is off (the default), when a CDN supplies the country, or when no links have country rules

api.qrserver.com

Royal Links uses api.qrserver.com to render QR code images for the [royal_link_qr] shortcode and the QR download button on the link edit screen. When a page containing the QR shortcode is viewed, or the QR download button is used, the visitor’s browser loads the QR image directly from api.qrserver.com. Royal Links itself does not send any data server-to-server — the request is made client-side by the browser rendering the image.

  • Service URL: https://api.qrserver.com
  • Terms of Service / Privacy Policy: https://goqr.me/api/
  • Data sent: The short URL to encode in the QR image (passed as a query-string parameter). The visitor’s browser also sends its own IP address and User-Agent to api.qrserver.com as part of the standard image request.
  • Data received: A PNG image of the QR code encoding the short URL.
  • Data retention: Royal Links does not store any data from this service. Each request is made fresh by the visitor’s browser.
  • When it is used: Only on pages that render the [royal_link_qr] shortcode, and when an admin uses the QR download button in the link edit screen.
  • When it is NOT used: If no page contains the QR shortcode and no admin triggers the QR download button, this service is never contacted.

Written by Joobi from the project's own listing. See the source page

affiliate linksclick trackinglink cloakinglink managementurl-shortener
30 Nov 2026
Version 2.0.16 released. Not scanned yet.

2.0.16

  • New: Time-based redirect rules can be set on each link, including overnight windows.
  • New: Geo-targeting reads the visitor’s country from Cloudflare, with an optional IP lookup for other hosts.
  • New: Click analytics record each visitor’s country and count unique visitors per day.
  • New: JSON export and import carry each link’s settings and status.
  • New: “Delete Data on Uninstall” setting.
  • Enhancement: The Royal Link block uses your theme’s button style and the current block editor.
  • Enhancement: The affiliate disclosure shows only on posts with affiliate links by default and blends with your theme.
  • Enhancement: Split tests report clicks per variant without automatic winners or significance scores.
  • Enhancement: Network activation on multisite sets up every site.
  • Fix: The Royal Link block displays on the front end.
  • Fix: Password-protected links show a clear message after a wrong password.
  • Fix: Click limits, scheduling, and analytics dates follow the site’s timezone.
  • Security: Hardening across links, imports, and admin screens.
  • Housekeeping: Tested up to WordPress 7.2.

2.0.15

  • Security: Hardening across the redirect and admin paths; see the External Services section for the newly disclosed QR image provider.

2.0.14

  • Enhancement: Plugin uninstall covers all custom database tables, options, transients, and user meta when “Delete all data” is enabled.
  • Fix: Database schema migrations now apply correctly on plugin update.
  • Fix: Admin pages render correctly when accessed from WP-CLI, REST callbacks, or cron contexts.
  • Security: Password-protected link check now uses constant-time comparison.

2.0.13

  • Enhancement: Bulk-select checkboxes on the 404 Log with Mark Resolved, Delete, and Create Redirects actions.
  • Enhancement: Tested up to WordPress 7.1.

2.0.12

  • Feature: New Dashboard landing page with total clicks, unique visitors, total links, unresolved 404s, recent links, top performing links, and recent clicks.
  • Feature: New Royal Tools page listing every free Royal Plugins family plugin with one-click install links.
  • Enhancement: Custom top header bar on every Royal Links admin page with View Docs and Support buttons.
  • Enhancement: Lightweight admin footer showing Royal Plugins family links and the current plugin version.
  • Enhancement: Sidebar reorganized with Dashboard first and shorter labels across the menu.
  • Enhancement: Founders Bundle banner is now a single clickable card for a cleaner path to the bundle offer.
  • Enhancement: First-run activation lands admins on the new Dashboard.

2.0.11

  • Fix: Resolves 404 errors on generated short links caused by rewrite rules being regenerated by other plugins or Permalinks settings saves.
  • Feature: Link Health now monitors the redirect layer status with a one-click “Repair Now” action to restore short-link routing.

2.0.10

  • Feature: Coexistence layer detects Pretty Links, ThirstyAffiliates, BetterLinks, and Simple URLs and surfaces a supportive migration-mode notice on Royal Links admin pages.
  • Feature: URL-prefix collision detector blocks settings-page saves that would fight another active link plugin, with an escape-hatch constant and filter for intentional overrides.
  • Feature: Migration slug-conflict guard preserves existing Royal Links posts and offers a one-click retry-with-suffix action for conflicting imports.
  • Enhancement: Royal Links now falls through cleanly on unmatched-slug requests so other link plugins can handle their own slugs during a parallel migration.

2.0.9

  • Feature: 404 redirects catch-all mode sends any unmatched 404 to a single fallback URL (opt-in, off by default).

2.0.8

  • Feature: 404 redirects intercept genuine 404s and send visitors to a configured target with exact, prefix, or regex match rules.
  • Feature: 404 monitor log captures every unresolved 404 with a one-click “Create Redirect” button on each row.
  • Feature: Master “Enable 404 Redirects” toggle in Settings.
  • Compat: Requires WordPress 5.3 or later.

2.0.7

  • Security: Removed three unused admin-AJAX handlers to shrink the attack surface.
  • Fix: Link checker now processes broken-link scans incrementally and resumes across daily runs.

2.0.6

  • Compliance: Description and FAQ rewritten to describe capabilities generically without third-party brand names.
  • Compliance: Pricing-comparison claims and superlative language removed.

2.0.5

  • UX: Royal Plugins Founders Bundle banner on the Settings and Analytics pages (per-user dismissable).
  • Fix: Fatal error on the Edit Link screen under PHP 8+ when saving an A/B Testing variant.
  • Fix: Editing a Royal Link no longer blocks saving when A/B Testing is disabled.

2.0.3

  • Feature: Per-link “This is an affiliate link” checkbox for non-affiliate uses.
  • Feature: Master “Enable Disclosure” toggle in Settings.
  • Feature: “Default new links to affiliate” setting for new-link creation.
  • Enhancement: Disclosure now only fires on posts containing at least one affiliate-flagged link.

2.0.2

  • Feature: WordPress Playground live preview available from the plugin listing.
  • Enhancement: Video walkthrough embedded on the plugin listing page.
  • Enhancement: Ten new screenshots on the plugin listing.

2.0.1

  • Fix: Settings page renders with a white card background.
  • Fix: Dashicon alignment on the Short URL copy and test buttons.
  • Fix: Geo-targeting country selector uses a bundled dropdown library.
  • Fix: Geo-targeting compatible with legacy single-country rules.
  • Enhancement: Charting library bundled locally.

2.0.0

  • Major: All premium features are now free — no paid tier, no upsells.
  • Feature: Geo-targeting redirects visitors based on country.
  • Feature: A/B split testing.
  • Feature: QR code generation for any link.
  • Feature: Product display boxes with images and CTAs.
  • Feature: Automatic keyword linking across your content.
  • Feature: UTM parameter builder.
  • Feature: Device-based redirects (desktop, mobile, tablet).
  • Feature: Time-based redirects with scheduling.
  • Feature: Password-protected links.
  • Feature: Affiliate disclosure notices.
  • Feature: Link scheduling with start and end dates.
  • Feature: Migration wizard imports links from other link-management plugins.
  • Enhancement: Analytics now include QR scan tracking.
  • Enhancement: Dashboard widget with period comparison.

1.2.0

  • Feature: Migration wizard imports links from other link-management plugins.
  • Fix: Migrate button now functions correctly.

1.1.3

  • Enhancement: Dashboard widget redesigned with 30-day period-over-period comparison.
  • Enhancement: Change badges for click trends, new links, and unique clicks.
  • Enhancement: Broken-links warning bar with a direct link to the health checker.

1.1.2

  • Security: Improved sanitization of user-supplied request input.
  • Compliance: Inline CSS moved to an external stylesheet.
  • Compliance: Inline JavaScript now uses proper WordPress enqueue APIs.
  • Enhancement: PHP execution limits scoped to batch processing only.
  • Enhancement: Bundled charting library upgraded.

1.1.1

  • Fix: Remaining “WP Links” text updated to “Royal Links” across admin and blocks.

1.1.0

  • Enhancement: Internal identifiers, post type slug, and CSS/JS handles rebranded for Royal Links Pro compatibility.

1.0.6

  • Security: Additional output escaping for numeric values.
  • Security: Safer redirect handling for user-facing URLs.
  • Security: Improved SQL query preparation.
  • Compliance: Bundled charting library locally instead of external CDN.
  • Enhancement: Documentation link moved to the plugin row meta.
  • Enhancement: Removed deprecated text-domain loading call.
  • Compat: Tested up to WordPress 6.9.

1.0.5

  • Fix: Rewrite rules registered on activation to prevent redirect 404 errors.
  • Fix: Admin menu displays “Royal Links” instead of “WP Links”.
  • Enhancement: Documentation link added to the plugins page.
  • Enhancement: Import limits (500 links per batch) shown on the Import/Export page.

1.0.4

  • Security: Fixed SQL injection in analytics queries.
  • Security: Added output escaping throughout the plugin.

1.0.3

  • Enhancement: Dismissible admin notices for broken-link warnings.
  • Enhancement: Import error messages specific to the failure.
  • Enhancement: Validation for required CSV columns on import.
  • Enhancement: Skipped-count display on import results.
  • Enhancement: BOM handling for Excel-exported CSV files.

1.0.2

  • Fix: Table formatting on the All Links page.
  • Enhancement: Column alignment improved.

1.0.1

  • Bug fixes and improvements.

1.0.0

  • Initial release.
  • Feature: Link shortening with custom slugs.
  • Feature: 301, 302, and 307 redirect support.
  • Feature: Click tracking and analytics.
  • Feature: Categories and tags.
  • Feature: Nofollow and sponsored attributes.
  • Feature: Gutenberg block.
  • Feature: Classic Editor integration.
  • Feature: Import/Export functionality.
  • Feature: Broken link detection.
27 Jan 2026Listed on Joobi from WordPress.org.

Follow this listing's changes (Atom feed)