This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

WP Affiliate Links


Shorten your links. Turn long URLs into Great for affiliate marketers who want to cloak their links, or anyone else who wants to have pretty URLs and track their outbound traffic.

Here’s how it works:

1) Click on ‘Create Link’ in the WP Affiliate Links section of WordPress admin panel.

2) Enter a name for the link (for management purposes) and a ‘slug’ name for the URL (for example,

3) Enter the destination URL for the cloaked link, i.e.

4) Click ‘Save Link.’

After that, you can use the WP Affiliate Links-powered cloaked link everywhere you would have used the original URL.

WP Affiliate Links will track clicks on your links, providing a detailed summary and information on individual clicks like browser type, IP address, country code, and referring URL.


Generate click reports for any time period, and export all click data to CSV for further analysis.

Automatically turn keywords on your site into links. Specify the keyword and it will be replaced in your Pages/Posts with a link.

Send visitors in different countries to different destinations. Useful for affiliate marketers who want to promote country-specific offers. can send German visitors to and US visitors to

Automatically match existing URLs on your site in your existing Pages/Posts. If you have links to you can turn them all into links to

Support for sub IDs.

Support for a prefix so you can have instead of


  • Create/Edit Links
  • Auto Link Keywords
  • Settings Page


Either: –
* Upload the plugin from the Plugins page in WordPress
* Unzip and upload the contents to /wp-content/plugins/, and then activate the plugin from the Plugins page in WordPress

For best results enable Pretty Permalinks from the Settings -> Permalinks page in WordPress. This will make your links look like instead of


What a Great Plugin

Hello Buddy you made a very nice plugin here hope you can continue to update this baby. Better that paid cloaker plugin and very much easier to use.

For suggestions.

1. Hope you can have split testing for this plugin like, sample you want to 30% of your traffic redirect to other link and the rest to the main link.

2. Hope you can can also make a retargetting options in future (Maybe too much to ask but no harm in trying) for facebook pixels.

I’m still testing it but as far as the functionality it is very good indeed.

Read all 1 review

Contributors & Developers

“WP Affiliate Links” is open source software. The following people have contributed to this plugin.


Translate “WP Affiliate Links” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.


= 0.1.1
* Remove some documentation errors
* Add some screenshots


  • Autolink style: Open new tab, rel nofollow
  • Redirect type: iframe, meta refresh, javascript, server side redirect
  • New Option: meta_redirect_delay
  • Global Header & Footer tracking code
  • Rename to WP Affiliate Links
  • Forked from WP Wizard Cloak