Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/mrdigitalceo/custom-affiliate-link-manager/archive/refs/heads/main.zip
A powerful WordPress plugin to manage, cloak, and track affiliate links professionally — create clean "pretty links", redirect them with full control, and see exactly how they perform. No external APIs required for core features.
✨ Features
- Link Cloaking — Turn long, ugly affiliate URLs into clean pretty links (e.g.
yoursite.com/go/product) - Redirect Types — 301 (Permanent), 302, and 307 redirects, per link or as a global default
- Click Tracking — Every click is counted with a full click history per link
- Dashboard & Analytics — Total links, total clicks, and per-link reporting at a glance
- Geo-Targeting — Redirect visitors to different target URLs based on their country
- A/B Testing — Split traffic between multiple target URLs by percentage
- Link Health Check — Verify that your target URLs are still alive
- Import / Export — Manage large link collections via CSV
- QR Codes — A ready-to-download QR code for every link
- Shortcode — Insert affiliate links anywhere with
[affiliate_link] - Link Scheduling — Optional start date, expiration date, and a custom redirect message
- Categories — Organize links with a dedicated Link Categories taxonomy
📦 Installation
- Download this repository and upload the plugin folder to
/wp-content/plugins/ - Activate Custom Affiliate Link Manager from the Plugins menu in WordPress
- Go to Affiliate Links → Add New Affiliate Link, enter a title and the target URL, and publish
- Share your pretty link — clicks and redirects are handled automatically
📸 Screenshots
Dashboard — plugin overview with quick stats:

All Links — every link with its pretty URL, clicks, and status:

Edit Link — tabbed settings (Basic, Advanced, Analytics, Geo-Targeting, A/B Testing), link status, and QR code:

Analytics & Reports:

Settings:

More screenshots (Add New, Export/Import, Health Check) are in the assets/images folder.
📝 Changelog
1.1.1
- Fixed: Cloaked links with the "go" prefix (e.g.
/go/my-link/) now redirect correctly and record clicks. Previously the redirect handler looked up the full prefixed path, so permalink-style URLs opened a page instead of redirecting.
1.1.0
- Professional restructuring to OOP architecture
- Improved Admin UI
- Added Health Check feature
- Added Geo-Targeting and A/B Testing
- Added Import/Export functionality
1.0.0
- Initial release
👤 Author
Mr Arslan CEO — Founder, NextGen Web Agency
- Website: https://mrarslanceo.site
- GitHub: https://github.com/mrdigitalceo
- YouTube: https://youtube.com/@mrarslanceo
- Instagram: https://instagram.com/mrarslanceo
- Facebook: https://facebook.com/mrdigitalceo
- Fiverr: https://www.fiverr.com/mrdigitalceo
- Codester: https://www.codester.com/mrdigitalceo
- WhatsApp: https://wa.me/923164309537
📄 License
GPL-2.0 or later — see LICENSE for details.